> Hi,
>
> is there a way to set routing infos for a network device -
> if I have changed e.g.
> /etc/sysconfig/network-scripts/route-eth1
> ?

route-ethX must contain "ip route add" syntax instructions ...

> I know I can bring down/up eth1 with ifdown/ifup, but I'd rather do this
> in another way.

... so without bringing down && up the device you can just do

while read line;
  do ip route add ${line}
done < /etc/sysconfig/network-scripts/route-eth1

> Rainer

Alexander


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

Reply via email to