Re: ip route problem



Is the Linux box set up for forwarding? By default, it is not unless
you explicitly set it by doing like:

echo "1" > /proc/sys/net/ipv4/ip_forward

vrankom@xxxxxxxxx wrote:
Hi,
I have this problem...

I woudl like to do something like this:

net1 <---> A e1 <---> eth0 <---> linux <----> eth1 <---> e2 (B) e3<--->
net2

where:
net1 172.24.132.0/24
A cisco router
e1 172.24.130.5/30
eth0 172.24.130.6/30

eth1 172.24.129.5/30
B cisco router (dynamic routing)
e2 172.24.129.6/30
e3 172.24.131.1
net2 172.24.131.0/24

I want to access net2 from net1

there is static routing set on A: 172.24.131.0/24 via eth0
then there is 172.24.132.0/24 via eth0
and 172.24.131.0/24 via e2

i can ping net1 and net2 from linux box, I can't from net1 to net2 nor
from net2 to net1...
what else should I add to routing table ?

thnx for reply

V.

.



Relevant Pages

  • ip route problem
    ... B cisco router (dynamic routing) ... I want to access net2 from net1 ... there is static routing set on A: 172.24.131.0/24 via eth0 ...
    (comp.os.linux.networking)
  • Re: Routing
    ... I can ping hosts on the 192.168.3.0/24 network, ... Subject: Routing ...
    (Debian-User)
  • Re: Internet Connection
    ... >> will drop out any routing you've set up with eth0 that may be conflicting ... The eth0 config is setting up a default route. ... You check the first by pinging the ISP. ... MR NOT FISH ...
    (comp.os.linux.misc)
  • Strange network routing problems
    ... Recently we've run into a couple of situations where our routing tables ... x.x.x.# represents a unique static route. ... y.y.y.1 represents the proper gateway for the eth3 interface. ... z.z.z.1 represents the proper gateway for the eth0 interface. ...
    (RedHat)
  • Re: Multihomed Win2k Server Routing Issue
    ... cisco router, you can use route command on 192.168.1.x computer pointing ... Now, what the NAT does blocking all trafiics from outside, in your case it is ... Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net ... gateway for all of the machines in the 192.168.1 subnet. ...
    (microsoft.public.win2000.ras_routing)