Can someone please point me to an example of how to do this with Bering.
I would like to alias a route to the .145 subnet on Router B from a new
router I am adding to our network.
Please help.
I currently have static routes added as per the description below:

>>>>>>>>>>>>>>.router A >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
auto eth0
iface eth0 inet static  
        address 192.168.141.1
        masklen 24
        broadcast 192.168.141.255
#       gateway 1.2.3.1

auto eth1
iface eth1 inet static  
        address 192.168.142.1
        masklen 24
        broadcast 192.168.142.255
#       gateway 1.2.3.1

auto eth2
iface eth2 inet static  
        address 192.168.143.1
        masklen 24
        broadcast 192.168.143.255
#       gateway 1.2.3.1

auto eth3
iface eth3 inet static  
        address 192.168.147.1
        masklen 24
        broadcast 192.168.147.255
        gateway 192.168.147.4

up ip route add 192.168.140.0/24 via 192.168.147.3 || true
up ip route add 192.168.144.0/24 via 192.168.147.2 || true
up ip route add 192.168.145.0/24 via 192.168.147.2 || true
up ip route add 192.168.146.0/24 via 192.168.147.2 || true

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>
                                                ^
                                                ^
>>>>>>>>>>>>>>Router
B>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# /etc/network/interfaces -- configuration file for LEAF network
# J. Nilo, April 2002
#
# Loopback interface.
auto lo
iface lo inet loopback

# Step 1: configure external interface
#         uncomment/adjust one of the following 4 options
# Option 1.1 (default): eth0 / dynamic IP from pump/dhclient
#auto eth0
#iface eth0 inet dhcp
#
# Option 1.2: eth0 / Fixed IP (assumed to be 1.2.3.4). 
#               (broadcast/gateway optional)
auto eth0
iface eth0 inet static  
        address 192.168.147.2
        masklen 24
        broadcast 192.168.147.255
        gateway 192.168.147.1

auto eth1
iface eth1 inet static  
        address 192.168.144.1
        masklen 24
        broadcast 192.168.144.255
#       gateway 1.2.3.1

auto eth2
iface eth2 inet static  
        address 192.168.145.1
        masklen 24
        broadcast 192.168.145.255
#       gateway 1.2.3.1

auto eth3
iface eth3 inet static  
        address 192.168.146.1
        masklen 24
        broadcast 192.168.146.255
#       gateway 192.168.147.4



Thanks in advance.

Troy


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
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