Networking Forums

Networking Forums > Computer Networking > Linux Networking > Machine cannot respond to NAT

Reply
Thread Tools Display Modes

Machine cannot respond to NAT

 
 
linuxnewbie1234
Guest
Posts: n/a

 
      07-24-2007, 09:15 AM
We had a weird problem here a few days ago. Please tell if you have an
idea of how it could happen.

publicnetwork---bigswitch---NATfirewall---smallswitch---internalnetwork
|
|
47

We have a machine called '47' attached to the bigswitch. (IP visible
from the world)
At a certain moment it stopped responding to pings (and to ssh, http,
everything) to computers inside internalnetwork.
However it was still responding to pings to computers outside the NAT.

We restarted all switches and the NAT many times, then we changed
ethernet sockets in the bigswitch... No good.

I looked at the routing table of 47: there were a few extra entries (a
few destination IPs routed to loopback) to blacklist some IPs from which
we were receiving SSH attacks. This is a dynamic filter we have
installed. However I removed those entries manually from the route and
the problem persisted.

I looked at the iptables: it was empty as it was supposed to.

Then I started wireshark on the 47 and I could see the ping requests
incoming from the internalnetwork machines, and the outgoing ping
replies to such pings, going to the NAT.
So the replies were acutally generated, but somehow they were not
reaching the internalnetwork.

I didn't know what to do anymore, so I restarted the 47.
To my surprise the pings started working again!!

I immediately checked the route table and the iptables tables: they were
exactly like before the reboot.

Unfortunately I forgot to look at the arp cache of 47 before and after
the restart.

Any idea of what could have happened!?!?

Thanks in advance
 
Reply With Quote
 
 
 
 
Joern Bredereck
Guest
Posts: n/a

 
      07-25-2007, 02:18 AM
linuxnewbie1234 <(E-Mail Removed)> wrote:

> I didn't know what to do anymore, so I restarted the 47.
> To my surprise the pings started working again!!
>
> I immediately checked the route table and the iptables tables: they were
> exactly like before the reboot.
>
> Unfortunately I forgot to look at the arp cache of 47 before and after
> the restart.
>
> Any idea of what could have happened!?!?


sounds like an poisoned arp cache to me.


--
Joern

 
Reply With Quote
 
linuxnewbie1234
Guest
Posts: n/a

 
      07-26-2007, 03:40 PM
Joern Bredereck wrote:
> linuxnewbie1234 <(E-Mail Removed)> wrote:
>
> sounds like an poisoned arp cache to me.
>


I have just realized/remembered that machine 47 has a software bridge in
it between a virtual network (qemu virtual machine) and eth0. This is a
complicated setup and it might have been screwed because of some kind of
bug in linux networking.

Have you ever seen a bug in Linux 2.6 networking (maybe on simpler
setups than this) so that the network would hang up until ifdown-ifup,
or is it really totally reliable?

I would exclude a malicious arp poisoning in our environment. Also this
does not explain why after the reboot the poisoning stopped (remember
that the poisoning is to be actively maintained or will expire from the
cache)

Thanks
 
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
Machine does not respond to "additional IP" Spin Windows Networking 5 04-12-2009 05:14 PM
Why won't router respond? Eddy Home Networking 78 02-11-2008 05:23 PM
WAN adapter stop respond aboni Windows Networking 0 06-01-2006 03:12 PM
IPsec VPN... can't respond to ping? Casey Windows Networking 2 06-17-2005 12:25 AM
No respond from other server Azman Windows Networking 1 12-24-2003 07:46 AM



1 2 3 4 5 6 7 8 9 10 11