Computing.Net > Forums > Linux > static route problem

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

Reply to Message Icon

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

Can anyone give some advice?

Axilleas



Sponsored Link
Ads by Google

Response Number 1
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.


0
Reply to Message Icon

Related Posts

See More


When giving Iso files an ... proftpd UserAuthFile



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: static route problem

Help with static routes-RH7.2 www.computing.net/answers/linux/help-with-static-routesrh72/10952.html

Static Routing www.computing.net/answers/linux/static-routing/29708.html

linux routing problem www.computing.net/answers/linux/linux-routing-problem/4804.html