Multiple Network Interfaces - Force one to WAN and one to LAN?
Hello,
I have the following network structure: Code:
ISP --> Router --> Gb Switch | The weird thing is that the connections are to the .11 IP but the traffic is being handled by eth1, which is the .10 IP. ifconfig: Code:
eth0 Link encap:Ethernet HWaddr abc123 Here's a good example from a iptables log: Code:
Jul 3 11:00:50 hostname kernel: RST DROPED IN=eth1 So short version: how do I use two network interfaces and dedicate one to WAN traffic and one to LAN only (I would like it if LAN can connect to both). My purpose is to prevent local file transfers from starving the WAN connections. Don't want to throttle any LAN traffic. Slackware 12.1 EDIT: I'm currently looking into `route`... |
`route` command...
OK
Looks like route solved my problem. `route` Code:
Destination Gateway Genmask Flags Metric Ref Use Iface route del default; route add default netmask 0.0.0.0 gw GW eth0 Code:
Destination Gateway Genmask Flags Metric Ref Use Iface |
All times are GMT -5. The time now is 02:38 PM. |