Linux Router

From: Eyal Rif (eyal_at_tera-chip.com)
Date: 11/29/03


Date: 29 Nov 2003 09:06:54 -0800

Hi,

I am trying to configure a linux machine as a simple router.
Here is more details regarding my current configuration

    Machine A(10.1.1.1/255.0.0.0)
                route - 20.0.0.0 10.1.1.2
      |
      |
      |
    Linux Router ( has 2 NICs) - NIC1 - 10.1.1.2
                                 NIC2 - 20.1.1.1
                                 route 20.0.0.0 0.0.0.0 NIC2
                                 route 10.0.0.0 0.0.0.0 NIC1

      |
     Machine B(20.1.1.2/255.255.255.0)
               route - 10.0.0.0 20.1.1.1

ip_forward is set to 1 on the Linux Router.

I can ping from A and B to both legs of the Linux Router.
I can't ping A to B.

Is there something I am doing wrong ?

Thanks,



Relevant Pages

  • Re: Multiple subinterfaces per port on a 3745
    ... I am trying to replace a linux router with a cisco 3745 router (IOS ... interface FastEthernet0/1 ... Enter configuration commands, one per line. ...
    (comp.dcom.sys.cisco)
  • Multiple subinterfaces per port on a 3745
    ... I am trying to replace a linux router with a cisco 3745 router (IOS ... interface FastEthernet0/1 ... Enter configuration commands, one per line. ...
    (comp.dcom.sys.cisco)
  • Re: Cant ping yahoo.com
    ... Have a wander through your router configuration, looking for 'ICMP', which is the protocol used by the ping and tracert commands, but not by DNS servers or web browsers. ...
    (microsoft.public.windows.server.sbs)
  • 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)