- Joined
- Jan 24, 2006
- Location
- South Dakota
So I have this laptop which is serving as my local repository. I recently wanted to spin off a network for Virtual Machines (.122.*). Running Centos 6.2 I tried putting these in /etc/sysconfig/network-scripts
ifcfg-eth0
ifcfg-eth0:1
No matter what I do, it will only activate one or the other and not both. I have followed the Red Hat docs, as well as online guides and this should be all I need to do with what I have read.
Anyone have any pointers?
ifcfg-eth0
Code:
HWADDR=00:08:74:3E:86:30
DEVICE=eth0
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.99.247
PREFIX=24
GATEWAY=192.168.99.253
DNS1=192.168.99.253
DOMAIN=stratus-sphere
IPV6INIT=no
ONBOOT=yes
ifcfg-eth0:1
Code:
DEVICE=eth0:1
BOOTPROTO=static
IPADDR=192.168.122.247
PREFIX=24
GATEWAY=192.168.122.233
DNS1=192.168.122.233
DOMAIN=stratus.local
ONBOOT=yes
HWADDR=00:08:74:3E:86:30
No matter what I do, it will only activate one or the other and not both. I have followed the Red Hat docs, as well as online guides and this should be all I need to do with what I have read.
Anyone have any pointers?
Last edited: