any routing gurus help me out?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



im trying to get a better handle on routing, and here is what my project consists of so far:

 

pc1

eth0 192.168.0.1

eth1 172.16.0.1

 

router1

eth0 172.16.0.2

eth1 172.16.1.2

 

pc2

eth1 172.16.1.1

eth0 192.168.1.1

 

(pc2 I listed the eth1 and 0 backwards purely for asthetics of presenting how they are physically connected on the network)  needless to day, router1 can ping pc1 and pc2, and vice versa.  What I need to accomplish, is for pc2 to be able to ping 172.16.0.1, and vice versa, unrestricted thru router1.  I don’t think I want any natting, I think I just want anything arriving at r1-eth0 bound for 172.16.0.0 passed to pc1-eth0 as its default gateway, and of course, vice versa.

 

Here is the routing table on router1:

 

[root@router1 root]# netstat -rn

Kernel IP routing table

Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

172.16.0.0      0.0.0.0         255.255.255.0   U         0 0          0 eth0

172.16.1.0      0.0.0.0         255.255.255.0   U         0 0          0 eth1

169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1

127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo

 

Pc1 and pc2 are already set up as they need to be, as they are smoothwalls, and as soon as pc2 and 1 can ping their eth1’s from each other, the eth0s will also be working.  So router1 is really what im trying to understand the innerworking of at this time.

 

Thanks yall!

jonathan

 

-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux