Click to See Complete Forum and Search --> : route misconfiguration


bushwacker
06-04-2001, 10:20 AM
Hi. I was reading a tcp/ip performance tip on speedcorp.net which suggested that the MTU, Rwin, etc. of a connection could be modified using the route command:

route add -net 192.168.0.0 netmask 255.255.255.0 dev eth0 window 65535 mss 1460

However, When I did this, the gateway clients on my LAN lost all connectivity to the Internet through my server except for a few programs such as MSN Instant Messanger, which is really strange considering a PING couldn't even reach the screwed up server. My exact route input was:

route add -net 192.168.0.0 netmask 255.255.255.0 dev eth0 window 65535 mss 1500

My question is this: How do I remove a bad route entry from my server route config? the internal LAN connects to eth1 on my machine, and I put eth0 as the route by accident, which may be causing the problem.

Strike
06-04-2001, 11:07 AM
Use route del

bushwacker
06-04-2001, 08:33 PM
This may sound utterly stupid, but what's the syntax for this (in detail)? Im just starting the IT/networking bit with linux, and I've never used route much (if at all) before. Thanks in advance.

Strike
06-05-2001, 12:46 AM
I'm pretty sure it's the same as the syntax for add.. the man page might help.

bushwacker
06-06-2001, 03:08 AM
This is insane. I dont want to admit it, but is there a graphical way to do this? IM realy confused here.
Thanks in advance.

debiandude
06-06-2001, 08:12 AM
open up a command prompt and type this:
route del -net 192.168.0.0 netmask 255.255.255.0 dev eth0 window 65535 mss 1500

bushwacker
06-06-2001, 05:57 PM
Now that that got out of the way, I was able to continue the system security procedure with Bastille Linux. Thanks for the help.