Hi paul

> Hi all,
> Just a quick question,
> how can I set routes in Bering? I cant seem to find it in the documentation
> anywhere.
> I know how to set them using iproute2 but don't know how to save them so
> they are there on a reboot.
> In Dachstein, its by adding the ROUTE= command to each interface in "Network
> conf" is there a similar way in Bering?
The routes to the devices you have declared are set automatically 
by shorewall, for extra routes you can add after each interface
up followed by the iproute command .
I give an example to add 

route 192.168.3.0/24 and an extra adress 192.168.3.245  to eth2 
edit interfaces
(----)
auto eth2
iface eth2 inet static
        address 192.168.2.254
        masklen 24
        broadcast 192.168.2.255
# untill hear "normal setup the following commands are executed
# as device comes up
          up ip addr add 192.168.3.245 dev eth2
        up ip route add 192.168.3.0/24 dev eth2
(----)


backup etc . 

Greetings 
 
Eric Wolzak
(the bering crew)

http://leaf.sf.net/devel/ericw
http://leaf.sf.net/devel/jnilo




> Thanks in advance,
> 
> Paul
> 
> 
> _______________________________________________
> Leaf-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user




_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to