What would make double NAT fail? fyi: works in my home just fine though two Linux iptables setups for something I was playing with. Then again NAT on Linux may be better than that in a hardware firewall?
Hmmm what's the association with the MTU setting? And just where is this set in the dsl modem and in windows? "just works" with Linux... too bad this system isn't fully under my control to do "right". How do you find the "right" MTU setting?
hanasaki wrote:
What would make double NAT fail? fyi: works in my home just fine though two Linux iptables setups for something I was playing with. Then again NAT on Linux may be better than that in a hardware firewall?
As far as basic port and address translation goes, double, triple, or dodecuple NAT should work, albiet with a performance penalty for each hop. You might run into trouble with protocols requiring extended functionality, such as tracking multiple VPN sessions, or with passing UPnP information up the chain.
Hmmm what's the association with the MTU setting? And just where is this set in the dsl modem and in windows? "just works" with Linux... too bad this system isn't fully under my control to do "right". How do you find the "right" MTU setting?
If you're using PPPoE, the PPP header sucks up 20 bytes of your Ethernet payload, leaving you with a 1480-byte MTU on the link between your DSL modem and your provider. If either end of a connection tries to send a 1500 byte packet through this link, it won't fit. The packet will have to be fragmented, and sent down the link as separate packets. However, if the Don't Fragment bit is set in the IP header of that particular packet, one of the devices on that link will have to send an ICMP "destination unreachable/fragmentation needed" back to the source.
The trouble happens when the following occurs:
- You're running PPPoE - Your PC has an MTU of 1500 bytes set - You're connecting to a web site (such as eBay), which sets the DF bit on its HTTP connections _and_ drops all inbound ICMP packets.
When your PC connects to eBay, it advertises its MTU indirectly using the MSS TCP option. eBay starts blasting a web page back, but as soon as it sends a 1500 byte packet you provider's DSLAM sends back a "fragmentation needed" message. This message is dropped on eBay's end. Your browser and eBay's server keep re-sending packets until the connection times out.
Gerald Combs wrote:
[ Loads of MTU-related crap deleted ]
I almost forgot -- according to
http://www.mynetwatchman.com/kb/adsl/pppoemtu.htm
the optimal PPPoE MTU is 1454.
hmm maybe we're having MTU problems then. I have a netgear attached to SBC DSL and spoofing the MAC address of the original computer we subscribed with. Most things work perfectly, after manually setting the DNS on the inside network to SBC's settings -- apparently netgear's DNS proxying is broken as it advertises itself with in the DHCP, which only works very irregularly -- I can do a traceroute and the occasional hop is identified but not many -- some web sites, such as yahoo webmail, return empty pages. I will try lowering the MTU on my laptop and see if yahoo web-mail cheers up.
On Sun, 16 Jan 2005 15:39:55 -0600, Gerald Combs [email protected] wrote:
Gerald Combs wrote:
[ Loads of MTU-related crap deleted ]
I almost forgot -- according to
http://www.mynetwatchman.com/kb/adsl/pppoemtu.htm
the optimal PPPoE MTU is 1454. _______________________________________________ Kclug mailing list [email protected] http://kclug.org/mailman/listinfo/kclug
such as yahoo webmail, return empty pages. I will try lowering the MTU on my laptop and see if yahoo web-mail cheers up.
nope, that didn't do it. Anyone else having troulble accesing yahoo web-mail from behind a netgear wireless router connected to SBC DSL?
I have a friend doing just that. At least I think it was a Netgear modem. When we set it up, we didn't do anything special with MTU or any of that.
Peace, Jim
David Nicol wrote:
such as yahoo webmail, return empty pages. I will try lowering the MTU on my laptop and see if yahoo web-mail cheers up.
nope, that didn't do it. Anyone else having troulble accesing yahoo web-mail from behind a netgear wireless router connected to SBC DSL? _______________________________________________