* tcp/ip connections and downed/removed netdevs
@ 2000-11-08 19:18 Marcus Meissner
2000-11-08 19:29 ` Richard B. Johnson
0 siblings, 1 reply; 2+ messages in thread
From: Marcus Meissner @ 2000-11-08 19:18 UTC (permalink / raw)
To: linux-kernel
Hi,
I have a rather strange problem in regard to routing and tcp/ip connections.
My setup:
- default route to eth0, metric 2
- ppp dialin to static ip (ppp0), is another default route, metric 0
I open a telnet connection over the ppp0 interface.
I then down and remove the ppp0 interface (ifconfig -a ppp0 shows 'no such
device'), the default route over ppp0 is gone.
Symptom:
The telnet connection hangs.
No packets are transmitted over the still alive eth0 defaultroute.
tcpdump -i eth0 shows 0 packets, "netstata -a" shows an increasing
SendQ on the connection.
If I dialin again, the still hanging packets get transmitted to
the target.
I am not sure, but should this be?
Shouldn't packets get routed over eth0 in the case an interface vanishes?
Ciao, Marcus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: tcp/ip connections and downed/removed netdevs
2000-11-08 19:18 tcp/ip connections and downed/removed netdevs Marcus Meissner
@ 2000-11-08 19:29 ` Richard B. Johnson
0 siblings, 0 replies; 2+ messages in thread
From: Richard B. Johnson @ 2000-11-08 19:29 UTC (permalink / raw)
To: Marcus Meissner; +Cc: linux-kernel
On Wed, 8 Nov 2000, Marcus Meissner wrote:
> Hi,
>
> I have a rather strange problem in regard to routing and tcp/ip connections.
>
> My setup:
> - default route to eth0, metric 2
> - ppp dialin to static ip (ppp0), is another default route, metric 0
>
> I open a telnet connection over the ppp0 interface.
>
> I then down and remove the ppp0 interface (ifconfig -a ppp0 shows 'no such
> device'), the default route over ppp0 is gone.
No. Look in /etc/ppp/ip_up /etc/ppp/ip_down. Read the docs. These control
what gets set/reset when the ppp connection is set up or torn down.
You can configure to do anything you want, including completely
reconfiguring your network when a ppp connection is established.
This is not a kernel affair.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.0 on an i686 machine (799.54 BogoMips).
"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-08 19:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-08 19:18 tcp/ip connections and downed/removed netdevs Marcus Meissner
2000-11-08 19:29 ` Richard B. Johnson
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.