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, and172.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@xxxxxxxxxxx or Todd.Wohlwend@xxxxxxxxxxxxxxxxx
----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@xxxxxxxxxxx or Todd.Wohlwend@xxxxxxxxxxxxxxxxx
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@xxxxxxxx Rochester, MN 55905 (507) 284-0587 Fax: (507) 284-5231