two interfaces, same network, specify default for outgoing
This is my setup script:
Code:
/sbin/ifconfig eth0 192.168.0.2 netmask 255.255.255.0 Also at the moment if I try requesting 192.168.0.3-254 it uses eth0, this is what I want, but I did not tell it to do this, that means if default behavior changes in the future I can be in trouble. So, how do I explicitly specify that all outgoing traffic to 192.168.0.x with exception of that directed to 192.168.0.1 should use eth0? Routing table snippet FYI: Code:
# ip route | grep eth[01] |
If you leave
Quote:
Code:
/sbin/ifconfig eth1 192.168.0.1 netmask 255.255.255.255 I'm not a network wizz to know it off the top of my head, but if 192.168.0.1 is one of your local interfaces, it should get all the traffic to it without special routing rule, as this traffic should simply loop back to your host. Good luck. |
That was apparently not relevant. I do not know enough about deep networking details to know if it is even correct fo rsomething other than what I am doing.
Anyway I have avoided the issue, I decided to just bond the interfaces together, separating internet and other services was meant to increase speed, I think bonding achieves this a lot better. |
All times are GMT -5. The time now is 01:58 PM. |