Re: Simple Routing using FC2/3
From: Todd Wohlwend (todd_wohlwend_at_hotmail.com)
Date: 03/07/05
- Previous message: David Curry: "Re: Listing of FC3 Distribution Iso RPMS"
- Maybe in reply to: Todd Wohlwend: "Simple Routing using FC2/3"
- Next in thread: Les Mikesell: "Re: Simple Routing using FC2/3"
- Reply: Les Mikesell: "Re: Simple Routing using FC2/3"
- Reply: Harald Kapper: "Re: Simple Routing using FC2/3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: David Curry: "Re: Listing of FC3 Distribution Iso RPMS"
- Maybe in reply to: Todd Wohlwend: "Simple Routing using FC2/3"
- Next in thread: Les Mikesell: "Re: Simple Routing using FC2/3"
- Reply: Les Mikesell: "Re: Simple Routing using FC2/3"
- Reply: Harald Kapper: "Re: Simple Routing using FC2/3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|