Networking Forums

Networking Forums > Computer Networking > Linux Networking > ip route problem

Reply
Thread Tools Display Modes

ip route problem

 
 
vrankom@gmail.com
Guest
Posts: n/a

 
      10-30-2006, 03:11 PM
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.

 
Reply With Quote
 
 
 
 
dwed
Guest
Posts: n/a

 
      10-30-2006, 11:28 PM
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

(E-Mail Removed) 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.


 
Reply With Quote
 
vrankom@gmail.com
Guest
Posts: n/a

 
      10-31-2006, 04:49 AM
Hi,

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

It is.... nothing happend thu...

V.

 
Reply With Quote
 
vrankom@gmail.com
Guest
Posts: n/a

 
      10-31-2006, 09:53 AM
problem solved ;>
router CISCO (B) was misconfigured ;>

V.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem of route pog Network Routers 0 12-14-2006 08:40 AM
php fsockopen problem (no route to host) kees hessels Network Routers 0 07-06-2006 11:16 AM
CMAK vpn add static route problem mactable Windows Networking 3 01-04-2006 02:11 PM
Problem with route Bruno Linux Networking 7 09-04-2005 08:13 PM
route or nat problem vega Linux Networking 0 09-06-2004 04:40 PM



1 2 3 4 5 6 7 8 9 10 11