Change subnet mask
Newbie question, searched but cannot find an answer.
I have an RHEL5 server and am being told that the subnet mask is incorrect. The netstat -rn command showed: xx.xx.xxx.0 0.0.0.0 255.255.254.0 eth1 should be : xx.xx.xxx.0 0.0.0.0 255.255.255.0 eth1 I made the update in /etc/sysconfig/network-scripts/ifcfg-eth1 and issued service network restart but now netstat command shows both entries. How can I remove the incorrect entry without a reboot? Is it possible? Thanks. |
Code:
netstat -rn Code:
route del -net 169.254.0.0 netmask 255.255.0.0 dev eth0 Code:
netstat -rn |
Leave it as it is, it won't trouble you , its a default route for windows machines but if you want to get rid of it try by setting NOZEROCONF=yes in /etc/sysconfig/network.
|
mandyapenguin, thanks! That worked for me.
|
Quote:
|
Now if your problem has been solved, please mark the thread as SOLVED. :)
|
All times are GMT -5. The time now is 10:02 AM. |