Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
static route problem
Name: axilleas Date: May 22, 2002 at 06:47:36 Pacific
Comment:
Hi guys,
I have the following problem with two linux routers:
the linux routers have two ethernet cards and the subnets are
linux A eth0 212.205.100.1, eth1 192.168.10.1
linux B eth0 212.205.100.2, eth1 192.168.20.1
I want to make a static route from IP 192.168.10.2 to 192.168.20.3
Name: junky_toof Date: May 22, 2002 at 19:11:26 Pacific
Reply:
You have two public interfaces configured in this example. You will need to either run a routing protocol (RIP) or setup a static route like: ex: route add -net 192.168.20.3 \ netmask 255.255.255.0 dev eth0 Without a setup here to test you may find that you need to specify both the interarea network and the router interface adress(gw) for the remote private NW. That's why I would run RIP. It's simple and you can filter it with ipchains/iptables from external advertisement.
If you continue to have problems download routed, run routed -t, then route -v -n and take a look at what you are doing wrong.
Summary: Hi All, I have been pulling my hair out over the last week trying to figure this out. I have read everything that I have found on routes and the route command. But I STILL haven't gotten this i...
Summary: I need to do a static route, I've put it in, but when the box restarts, it loses the route heres the command I'm entering is there a parameter i'm missing to keep it in memory after restart? route ad...