Results 1 to 3 of 3
Hi every body,
i have proplem :
when i assign ip number to eth0 by
PHP Code:
shell #/sbin/ifconfig eth0 10.0.1.11
it executes correctly and assign the ip to eth0 but after ...
- 08-11-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 1
RedHat 9 IP Proplem
Hi every body,
i have proplem :
when i assign ip number to eth0 by
it executes correctly and assign the ip to eth0 but after i reboot my systemPHP Code:shell#/sbin/ifconfig eth0 10.0.1.11
the ip disapper any body can help
i try to change BOOTPROTO at "/etc/sysconfig/network-scripts/ifcfg-eth0"
from dhcp to static
but nothing changed
any help PLZ
- 08-11-2006 #2
Hey dude,
the easiest way is to run system-config-network or redhat-config-network make the changes then save and and run service network restart ... there are few files to list that you need to make changes to in order for the network properties to stick after reboot.
- 08-11-2006 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 16
You can open and edit this file /etc/rc.d/rc.local
Originally Posted by sowhat
Add these 2 lines below to the botom of the file then save it (you can replace 255.255.255.0 abd broadcast IP to suite your subnet)
go to terminal type in
>/etc/rc.d/rc.local
...or at your next reboot it will be ok
that is it
--------
ifconfig eth0 10.0.1.11 netmask 255.255.255.0 broadcast 10.0.1.255
ifconfig eth0 up


Reply With Quote
