Small daisy chain network config

From: Kevin Haddock (kevin_at_n-dex.com)
Date: 12/06/04


Date: 5 Dec 2004 19:09:41 -0800

Hi, here's what I'm trying to do with Mandrake 10.1 community:

A <--> B <--> C <--> *internet*

I've got A talking to B and B talking to C. I can't ping C from A nor
vice versa.

I'd like to use MCC's network configuration tool but it seems to be
screwing things up a bit. For instance, I'm getting the host's
nickname on the same line as the localhost in /etc/hosts. Also, in
the past I've had, for instance, machine C define B as it's default
route when I'd rather have the internet be the default route. I've
had to go in by hand and delete that route and re-enter it to the
internet after connecting.

I'd really prefer to use webmin but something gave me the impression
that the settings in mcc seem to take preference over the webmin
settings (like they are not persistent after a reboot).

Ok, so if I try it from the command line I do something like:

(from A)

ifconfig eth0 a pointopoint b

route add -host c gw b

(from B)

ifconfig eth0 b pointopoint a

ifconfig eth1 b pointopoint c

(from C)

ifconfig eth0 c pointopoint b

route add -host a gw b

(end of example)

Sometimes, I am not able to get the pointopoint commands to take so I
have to do
something like:

(from b)
route add -host a eth0

I went into machine b with webmin and checked the box for it to act as
a router.
I even tried adding promisc to the ifconfigs of machine B. Still
nothing.

Can you think of anything I might be missing?

Also, how do you translate, for example the gateway designations into
the fields in mcc and/or webmin. It appears that the gateway route
designations would be done from A and C, however it appears that B is
where they would be entered in mcc or webmin.

Can anyone point to some better documentation for webmin and/or mcc
(or a good thread) that might be enlightening on this subject,

TIA,

-Kevin



Relevant Pages

  • Re: Small daisy chain network config
    ... >route when I'd rather have the internet be the default route. ... >I'd really prefer to use webmin but something gave me the impression ... >ifconfig eth0 a pointopoint b ...
    (comp.os.linux.networking)
  • Re: How do I change IP address dynamically?
    ... Indeed this method does not modify the routing table - and even appears ... really achieve the effect of completely substituting the permanent IP ... routing table after calling ifconfig eth0. ... The route table gets "cleansed" by ifconfig. ...
    (comp.os.linux.networking)
  • Re: Problem with Linux-box router
    ... ifconfig eth0 mtu 1500 ... ip route add 192.168.2.0 via 192.168.2.9 dev eth0 ... ifconfig eth2 mtu 1500 ...
    (alt.os.linux)
  • Re: Haylp! Linux hates my router (or vice-versa)
    ... the output of {man route}. ... ifconfig eth0 down ... route del 192.168.1.0 eth0 ... I've never seen it my routing tables, ...
    (comp.sys.sinclair)
  • Re: [opensuse] DHCP server and multiple routes
    ... James Knott schreef: ... Or is it necessary to manually edit dhcpd.conf, ... I believe webmin supports adding at least one other route. ...
    (SuSE)