Re: Simple Routing using FC2/3

From: Cris Rhea (crhea_at_mayo.edu)
Date: 03/07/05

  • Next message: Ankush Grover: "Fwd: How to recovery deleted files?"
    Date: Sun, 6 Mar 2005 23:53:52 -0600
    To: Les Mikesell <les@futuresource.com>
    
    

    On Sun, Mar 06, 2005 at 11:09:46PM -0600, Les Mikesell wrote:
    > On Sun, 2005-03-06 at 22:06, Todd Wohlwend wrote:
    > > This silly routing thing is driving me buzzonkers. I did have a typo in my
    > > first email concerning the gateway address of the LAN PC. The PC was
    > > configured correctly. Here are the correct stats and output.
    > >
    > > FC3 Soon to be Router Box : (dns-172.16.176.72)
    > > eth1 - ip-172.16.176.153, snm-255.255.240.0, gw-172.16.176.1
    > > eth0 - ip-192.168.213.254, snm-255.255.255.0, gw-blank
    > >
    > > PC tied to FC3 eth0 NIC via crossover cable : (dns-172.16.176.72)
    > > eth0 - ip-192.168.213.253, snm-255.255.255.0, gw-192.168.213.254
    > >
    > > Router box route command.
    > > [root@FC3-dt ~]# route
    > > Kernel IP routing table
    > > Destination Gateway Genmask Flags Metric Ref Use
    > > Iface
    > > 192.168.213.0 * 255.255.255.0 U 0 0 0 eth0
    > > 172.16.176.0 * 255.255.240.0 U 0 0 0 eth1
    > > 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
    > > default 172.16.176.1 0.0.0.0 UG 0 0 0 eth1
    > >
    > > /etc/sysctl.conf routing section
    > > # Controls IP packet forwarding
    > > net.ipv4.ip_forward = 1
    > >
    > > >From the PC, I can ping itself of course, 192.168.213.254, and
    > > 172.16.176.153. I cannot ping anything else on the 172 network. (Note :
    > > The Router Box can ping all devices in the 172 network)
    >
    > If you don't NAT, the boxes on the 172 net must have a reason to route
    > the 192.168.213.x addresses back to your router box. If it isn't
    > their default gateway you need to add a route back in the router that
    > is their default gateway. If this isn't possible, you should add
    > NAT on the router box you are describing so all of the 192.168.213.x net
    > will appear on the other side as 172.16.178.153.
    >
    > --
    > Les Mikesell
    > les@futuresource.com

    IMHO, this isn't about (or related to NAT). This is simple IP routing between
    two private networks.

    The information above looks fine... There's something missing...

    Do a "cat /proc/sys/net/ipv4/ip_forward" and see what it returns...
    Do an "iptables --list" and see what it returns.

    What Todd is describing above I've done bunches of times. There should be no
    magic in doing this in FC2/3 (or any other Linux/RH version).

    -- 
     Cristopher J. Rhea                     Mayo Foundation
     Research Computing Facility             Pavilion 2-25
     crhea@Mayo.EDU                        Rochester, MN 55905
     (507) 284-0587                        Fax: (507) 284-5231
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Ankush Grover: "Fwd: How to recovery deleted files?"

    Relevant Pages

    • Re: router help needed ....urgent
      ... now what i need is that all my traffic for internet ... >> routing or PBR on cisco, ... If both links are to the same ISP router then you can use BGP ... Why not just put the 2 internet feeds into a hub/switch and connect the router by 1 ethernet port and use IP routing and NAT to determine the best route to use. ...
      (comp.dcom.sys.cisco)
    • Re: Do you have a FreeBSD NAT gateway?
      ... my xDSL provider provides a router, not a modem, which means that it does NAT already at the router. ... I have configured the xDSL router to forward all ports to my firewall / NAT gateway. ... setting up a caching dns on you gateway, or testing for dns problems on your Mac mini? ...
      (comp.unix.bsd.freebsd.misc)
    • Re: route trafic from external to internal adapter
      ... Routing is a two-way process. ... If the default gateway for 192.168.30.11 is to the RRAS router and the ... I have RRAS active on a SBS server and no firewall software I know of. ...
      (microsoft.public.windows.server.networking)
    • Re: 2 routers 2 network card
      ... The routing table will send all "undefined routes" ... router when the routing table specifics it to do so. ... comes in the second router (without the Default Gateway) the return traffic ... the difference between a "logical connection" and a "physical connection" ...
      (microsoft.public.win2000.networking)
    • Re: PPPoE Configuration
      ... Not all routers do NAT. ... The routers in the internet network cloud have no ... there is a difference between a router and a gateway. ...
      (comp.os.linux.networking)

    Loading