Linux Routing

From: Tim Owen (timowen001_at_yahoo.co.uk)
Date: 01/09/05


Date: Sun, 9 Jan 2005 19:34:36 -0000

Please can you help. I am in trouble with a Linux box. If you have any time
to look over this and give me an opinion it would be appreciated.

I have installed a copy of Mandrake 10.? onto an old dell pc with three
network cards in it (192.168.32.35, 192.168.0.35 & 10.101.101.35). I need to
get the Linux box to route traffic between all three networks seamlessly.
The network structure is shown on the work doc bellow.

Network Structure
      (Lighting Control Net)------------------------------
     (Electrics Router)
     --------------------------------------(Dimmers Net)

      IP: 192.168.0.?
     <<IP: 192.168.0.35
     IP: 10.101.101.153

      Gateway: 192.168.0.35
     IP:10.101.101.35>>
     Gateway: 10.101.101.35

     IP: 192.168.32.35

     |

     (Building Network)

     IP: 192.168.32.?

     Gateway: 192.168.32.69

     DNS: 192.168.32.60

Linux Route Table
      Destination
     Gateway
     Genmask
     Flags
     Mertic
     Ref
     Use
     Iface

      10.101.101.0
     10.101.101.35
     255.255.255.0
     UG
     0
     0
     0
     Eth2

      10.101.101.0
     0.0.0.0
     255.255.255.0
     U
     0
     0
     0
     Eth2

      192.168.32.0
     192.168.32.35
     255.255.255.0
     UG
     0
     0
     0
     Eth0

      192.168.32.0
     0.0.0.0
     255.255.255.0
     U
     0
     0
     0
     Eth0

      192.168.0.0
     192.168.0.35
     255.255.255.0
     UG
     0
     0
     0
     Eth1

      192.168.0.0
     0.0.0.0
     255.255.255.0
     U
     0
     0
     0
     Eth1

      0.0.0.0
     192.168.32.69
     0.0.0.0
     UG
     0
     0
     0
     Eth0

Problem 1
---------------
The router can ping a pc placed onto each network. The pc cannot ping the
router. I.e a pc (192.168.0.153) can be pinged from 192.168.0.35, but .0.153
cannot ping .0.35.

Likewise router (10.101.101.35) can ping pc(10.101.101.153) but .101.153
cannot ping .101.35

Also router (192.168.32.35) can ping pc (192.168.32.7 and pull pages from
the web) but .32.7 cannot ping .32.35

For some reason the router box is working but will not reply to pings.

Problem 2
---------------
>From a pc on the any of the networks I cannot ping any of the other
networks. Is this because the router isn't accepting pings. How do I check
that forwarding is turned on?

If anyone is able to help it would be great.

Cheers

Tim



Relevant Pages

  • Re: Why Linux is blind to this ARP reply ?
    ... Make sure it's not a firewall issue with Linux. ... > I placed ethereal in windows and tcpdump in linux. ... > Ethereal sees the ARP reply when the router is ping from ... What are you trying to ping? ...
    (comp.os.linux.misc)
  • Re: Cant ping windows network card, but can ping the linux card..
    ... can the linux box ping to the outside world and can the Win32 box ... IP address of the router and can that be pinged ... ensure the NIC is working (/sbin/ifconfig eth0 ...
    (Fedora)
  • Re: Setting MTU size for ppp0
    ... that rule is setup (was done by pppoeconf upon configuration). ... On the linux (router) machine I can open ebay in a browser, but I cannot ping www.ebay.de ...
    (Debian-User)
  • Re: Newbie - access internet via LAN and router
    ... >I have a home LAN with a router configured to address 192.168.1.1. ... >Linux PC is set to the fixed IP address of 192.168.1.55. ... >successfully ping the router from the Linux PC. ... If theres no default route, ...
    (uk.comp.os.linux)
  • Re: Mozilla not working
    ... "Mastering Linux 9" by Michael Jang publisher is sybex. ... When I perform an ping I get the message "Host unreachable". ... >> other is connected to my router. ... >> with no problems I just can't get Mozilla to surf the internet. ...
    (comp.os.linux.networking)