{"id":387,"date":"2006-04-10T10:31:55","date_gmt":"2006-04-10T13:31:55","guid":{"rendered":"http:\/\/www.devin.com.br\/eitch\/blog\/2006\/04\/10\/nat-problem-with-adsl-no\/"},"modified":"2006-04-10T10:31:55","modified_gmt":"2006-04-10T13:31:55","slug":"nat-problem-with-adsl-no","status":"publish","type":"post","link":"http:\/\/www.devin.com.br\/eitch\/nat-problem-with-adsl-no\/","title":{"rendered":"NAT problem with ADSL? No!"},"content":{"rendered":"<p>Ha! Finally I found a solution for the problem that was irritating me and my friends at home. First, let me explain what&#8217;s in our home:<\/p>\n<p>We have an ADSL connection, with the ADSL modem in bridge mode. Then we have a little server (K6-II 300, 128MB RAM) running only the base system. The server has to network nics: a wireless one and a normal. The normal NIC is with the modem, and the wireless NIC serves our hungry-for-net notebooks. Then the server shares the ADSL connection with iptables and NAT. Simple, huh?<\/p>\n<p><strong>The Problem<\/strong><\/p>\n<p>So this is the problem: some sites did not show up or function, CVS was always broken&#8230; This was really weird because everything was normal, there was not a good reason to only <strong>a few<\/strong> sites not work. I got a workaround for us: use an external proxy of mine to access the sites, and it worked for months! Some days ago, we were angry about this issue and I thought. I thought. I thought, and while I was in bed, I had an idea to check the network status of the NICs.<\/p>\n<p><strong>Then I finally discovered the problem!<\/strong><\/p>\n<p>Whaaa? What is this? ppp0&#8217;s MTU is 1492? Right! ADSL ppp conections are always with MTU 1492!<\/p>\n<p>Why our NIC isn&#8217;t? Let me try this&#8230;<\/p>\n<p><code><br \/>\nserver-# ifconfig wlan0 mtu 1492<br \/>\nclient-# ifconfig wlan0 mtu 1492<br \/>\n<\/code><\/p>\n<p>Hey! Everything is working now! MTU was killing us! I hope this will help some people that have this problem \ud83d\ude09<\/p>\n<p><!--6487c8816d5b8e3a80cc7cb0a23c1ece--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ha! Finally I found a solution for the problem that was irritating me and my friends at home. First, let me explain what&#8217;s in our home: We have an ADSL connection, with the ADSL modem in bridge mode. Then we &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"http:\/\/www.devin.com.br\/eitch\/nat-problem-with-adsl-no\/\"> <span class=\"screen-reader-text\">NAT problem with ADSL? No!<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,6],"tags":[],"_links":{"self":[{"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/posts\/387"}],"collection":[{"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/comments?post=387"}],"version-history":[{"count":0,"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/posts\/387\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/media?parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/categories?post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.devin.com.br\/eitch\/wp-json\/wp\/v2\/tags?post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}