Hi all,
I''m running RH7.3 plus errata.
I''ve read through the HowTo and I had something like this configuration
working on RH7.1, but it looks like the interface to IP and ROUTE has
changed considerably since then.....
I''m trying to set up a simple router configuration to route between
subnets, as shown in the diagram.
My aim is to provide traffic shaping between the 194.80.34.0
hosts and the 148.88.0.0 and 192.168.106.0 networks.
148.88.0.0 network
--------+-------------------------------+-----
__ | |
___/ \_ +------+-----------------+
+-------+-----------+
_/ \__ | eth2 148.88.155.253| |eth1
148.88.154.150|
/ \ | | |
|
| network -----+ eth0 194.80.34.202 | | WinXP
|
| 194.80.34.0 | | Linux router | |
|
\_ __/ | | | 192.168.106.1
|
\__ __/ | eth1 192.168.106.2 | | eth0
|
\___/ +------+-----------------+
+---------+---------+
| |
| 192.168.106.0 network |
----+---------------------------------+--------
The routes and addresses for the Linux box are as listed below. I have
enabled ip-forwarding:
# cat /proc/sys/net/ipv4/ip_forward
1
# cat /proc/sys/net/ipv4/conf/eth2/forwarding
1
# cat /proc/sys/net/ipv4/conf/eth0/forwarding
1
# cat /proc/sys/net/ipv4/conf/eth1/forwarding
1
From the Linux host I can ping all the subnets I have defined and have
connections to.
Ie:
Ping 192.168.106.1
Ping 148.88.154.150
Ping 194.80.34.35 (Remote Host)
When I try to ping from the WinXP machine I get mixed results.
Ie:
Ping 192.168.106.2 -- works fine
Ping 194.80.34.202 -- works fine
Ping 194.80.34.35 (Remote Host)
-- doesn''t work
-- Using Ethereal I see the ARP request at eth2 rom the WinXP
on the Linux router but no response, and then time out at
the WinXP box.
Not quite sure the pings don''t work in the configuration I have, unless
I
have missed something in the routing tables or a basic configuration
parameter. Any suggestions ?
Do I need further routes defining ?
Do I need to enable something to allow ARP requests to be responded to ?
Is there any way to check if the required routing is enabled in the
kernel ?
Thanks in advance for any suggestions.
John Cushnie.
Email: cushnie@csi.com
==========================================================
Routes:
=======# /sbin/ip route list
192.168.106.0/24 via 192.168.106.2 dev eth1 scope link
194.80.34.0/24 via 194.80.34.202 dev eth0 scope link
192.168.0.0/16 dev eth1 scope link
148.88.0.0/16 via 148.88.155.253 dev eth2 scope link
148.88.0.0/16 dev eth2 scope link
127.0.0.0/8 dev lo scope link
default via 194.80.34.99 dev eth0
Addresses:
==========# /sbin/ip address list
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,PROMISC,NOTRAILERS,UP> mtu 1500 qdisc
pfifo_fast qlen 100
link/ether 00:04:76:f3:b4:56 brd ff:ff:ff:ff:ff:ff
inet 194.80.34.202/24 brd 194.80.34.255 scope global eth0
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:04:76:f3:b2:65 brd ff:ff:ff:ff:ff:ff
inet 192.168.106.2/16 brd 192.168.106.255 scope global eth1
4: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:01:02:df:c2:38 brd ff:ff:ff:ff:ff:ff
inet 148.88.155.253/16 brd 148.88.155.255 scope global eth2
===================================================================
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/