New kernel: local net ok, can't connect to internet.
Hello. I configured a new kernel on my server. My local PCs (192.168.1.X) can access the server and the server can access the PCs but the server cannot access the internet. I can ping remote hosts but http/ftp doesn't connect. HTTP states: Request sent, waiting for reply. And FTP won't connect. There is no firewall enabled.
My kernel (v2.4.32) config is located at: http://www.gsent.org/config Are there any options in the kernel I missed that explicitly allow remote connections? Thank you for any help, Gian G. Spicuzza Code:
dummy0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 |
Try issuing the 'route' command as the root user in your favorite xterm or console. Is there a 'default' route for all of the packets to go to the outside world? Usually the "Flags" column will have a "UG" (G stands for gateway). If you don't have a corresponding line in your routing table, you will have to manually add one.
|
Yes,it does sound like a default route is not set, but that doesn't make sense considering all you did was change the kernel.
|
Yes, there is a default route. Pinging yahoo.com works, but "links yahoo.com" times out :(
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0 |
Have you tried using the actual IP address of a website instead of the DNS name?
|
Yes I have tried that. It still does not connect.
|
Hello. I solved the problem by disabling CONFIG_INET_ECN in my kernel config.
I enabled ECN for the obvious benefits, but I was unaware that if a router receives an ECN-enabled packet it drops it instead of ignoring the ECN tag and treating it as a normal packet. (That is if the router is not patched for ECN) For more information, visit http://www.opalsoft.net/qos/TCP-60.htm --Gian |
All times are GMT -5. The time now is 09:17 AM. |