Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/etc/sysconfig/network-scripts/ifcfg-eth0 IP-Based VHost Help!

Status
Not open for further replies.

wlwoman

Technical User
Jul 8, 2001
133
US
My current ifcfg-eth0 file:

DEVICE='eth0'
BOOTPROTO='none'
ONBOOT='yes'
TYPE='Ethernet'
USERCTL='no'
PEERDNS='yes'
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
NETWORK='192.168.0.0'
BROADCAST='192.168.0.255'
IPADDR='192.168.0.3'
GATEWAY='192.168.0.1'
NETMASK='255.255.255.0'

I need to add more info to this but how much of it do I need to duplicate? The network, broadcast, gateway and netmask are the same for each eth0:1, eth0:2, etc. with corresponding 192.168.0.10, 192.168.0.11, etc.

Do I need to duplicate the whole section and just change the numbers or can I just add part of it?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top