Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am getting a little confused with the process of setting up routing on a fedora C2 box. All i want to do is firstly forward traffic from the Eth1 (192.168.0.1) out to the Eth0 (10.61.0.0) network.
At the moment i have no traffic getting routed so i have turned off the fire using:
service iptables stop
chkconfig iptables off
this made no difference. my routing table is as follows
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 homer 255.255.255.255 UGH 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
10.61.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.61.0.3 0.0.0.0 UG 0 0 0 eth0
Internal Network = Eth1 (192.168.0.1)
External Network= Eth 0 (10.61.0.0)
it's all down to your iptables rules, you need to enable NAT on the box that's doing the routing. you might like to look at a GUI like firestarter for doing this, or look at the ipmasq howto.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.