[Simon Chalk] a ecrit le 26/09/2003 17:11 :

Hi All,

Has anyone setup Static routes on Bering 1.2?

I am trying to add the following to the /etc/network/interfaces file

up route -net 1.2.3.4 netmask 255.255.255.248 gw 4.5.6.7


When I do a ip route, I don't see the route above. I have also tried to add a route using

ip route add etc.. etc..

but I am not sure of the exact syntax, since I get an error.

Please help

Regards,

Simon.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Try this in your /etc/network/interfaces :

up ip route add 1.2.3.4/21 via 4.5.6.7 || true

--
Bibinsa




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to