Router blocking linux traffic
Page 1 of 1
Avenger_




Posts: 658
Location: Norway
PostPosted: Tue, 29th Mar 2005 15:41    Post subject: Router blocking linux traffic
I'm having a strange problem with my router. When ever I try to send TCP or UDP packets the router responds with a 'Network unreachable' message. ICMP packets go through fine.

The strangest part is that every Windows PC on my homework can access the internet without any problems.

An example is when I use traceroute I see that the packets reaches my router then halt with a !N error. But, if I start traceroute with the -I parameter, so it uses ICMP the packets go through as without a single error.

If anyone has a slightest clue about how this can happen or how I can fix it please drop a note here.
Back to top
SycoShaman
VIP Master Jedi



Posts: 24468
Location: Toronto, Canada
PostPosted: Tue, 29th Mar 2005 16:20    Post subject:
sorry man, cant help

When i had I router, it fucked up alot. Same type of problem, some packets went through, some didnt. My isp advised me to grab a hub. That way u can assign different ip addy's to each connection, so u dont need a router...

I dunno if this will help, but good luck
Back to top
razor1394
VIP Member



Posts: 3571
Location: Sweden
PostPosted: Tue, 29th Mar 2005 16:24    Post subject:
This may sound very stupid but some routers are Windows only adapted. Mine, a Netgear WGT624 is Linux, Mac and Windows ready/recommended and it works both with Windows XP (still some connection problems) and with Gentoo Linux. Could it have something to do with IPV4 and IPV6 or something with the TCP/IP stack of the OS?
Back to top
Avenger_




Posts: 658
Location: Norway
PostPosted: Tue, 29th Mar 2005 16:52    Post subject:
One thing I forgot to mention is that it has always worked perfect until a few weeks ago. At that time all packets dropped and the ISP said it was something wrong with the cable between the router and the ISP. They somehow fixed it and after that only the Windows machines have had a stable net connection.

And I cannot switch away from the router as it has a built in DSL modem.

At times, not very often packets get through from my Linux machines, but it only lasts for about 10-30 mins and then the problems start again.

As for the TCP/IP stacks of the OS I don't know how to check that. My internal network is running IPV4.
Back to top
razor1394
VIP Member



Posts: 3571
Location: Sweden
PostPosted: Tue, 29th Mar 2005 17:24    Post subject:
I guess you have a Cisco router/modem? Am I wrong? Have you checked for firmware updates to the router/modem? What linux kernel are you running?
Back to top
whoKnows
VIP Member



Posts: 2972

PostPosted: Tue, 29th Mar 2005 19:03    Post subject:
uh, how can a router be windows specific, that's not possible, you guys know that the TCP specs are written down in RFC793 since 1981, same goes for IP and a lot of Internet standards. A short list Wink with the RFC numbers can be found here: http://www.rfc-editor.org/rfcxx00.html
Some routers do offer IP QoS in conjunction with TCP and UDP filtering, but not cheap home routers.

Have you tried to reset your router, if that doesn't help you could try to turn off dhcp. I have noticed with some windows and linux pc's that they did loose their gateway from time to time, so try to set IP/subnet/gateway/dns manually. And you can try one more thing: I guess you have some services like ftp or samba running on the linux box. In this case you can try to connect with your windows machine and see if the internal traffic is working.

My guess is that your router was damaged after your ISP had these problems
Back to top
Avenger_




Posts: 658
Location: Norway
PostPosted: Wed, 30th Mar 2005 08:15    Post subject:
My Internal traffic works perfectly and so does incoming connections. It's just outgoing that fails. As for the kernel versions I run 2.4.20 and 2.6.x on different machines. Still the same problems on both.

The Linux machines don't loose their gateway since I can see that it tries to go beyond it, but fails. And I don't have a Cisco router, it's a Netopia router and I've tried to reboot it allot of times. And as for turning off DHCP it's no use, since the router is not the device doing that. My setup is like this, becouse the router port forwarding sucks etc.

Router -> Firewall -> Local Network

Even the firewall is a Linux computer and it cannot connect to the internet, but windows PC's on my local network can.
Back to top
Avenger_




Posts: 658
Location: Norway
PostPosted: Sat, 2nd Apr 2005 15:19    Post subject:
I have now, as a temp solution added a proxy server to one of my windows boxes so the Linux boxes can connect through it and access the internet.
This works fine for applications with built it socks or web proxy options, but is there a way to make all connections from the system go through the socks proxy?
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Operating Systems
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group