Networking Forums

Networking Forums > Computer Networking > Linux Networking > debugging routing problem

Reply
Thread Tools Display Modes

debugging routing problem

 
 
gene
Guest
Posts: n/a

 
      06-21-2006, 07:40 PM
Something has gone wrong with my home network routing and I'm looking
for some guidance on how to debug this.

The setup is that I have a linux box (machine A) as the firewall/router
connected to the DSL line. This machine runs iptables and does
masquerading of the computers on my home network.

I just added a wireless router/hub onto the internal network. After
doing this, the internal machines (wired or wireless) cannot access the
external network. If I run tcpdump on machine A, I can see the
internal machines sending out requests, but no replies coming back.
The internal machines can all see machine A.

machine A can ping machine B and the wireless router, but on a
broadcast ping, only the wireless router shows up.
machine B can ping machine A but not the wireless router.
machine C is off, and I'm at work, so I can't tell if I can go from B
to C.
machine A can see the internet, but the internal machines can't.

I'll definitely take the wireless router offline when I get home and
see what happens, but in the meantime, can someone suggest how I can
best follow the packets and see where they are going astray? My
knowledge of tcpdump has only taken me this far.


Thanks.
Gene

 
Reply With Quote
 
 
 
 
Lew Pitcher
Guest
Posts: n/a

 
      06-22-2006, 05:38 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


gene wrote:
> Something has gone wrong with my home network routing and I'm looking
> for some guidance on how to debug this.
>
> The setup is that I have a linux box (machine A) as the firewall/router
> connected to the DSL line. This machine runs iptables and does
> masquerading of the computers on my home network.
>
> I just added a wireless router/hub onto the internal network. After
> doing this, the internal machines (wired or wireless) cannot access the
> external network. If I run tcpdump on machine A, I can see the
> internal machines sending out requests, but no replies coming back.
> The internal machines can all see machine A.

[snip]

I'd suspect that your wireless router has somehow munged the routing
tables or network addresses on your LAN-connected machines, but it's
hard to tell with the sketchy description you've given.

So, how about telling us
1) how each machine's TCP/IP stack is configured (static IP vs DHCP,
routing table entries, etc)
2) what IP addresses, netmasks each machine uses
3) the routing table entries on each machine
4) the actual results of ping and traceroute on each machine
5) the firewall rules you have installed on each machine

That's enough for a start.

- --
Lew Pitcher

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12

iD8DBQFEmtWTagVFX4UWr64RAvVjAJ9Q5TGmLvFLsDa0q7lnt/JuoBh4DgCg1Tc+
1gDQC6o4Ajcji49CS4MAfbs=
=PC/u
-----END PGP SIGNATURE-----

 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      06-22-2006, 08:01 PM
On 21 Jun 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) om>, gene wrote:

>I just added a wireless router/hub onto the internal network. After
>doing this, the internal machines (wired or wireless) cannot access the
>external network. If I run tcpdump on machine A, I can see the
>internal machines sending out requests, but no replies coming back.
>The internal machines can all see machine A.


The description isn't very clear. Things to check - the routing tables
and error messages when trying to connect. Routing tables means that
each host has to know how to reach all others - including the fact that
they may need to direct the packets to another intermediate host (router
or bridge) when the peer is not _directly_attached_ to the NIC (direct
meaning a hub, switch, or cross-over cable) No replies coming back could
mean that the remote has no idea how to route the packets back to the
original source. You say the internal machines sending out are requests
but are these ARP packets, DNS queries, or SYN packets trying to start
the connection. What specific error message do the clients report?

Old guy
 
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
Debugging bridge behavior tbroberg@hifn.com Linux Networking 3 07-11-2008 08:55 AM
debugging a hang ssh session wong_powah@yahoo.ca Linux Networking 9 02-21-2008 05:45 PM
debugging dhcp cient using ddd RajaSekhar.Kavuri Linux Networking 1 03-02-2005 08:01 AM
Netperf Debugging JoohyeonPark Linux Networking 3 10-14-2004 04:58 PM
ADSL Debugging? Ian Waring Broadband 2 08-16-2004 02:20 PM



1 2 3 4 5 6 7 8 9 10 11