nikko Site Admin
Joined: 23 Nov 2005 Posts: 248 Location: San Francisco, CA
|
Posted: Thu Jun 26, 2008 9:29 pm Post subject: |
|
|
FILE: /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
IPADDR=10.10.10.4
NETMASK=255.255.255.248
NETWORK=10.10.10.0
BROADCAST=10.10.10.7
GATEWAY=10.10.10.1
ONBOOT=yes
FILE: /etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0
IPADDR=10.10.10.5
NETMASK=255.255.255.248
NETWORK=10.10.10.0
BROADCAST=10.10.10.7
GATEWAY=10.10.10.1
ONBOOT=yes
FILE: /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
IPADDR=10.10.10.6
NETMASK=255.255.255.248
NETWORK=10.10.10.0
BROADCAST=10.10.10.7
GATEWAY=10.10.10.1
ONBOOT=yes
Command to restart network services:
/etc/init.d/network restart |
|