LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   New kernel: local net ok, can't connect to internet. (https://www.linuxquestions.org/questions/slackware-14/new-kernel-local-net-ok-cant-connect-to-internet-407912/)

gian2oo1 01-25-2006 02:27 PM

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
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:0B:6A:66:95:A2
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:185 errors:0 dropped:0 overruns:0 frame:0
          TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18333 (17.9 Kb)  TX bytes:15791 (15.4 Kb)
          Interrupt:12 Base address:0xdc00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


Tino27 01-25-2006 02:55 PM

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.

MS3FGX 01-25-2006 03:09 PM

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.

gian2oo1 01-25-2006 06:34 PM

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

Tino27 01-25-2006 06:37 PM

Have you tried using the actual IP address of a website instead of the DNS name?

gian2oo1 01-25-2006 06:39 PM

Yes I have tried that. It still does not connect.

gian2oo1 01-26-2006 11:08 AM

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.