Networking Forums

Networking Forums > Computer Networking > Linux Networking > Small daisy chain network config

Reply
Thread Tools Display Modes

Small daisy chain network config

 
 
Kevin Haddock
Guest
Posts: n/a

 
      12-06-2004, 02:09 AM
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
 
Reply With Quote
 
 
 
 
Mihai Osian
Guest
Posts: n/a

 
      12-06-2004, 04:09 PM
Kevin Haddock wrote:

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

Hi Kevin,

I think the best way to learn is to fix something is understanding how
it works. Forget a moment about webmin or other tools and try to do it
by hand.
The "Rute" tutorial has a useful example:
http://www.icon.co.za/~psheer/book/node28.html.gz

If you are in a hurry, try the following:
On B: Check if routing is indeed enabled
cat /proc/sys/net/ipv4/ip_forward
This returns 1 if it routing is on, 0 if it's not.

On all machines: Monitor what's happening in the logs. Sometimes you
find out about errors or problems.
tail -f /var/log/messages
tail -f /var/log/syslog (in a second console)

Also, next time try to post more specific details. For example: the
results of running "ifconfig" and "route" on all machines, or the exact
commands that you typed and their output

Mihai


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Daisy chain wireless routers Cullen Skink Broadband 62 12-14-2007 04:48 PM
Broadband, DACS line and Daisy Plc Richard Owen Broadband 5 05-20-2005 06:52 AM
Daisy chained MN-700/MN-500? NeilW Broadband Hardware 1 02-04-2005 01:51 PM
wifi daisy chain MN-700? bs73112 Broadband Hardware 1 08-02-2004 10:14 AM
daisy-chain wireless Quentin McMullen Wireless Internet 1 02-23-2004 05:09 AM



1 2 3 4 5 6 7 8 9 10 11