Help creating a static route
Hey everyone, here is my problem. My server is running Ubuntu, and has 2 working network interface cards. One of them is the wireless card I have connected to my internet connection (through router) to ISP. The other is going to an experimental cable modem I'm working on. My problem is this, once I activate eth0 (the cable modem interface), my computer seems to route ALL packets to that interface (eth0). For instance, with the eth0 interface up... the only page I am able to access is the modem config page http://192.168.100.1. If i disable my eth0 interface and restart however, my routes are back fine and I can access my normal areas.
So what I believe I need is an IPTABLES rule firstly that specifies if the destination address is anywhere on the 192.168.100.0/24 subnet, it goes out eth0, anything destined anyplace else needs to go out eth1. If any IPTABLES guru's are out there and can help you would be much appreciated!