Re: Simple Routing using FC2/3

From: Todd Wohlwend (todd_wohlwend_at_hotmail.com)
Date: 03/07/05

  • Next message: ranilg_at_lankacom.net: "Fedora-Core 1"
    To: crhea@mayo.edu
    Date: Mon, 07 Mar 2005 04:06:19 +0000
    
    

    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)

    Todd Wohlwend
    Computer Information Systems Instructor
    Southeast Technical Institute
    Todd_Wohlwend@hotmail.com or Todd.Wohlwend@southeasttech.com

    ----Original Message Follows----
    >
    > This should be a simple task. I need to use a FC2/3 as a router. (I
    have
    > done this in RH7.2 with no problems) Here is my senerio :
    >
    > Fedora C3 (soon to be router - I hope)
    > External Interface 172.16.176.152 / 20
    > Internal Interface 192.168.213.152 / 24
    > No GW on internal
    > net.ipv4.ip_forward = 1 set in sysctl.conf file (rebooted of-course)
    >
    > Internal PC
    > IP = 192.168.213.253 / 24
    > GW = 192.168.213.254
    >
    > I can ping the 192.168.213.254 and 172.16.176.152 from the internal PC,
    but
    > not any device in the 172.17.176 network.
    >
    > This is a full install of FC3. iptables is default. I have even
    disabled
    > iptables to test. Still no luck.........I need a simple solution. I do
    not
    > want to disable iptables and install another product.....like firestarter
    or
    > enable (masquerading) NAT.
    >
    > There must be a simple solution?
    >
    > Todd Wohlwend
    > Computer Information Systems Instructor
    > Southeast Technical Institute
    > Todd_Wohlwend@hotmail.com or Todd.Wohlwend@southeasttech.com

    Not sure if you got a good answer on this or not...

    Aside from the issue of using private address space and connecting to the
    Internet (which would require NAT- but this isn't the case with these two
    networks), the only thing I see here is that the internal PC needs to have
    the gateway be the interface on the router box.

    Set the PC's GW to be 192.168.213.152 and you should be able to ping
    things on the 172.16.176 net.

    Other than the differences between iptables and ipfilter, there isn't that
    much different in doing this between 7.2 and FC2.

    --
      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: ranilg_at_lankacom.net: "Fedora-Core 1"

    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: Routing and RRAS Problem - Pleasehelp
      ... Traffic from your "internal" subnet can get ... out to the Internet by default routing, but the return traffic will fail. ... You need to add an extra route to the Linksys router so that it knows how to ...
      (microsoft.public.windows.server.networking)
    • Re: Coexistence and routing of two internet feeds
      ... this is a routing problem that RRAS should be able to ... will just use one gateway, and only switch if that goes down. ... for a VPN link because you know exactly what traffic needs to go over the ... > routing table point all internet traffic to the VSAT and VPN goes to DSL. ...
      (microsoft.public.win2000.ras_routing)
    • Re: home lan setup suggestions
      ... Router internet config dialog shows: ... Default gateway: xxx.xxx.xxx.N+1, being the IP assigned by ISP ... Modem manages the connection/disconnection to internet, ... The router itself uses the gateway IP given to it by the ISP. ...
      (comp.security.firewalls)
    • Re: Cisco Router for BGP and DS3
      ... and that runs three routing protocols including BGP. ... Your provider should be able to help you there if this is internet ... In short, bandwidth isn't your issue, the full bgp routing ... dependent of the speed of the processor on router. ...
      (comp.dcom.sys.cisco)

    Loading