routing wired/wireless networks

routing wired/wireless networks

Post by Glenn Buri » Sat, 22 Jun 2002 16:44:12

I am having trouble setting up routing for a home network with the following configuration:

Distribution:  Redhat 7.2
eth0:  internal netmask, ip
eth1:  cable modem      DHCP
eth2:  802.11b netmask, ip (orinoco_cs driver running adhoc mode)

If I try to ping from a machine on to a machine on, I get timeouts.
I can ping correctly to machines on both networks from my router host.  
I have already checked that ip_forwarding is allowed.  
The file /etc/sysctl.conf has net.ipv4.ip_forward = 1 and /proc/sys/net/ipv4/ip_forward has the value 1.
I am also using IPTables, which seems to NAT & route correctly to eth1.

Here are my routing rules:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface        *        U     0      0        0 eth2     *        U     0      0        0 eth0    *        U     0      0        0 eth1       *            U     0      0        0 lo
default         UG    0      0        0 eth1

If I try to ping from I get no replies.
Here is some output from tethereal:

tethereal capture for eth2 on the router host:

  0.074769 -> TCP 32823 > http [ACK] Seq=2558070473 Ack=240958593 Win=62780 Len=0
  5.049019 Agere_1c:b3:6a -> Lucent_f0:0c:53 ARP Who has  Tell
  5.050940 Lucent_f0:0c:53 -> Agere_1c:b3:6a ARP is at 00:60:1d:f0:0c:53
 31.995502 ->  ICMP Echo (ping) request
 32.991969 ->  ICMP Echo (ping) request
 33.992026 ->  ICMP Echo (ping) request
 34.992082 ->  ICMP Echo (ping) request
 35.992154 ->  ICMP Echo (ping) request
 36.992232 ->  ICMP Echo (ping) request
 37.992292 ->  ICMP Echo (ping) request
 38.992363 ->  ICMP Echo (ping) request
 39.992443 ->  ICMP Echo (ping) request
 40.992500 ->  ICMP Echo (ping) request
 41.992553 ->  ICMP Echo (ping) request

tethereal capture for eth0 on the router host:
Capturing on eth0
  0.000000   3_33:aa:cd -> ff:ff:ff:ff:ff:ff ARP Who has  Tell
  0.000352 Sun_c1:5c:8f -> 3_33:aa:cd   ARP is at 08:00:20:c1:5c:8f
  0.000390 ->  ICMP Echo (ping) request
  0.996327 ->  ICMP Echo (ping) request
  1.996379 ->  ICMP Echo (ping) request
  2.996449 ->  ICMP Echo (ping) request
  3.996517 ->  ICMP Echo (ping) request
  4.996575 ->  ICMP Echo (ping) request
  5.996662 ->  ICMP Echo (ping) request
  6.996708 ->  ICMP Echo (ping) request
  7.996802 ->  ICMP Echo (ping) request
  8.996862 ->  ICMP Echo (ping) request
  9.996921 ->  ICMP Echo (ping) request
 10.997015 ->  ICMP Echo (ping) request
 11.997064 ->  ICMP Echo (ping) request

I think it may have something to do with the requests address of the incoming reques on eth2 being instead of
Maybe NAT'ing is being applied when it shouldn't.

Thanks for your help.

-Glenn Buric


1. need a suggestion to a home network (wire or wireless) behind a Linux firewall


I have DSL+linux firewall at home. I have a hub downstairs which I can
hook my laptop to. It works fine. NOw, I'm thinking of taking my
laptop to other place in the house, including upstairs. I have
researched two solutions.

(1) powerline network. It will serve my purpose, but I just could not
find those powerline ethernet adapters in local Fry's electronics. (I
like to be able to return if it does not work).

(2) wifi. I got a Linksys BEFW11S4 (router/AP) and a pcmcia for my
laptop last weekend at Bestbuy. I like to put Linksys AP behind my
linux firewal (so I will have more control). However, the BEFW11s4
simply would not talk to my linux firewall, even they are on the same
lan. I have googled, found out some message with the exact same
problem, but not answer. I have already spent too much time on this.

Would any one suggest an easy way, or a better product, or just a
simple trick that I can resolve the above wi-fi problem? I really do
not mind wire or wireless, as long as I don't have to wire the long
ethernet cable to upstair rooms.

Thank you.


2. NAT code ?

3. Wireless ethernet in laptop to hard-wired ethernet network, is it possible?

4. redhat 7.1 and ATI radeon

5. Need help with mixed wired/wireless network (the Bob Hauck configuration)

6. compiling wu.ftpd-BETA10

7. Bridging wireless and wired network

8. Mozilla freezes when loading page with sound if sound already playing in background...

9. Wireless/Wired network speed drops to 1Mb/sec

10. Newbie : Wireless/Wired Network

11. wired vs wireless network

12. linux wireless networking and routing

13. Wireless and old-fashioned wired adapter