All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Vander Stichele <thomas@urgent.rug.ac.be>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Question re: multi-homed access
Date: Fri, 22 Mar 2002 09:58:10 +0000	[thread overview]
Message-ID: <marc-lartc-101679120513467@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101673309716255@msgid-missing>

Hello Julian,

> > So you're saying it looks like it works right, but it doesn't ? Hm, ok.
> > So are the times when it doesn't work totally random, or is there some
> > logic in it ?
> 
> 	Nothing is random :) The problem comes when the cached
> route entry expires (/proc/sys/net/ipv4/route/gc_timeout) or the
> cache is flushed as result of a user command such as adding/deleting
> IP address or flushing the routes explicitly with "ip route cache flush".
> The result is clear: the routing cache forgets the path and the NAT
> code does not care.

Hm, OK.  I checked the value on my system and it's set to 300, which IIRC 
would mean 5 minutes (it's in seconds, right ?).  The ssh connection set 
up takes only about 2 seconds.  Isn't it highly unlikely that the cache 
would have a timeout in that interval, *reliably*, every time ?

> > > 	I hope there will be effect
> >
> > On first inspection, no.  Is there some way I can debug incoming packets ?
> > What else can I give as feedback ?
> 
> 	You have to be able to analyze with tcpdump what is going on.

OK, I used both iptraf and tcpdump to check what is going on, and I find 
something very odd.  Traffic does indeed go out on two interfaces, as 
traceroutes and output of last on the boxes I ssh to show.  But using both 
tcpdump and iptraf, I only see non-tcp data going over eth2.  None of the 
tcp-connections show up on eth2.  They do on eth1.

The only difference I can see is that ifconfig shows eth2 to be
"UP BROADCAST NOTRAILERS RUNNING", while eth1 is "UP BROADCAST RUNNING 
MULTICAST".  Other than that, the total received traffic is roughly the 
same on both interfaces (which is weird, since I still cannot connect from 
the outside over eth2), while the transmitted data for eth1 is 10 times 
larger than for eth2.  I'm not sure if this is because somehow traffic 
going out over eth2 is not "registered" right (as seen by tcpdump and 
iptraf) or because of something else.  I'm not that experienced using 
tcpdump, so I can't tell.  Also, I don't know enough about the lesser-used 
output from ifconfig since I never needed it before ;)

Is there something that could explain this weird behaviour ? Or are there 
some hints or guides to use tcpdump correctly in debugging this particular 
problem ?

All of this, btw, is done with my patched kernel including your patches 
(just to make sure ;) )

Thanks in advance,
Thomas

 -- 

The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*-                      -*->
"You don't need a girlfriend, you need a maid !"
"Isn't that the same thing ?"
"Uh uh, baby, you're in the wrong century."
<-*- thomas@apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-03-22  9:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-21 17:50 [LARTC] Question re: multi-homed access Thomas Vander Stichele
2002-03-21 21:35 ` Julian Anastasov
2002-03-21 23:02 ` Thomas Vander Stichele
2002-03-21 23:55 ` Julian Anastasov
2002-03-22  9:58 ` Thomas Vander Stichele [this message]
2002-03-22 10:34 ` Julian Anastasov
2002-03-22 17:15 ` Thomas Vander Stichele

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-101679120513467@msgid-missing \
    --to=thomas@urgent.rug.ac.be \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.