How do i sign IP 192.168.0.1 and mask 255.255.255.0 permanentely to eth1 in linux?
Page 1 of 1
Setting eth1 adresses....
#2
Posted 14 March 2003 - 03:42 PM
This probably depends on your distro, but for my Red Hat box you want to edit the file in :
/etc/sysconfig/network-scripts
called "ifcfg-eth1" and make it so it reads:
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0
ONBOOT=yes
That should work for you, it should bring the device up on boot, and assign it that address,
Hope this helps.
/etc/sysconfig/network-scripts
called "ifcfg-eth1" and make it so it reads:
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0
ONBOOT=yes
That should work for you, it should bring the device up on boot, and assign it that address,
Hope this helps.
Share this topic:
Page 1 of 1

Help










