Scott Sandeman-Allen wrote:

> Well, after reading the scripts over again a few more times, I have
> found an example:
>
> eth2_ROUTES="1.1.1.3 2.2.2.0/24_via1.1.1.18"
>
> Now I have to figure out how this _really_ works because so far,
> there is no reference as to which IP & network represents what. What
> is presently confusing me is how an IP can be expressed within a /24
> of a different network... I'm sure it _will_ make sense at some point
> ;-)
>
> I'll continue to dig as I always do but I would gratefully accept any clues.
>
> Thanks for any assistance,
>
> Scott
>
> >I'm trying to configure the 3rd NIC in my Dachstein LRP box and I
> >cannot find many docs regarding ROUTES. What I am confused about is
> >which networks this relates to. I'm thinking it should be the eth2
> >net and the eth0 (external) net.
> >
> >For example. If my
> >
> >eth0 is at 75.75.25.7 & 255.255.252.0 therefore it is 75.75.25.0/22
> >
> >and eth2 is 192.168.2.252 & 255.255.255.0 therefore it is 192.168.2.0/24
> >
> >So, do I enter
> >
> >ROUTES="192.168.2.0/24  75.75.25.0/22"
> >
> >or have I missed something somewhere?
> >
> >Thanks,
> >
> >Scott

Just a couple of quotes culled from past email from Charles,
-------
Add them to ethN_ROUTES, where ethN is the appropriate ethernet interface:

ethN_ROUTES="192.168.2/24_via_192.168.1.254 192.168.3/24_via_192.168.1.254"

-----
another Charles example

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".
-------
By the way the search feature is working now on the leaf list.
not sure if this will help




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

Reply via email to