#274736 - 21/01/2006 06:16
Windows routing
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
I've been having a problem with a VPN client for months now where it would exit out of the connection very frequently complaining that the routing table could not be changed once the VPN was up. And routes were being added, but I had no idea why. Not only that, but they were useless host routes for random computers I was talking to on the internet that pointed them to my default router, where they were routed to anyway. I finally did some in-depth research and came to the conclusion that those routes were being added as a result of the OS receiving ICMP Fragmentation Needed packets. I reduced my MTU to an absurdly small size (500) and I've now had the VPN up for hundreds of times longer than I ever have before.
I want to know if it seems reasonable for the OS (WinXP Pro and Home) to add host routes when it receives an ICMP Fragmentation Needed packet. Other than my VPN client being anal, it's pretty innocuous to add redundant routes, but I don't see any reason it should be doing it at all. Maybe it keeps MTU sizes for particular hosts in the routing table? If so, it doesn't show it to me in any routing table UI I know of.
Anyway, if anyone has any feedback on this, I'd love to hear it.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#274737 - 21/01/2006 06:36
Re: Windows routing
[Re: wfaulk]
|
pooh-bah
Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
|
No clue at all. I just wanted to lend support, as I'm fighting with my own VPN issue at the moment. I'll avoid thread hijacking till tomorrow.
Matthew
|
Top
|
|
|
|
#274738 - 21/01/2006 09:58
Re: Windows routing
[Re: wfaulk]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
I wonder if this was related to the VPN client issue that I had to work around with the SonicWall VPN client a while back... I was on tech support with them, and they gave me a specific work-around of certain numbers to change in the VPN client configuration screens. Don't have that information handy right now, but this is sounding familiar. The main thing was that I didn't have to change the windows network configuration, just the sonicwall client configuration.
|
Top
|
|
|
|
#274739 - 21/01/2006 12:51
Re: Windows routing
[Re: tfabris]
|
carpal tunnel
Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
|
I have seen strange results with MTU in networking configurations - not as much VPN, but the old Microsoft Network Sharing type stuff and DSL. Use "ping -f -l size" to get a feel for what your maximum safe packet size is.
It sounds like the other networks might be using an odd network metric, and yours is lower, so it chooses you to route through???
Edited by pgrzelak (21/01/2006 12:53)
_________________________
Paul Grzelak 200GB with 48MB RAM, Illuminated Buttons and Digital Outputs
|
Top
|
|
|
|
#274740 - 21/01/2006 14:41
Re: Windows routing
[Re: wfaulk]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Well, it was late last night when I posted, so I didn't think about doing further research once I had that piece of information. Getting just that was a collosal frustration. It looks like WinXP (and prior OSes, probably) use Path MTU Discovery, which means that it finds MTU sizes for each individual host it communicates with. This isn't really necessary, however, as communication can go on without that by just letting the intermediary routers fragment the packets as needed. It's slightly more efficient to do PMTUD, but not by a whole lot, probably doubling packet overhead on the receiving end at most. (Packet overhead is something like 56 bytes per packet for TCP over ethernet.)
So I haven't tested this yet, but I'm about to. Cross your fingers for me.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#274741 - 21/01/2006 16:52
Re: Windows routing
[Re: wfaulk]
|
addict
Registered: 01/03/2002
Posts: 599
Loc: Florida
|
What are you using the show you the routing in a UI? I only know of the command line program route.
_________________________
Chad
|
Top
|
|
|
|
#274742 - 21/01/2006 17:16
Re: Windows routing
[Re: Attack]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Just route, like you said. The command line is a user interface.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#274743 - 21/01/2006 17:24
Re: Windows routing
[Re: wfaulk]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Well, it looks like that worked. I disabled Path MTU Discovery, and, since the docs said that that reduces the MTU to 500 and some, I upped the MTU manually (which I'm not really sure actually worked) and everything's good. I even undid all the other changes I'd made.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#274744 - 22/01/2006 17:01
Re: Windows routing
[Re: matthew_k]
|
carpal tunnel
Registered: 08/07/1999
Posts: 5546
Loc: Ajijic, Mexico
|
I'll avoid thread hijacking till tomorrow. Since Bitt seems to have solved his problem, would it be OK if I hijacked the thread? Just a little bit? I just tried (for the first time) to VNC into my work computer from home. My work computer is running Win2K, home computer WinXP. I always lock my work computer when I leave it, so that the message about "...computer is locked and can only be opened by God..." or some such is displayed. I have to key in ctrl-alt-del and enter a password to unlock it. So, here I am at home, looking at the lock message, thinking, "Hey, it worked." I enter ctrl-alt-del to get to the password dialog box, and of course the only thing that happens is that it opens up the Windows task manager on my home computer. Do I have to leave my work computer unlocked in order to VNC into it from home, or is there a workaround to this? tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"
|
Top
|
|
|
|
#274745 - 22/01/2006 17:17
Re: Windows routing
[Re: tanstaafl.]
|
carpal tunnel
Registered: 24/12/2001
Posts: 5528
|
You can't press Ctrl+Alt+Del on your home PC and have it sent to the remote PC via VNC. Click on the window menu icon in the top left and select Send Ctrl+Alt+Del.
|
Top
|
|
|
|
#274746 - 23/01/2006 07:29
Re: Windows routing
[Re: tman]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
Yup, what Trevor said. Remote control programs that control Windows PCs always have a way to send special system keystrokes to the remote host. For example, there was one package I used (forget which one it was) where their keyboard shortcut for sending Ctrl-Alt-Del was Ctrl-Alt-D.
|
Top
|
|
|
|
#274747 - 23/01/2006 11:52
Re: Windows routing
[Re: tman]
|
carpal tunnel
Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
|
Shift+Ctrl+Alt+Del will also work in VNC
I believe Remote Desktop Connection is Ctrl+Alt+End
_________________________
~ John
|
Top
|
|
|
|
#274748 - 23/01/2006 11:58
Re: Windows routing
[Re: JBjorgen]
|
carpal tunnel
Registered: 24/12/2001
Posts: 5528
|
Quote: Shift+Ctrl+Alt+Del will also work in VNC
Ahh. Didn't know that. Thanks for the tip. It's a lot easier to do S+C+A+D than clicking with the mouse.
|
Top
|
|
|
|
#274749 - 23/01/2006 13:42
Re: Windows routing
[Re: JBjorgen]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Quote: I believe Remote Desktop Connection is Ctrl+Alt+End
(Alt Gr) + (Del) works in Remote Desktop and Virtual Server.
_________________________
-- roger
|
Top
|
|
|
|
#274750 - 23/01/2006 15:09
Re: Windows routing
[Re: Roger]
|
carpal tunnel
Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
|
What the heck is (Alt Gr) ?
_________________________
~ John
|
Top
|
|
|
|
#274751 - 23/01/2006 15:37
Re: Windows routing
[Re: JBjorgen]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Quote: What the heck is (Alt Gr) ?
Do you not have those on US keyboards? It's the right-hand Alt key.
_________________________
-- roger
|
Top
|
|
|
|
#274752 - 23/01/2006 16:16
Re: Windows routing
[Re: Roger]
|
carpal tunnel
Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
|
The Right Alt+Del doesn't work for me on a Win2k3 server with WinXP client. Only the Ctl+Alt+End mentioned above works. Curious.
_________________________
~ John
|
Top
|
|
|
|
#274753 - 23/01/2006 23:26
Re: Windows routing
[Re: JBjorgen]
|
carpal tunnel
Registered: 08/07/1999
Posts: 5546
Loc: Ajijic, Mexico
|
Shift+Ctrl+Alt+Del will also work in VNC
Thank you! I will give that a try when I get home.
tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"
|
Top
|
|
|
|
#274754 - 24/01/2006 06:26
Re: Windows routing
[Re: JBjorgen]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Quote: The Right Alt+Del doesn't work for me on a Win2k3 server with WinXP client. Only the Ctl+Alt+End mentioned above works. Curious.
Yeah. It works fine for me WinXP->WinXP. Maybe it really is a different key.
_________________________
-- roger
|
Top
|
|
|
|
#274755 - 24/01/2006 07:01
Re: Windows routing
[Re: Roger]
|
addict
Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
|
_________________________
-Aaron
|
Top
|
|
|
|
|
|