Page 1 of 1 |
|
Posted: 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
|
Posted: 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
|
Posted: 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 |
|
 |
|
Posted: 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
|
Posted: 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 |
|
 |
|
|
Back to top |
|
 |
|
Posted: 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 |
|
 |
|
Posted: 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 |