Currently we set up our routes and IP aliasing in init.d / network and
network config. They look like the following:
init.d /network configuration:
ip addr add 192.168.128.1/24 brd + dev eth2 label eth2 label eth2:extra_sub1
ip addr add 207.195.73.2/26 brd + dev eth2 label eth2 label eth2:extra_sub2
ip addr add 207.195.73.65/26 brd + dev eth2 label eth2 label eth2:extra_sub3
ip route add 192.168.129/24 via 192.168.131.2
ip route add 192.168.129.128/26 via 192.168.131.2
ip route add 207.195.73.128/26 via 192.168.131.2
ip route add 192.168.140/24 via 192.168.131.2
ip route add 192.168.132/24 via 192.168.131.2


This is the relevant info from network conf.
Network config:
eth0_IPADDR= 192.168.131.1
eth0_MASKLEN=24
eth0_BROADCAST=192.168.131.255
+++++++++++++++++++++++++++++++++++++++++++++++
eth1_IPADDR= 192.168.127.2
eth1_MASKLEN=24
eth1_BROADCAST=192.168.127.255
+++++++++++++++++++++++++++++++++++++++++++++++
eth2_IPADDR=207.195.73.65
eth2_MASKLEN=26
eth2_BROADCAST=207.195.73.127
eth2_IP_SHARED_MEDIA=YES
++++++++++++++++++++++++++++++++++++++++++++++++


        I would like to set up our routes in the network config. I need to
know how that is done. I would like to add my routes using eth2_ROUTES= and
add my addresses using eth2_IP_EXTRA_ADDRS= . The problem is that I don't
know how to do this. Can someone please explain how this would be done. In
the example they show the following:

eth2_IP_EXTRA_ADDRS="192.168.1.193 192.168.2.1/24"  (What does the first ip
represent?)

eth2_ROUTES="1.1.1.13 2.2.2.0/24_via_1.1.1.18"  (What does the first ip
represent?)


Please help.

        Thx in advance.


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

Reply via email to