Ahmed Kamal wrote:
> Hi List,
> I'm fighting with a small problem. My eth1 NIC has IP 172.30.0.0/16,
> whenever the interface is started, an automatic route is added
> 172.30.0.0   0.0.0.0   255.255.0.0     U     0      0    0 eth1
> The thing is, this would generally be right for most people, but
> not for me.

Actually, it probably wouldn't be right for anybody.  If you've really
assigned your eth1 NIC the IP address of 172.30.0.0/16 then you're
likely in error.  That would be the network address.  The first usable
address in that network is 172.30.0.1.
 
> The question is how do I get rid of that automatically added route,
> and add mine! I need to do this the redhat way (i.e not rc.local).
> Any help is highly appreciated :)
> Regards

Assign the interface an actual valid host address, not a network
address.  If you don't understand IP addressing then look at this link:

http://jodies.de/ipcalc?host=172.30.0.0&mask1=16&mask2=

Pay particular attention to the Hostmin and Hostmax lines.  Those are
the valid IP addresses that can be used for an interface.  Notice that
172.30.0.0 is not in the range.

Later,
Tom


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to