Hello Simon you wrote :

> 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..
the netmask is transformed like this 
255.255.255.248 is 8   +8 +8 + 5 bit  or 29 bit


ip route add 1.2.3.4/29 via 4.5.6.7 

remember 4.5.6.7 should be reachable

otherwise it could be necessary to use
ip route add 1.2.3.4/29 via 5.5.5.5 via 4.5.6.7

put his line in the interfaces file after up

so 
up ip route add 1.2.3.4/29 via 4.5.6.7
> but I am not sure of the exact syntax, since I get an error.
> 
Regards
eric  wolzak
member of the bering crew


-------------------------------------------------------
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