Hi all

How to add a static route to a hostname with iproute2?

I tried:
ip route add linux.com via 192.168.1.1

I got the following reply:
Error: an inet prefix is expected rather than "linux.com".

With "route command" I do not have problems
 route add -host linux.com gw 200.214.148.140

As the iproute2 is the standard in the current linus distros, I would like
to know if is possible to use the same resource ...

Regards From Brasil
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to