interface network gateway
Hi,
I have a RHEL 6.5 host which I need to add gateways for the interface networks
eth0 139.73.221.123/26
gw 139.73.221.65
eth1 139.73.221.148/27
gw 139.73.221.129
When I try to add using ip route add it does not allow me as the network route 139.73.221.64 & 139.73.221.128 already gets added when firing up the interfaces even tried persistently adding to route-eth? but does not add it to the routing table as it sees that the route is already present
It does allow me to add manually with 'route add -net' but I need this to be persistent and if the network route is already going to sit in the routing table put in there by the interface when they are fired up how to add the gateways
These are the 2 routes created when interface gets fired up, can't specify GATEWAY= in ifcfg-eth? as this will set default gateway for the 1st interface with this set and I net separate gateways for each interface network not default gateway
Destination. Gateway. Genmask. Flags.
139.73.221.128. 0.0.0.0. 255.255.255.224. U
139.73.221.64. 0.0.0.0. 255.255.255.192. U
|