> I sent this question directly to Charles Steinkuehler. I
> feel a little silly for asking but can someone please show me how I would
> enter the info in the init.d / network (Shown below) into
> eth2_IP_EXTRA_ADDRS="??" and eth2_ROUTES="???". I am a bit of a newbie on
> this setup. It would help me immensely if someone could show me how I
enter
> this info by showing me with the init.d info entered properly in the
> eth2_IP_EXTRA_ADDRS="??" and eth2_ROUTES="???".
> I have never set up routes and multiple IP's on the same interface
> before and I want to be sure I do it right. Thanks.
>
> > Currently we set up our routes and IP aliasing in init.d / network
> and
> network config. They look like the following:
>
> >
> ip addr add 192.168.128.1/24 brd + dev eth2
> > ip addr add 207.195.73.2/26 brd + dev eth2
> ip addr add 207.195.73.65/26 brd + dev eth2

This simply becomes:
eth2_IP_EXTRA_ADDRS="192.168.128.1/24 207.195.73.2/26 207.195.73.65/26"

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

And this becomes:
eth2_ROUTES="192.168.129/24_via_192.168.131.2
    192.168.129.128/26_via_192.168.131.2
    207.195.73.128/26_via_192.168.131.2
    192.168.140/24_via_192.168.131.2
    192.168.132/24_via_192.168.131.2"

Make the changes to /etc/network.conf, run "net reload", and verify the
interface configuraiton and routing tables are what you want using "ip addr"
and "ip route".

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



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

Reply via email to