/sbin/ifconfig IP fix
my IP address is volatile.it is deleted after shutdown.
so again i need to fix the Ip by /sbin/ifconfig eth0 10.245.233.121 so i need the fixed IP address so how to configure that. thanks |
If using redhat/fedora then add files inside /etc/network-scripts else
add the lines to /etc/rc.local. |
hello sir i am using mandrake 10.0
i have the file /etc/rc.local. now which line should i add and where. thanks |
/etc/sysconf/network-scripts/eth0
|
hello sir i have the scripts under
/etc/sysconfig/network-scripts the file like this DEVICE=eth0 BOOTPROTO=dhcp NETMASK=255.255.255.0 ONBOOT=yes MII_NOT_SUPPORTED=no WIRELESS_ENC_KEY="" NEEDHOSTNAME=yes now what should i edit |
hi,
Here's a sample, DEVICE=eth0 IPADDR=10.245.233.121 NETMASK=255.255.255.0 NETWORK=10.245.233.0 BROADCAST=10.245.233.255 ONBOOT=yes BOOTPROTO=none USERCTL=no check out the netmask, network and broadcast to be sure they match your config. I found this sample at : http://www.faqs.org/docs/securing/file-netfunc.html, in case you need more infos |
All times are GMT -5. The time now is 10:31 PM. |