Network Configuration/Troubleshooting in Fedora 7 (static routing/hardware config)
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
on the linux router
# route add -net 192.168.15.0/24 gw 192.168.15.2
Directly connected network should not require a route to be manually added on the same device.. since this interface is attached to the device the route is automatic.
on the external router
destination=192.168.111.0
snmask=255.255.255.0
gateway=192.168.15.1
interface: -->LOCAL<-- \ internet
hop count: 2
on the external router
destination=192.168.111.0
snmask=255.255.255.0
gateway=192.168.15.2 <- This is the IP of the next Hop interface.. not the local interface of the router
Throughput stops @ the linux router in both directions.
I can ping the internal interface (192.168.111.10) from the external router.
I can ping the external interface (192.168.15.2) from the NT clients.
I cant ping the internal interface(192.168.15.1) of the external router from the NT clients.
I cant ping the NT clients from the external router.
Everything is working now, and without NAT as intended.
You're advice was correct from the start. Routing was actually working the whole time. The problem was that the firewall was also working. It seems as though that the iptables service in Fedora is much like the ICS/IF service in Windows NT 5.x. When the firewall is disabled the service is actually still running, and obviously if there are no rules then there is no traffic allowed. I took iptables out of runlevel 5, and routing immediately began working as well as the NAT from the external router. My problem with routing in the past had been my failure to add a route to the internal LAN on the external routers. I presume I was always sending traffic to the external router, but it was never able to make it's way back.
Thanks to your specific help I was able to determine where the gap was and that helped me narrow it down. You were specific enough to where I will be able to apply what I learned from you to every network in the future. Thanks a million. I'm not sure how the n00b can help the master but I owe you one.
Now comes the nightmare of learning how to write custom firewall rules on an OS who's syntax I don't quite understand yet..
I think I feel comfortable enough to switch to a lower-scale, less user-friendly distro as well now. Any suggestions from anyone?
For anyone else out there with similar problems:
1. Network Manager is a common reason for boot-activation failure in dual-NIC scenarios. If you can activate after all your services are started, but not during boot, check your log files thoroughly line by line.
2. Configure all routers for all networks they are not directly connected to.
3. IPtables may still block traffic when "disabled".
-L, --list [chain]
List all rules in the selected chain. If no chain is selected, all chains are listed. As
every other iptables command, it applies to the specified table (filter is the default), so NAT
rules get listed by
-F, --flush [chain]
Flush the selected chain (all the chains in the table if none is given). This is equivalent to
deleting all the rules one by one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.