eth0(WAN) and eth1(LAN) getting mixed with weird results
The prblem itself:
Azureus is moving data at 50kbps/50kbps (so moving both up- and downstream) thru the dedicated WAN intrface. Or atleast it should.. (; Instead, the upstream traffic is routed thru eth1 that is a didicated LAN interface (according to both iptraf and gkrellm). I didnt notice the problem until today, possibly due to that an LTSP terminal was active, effectively hiding any excess upstream counted for the wrong interface, so it is possible that this has been going on since the firewall modifications. (See history below) This situation doesnt cause any discomfort except making monitoring a tad paining of a task, but moreof causes extremem bewilderment as to why is the data going upstream through an interface that doesnt have a WAN ip. (only LAN, see ifconfig appendice) _Any_ ideas or theories are welcome, this one realy caught me by surprise.. Ive got no idea of whats going on.. (: History: I have a rather unusual network topography at home, well atleast unusual to other solutions ive encountered. All the machines on the network have a public ip address, plus a LAN address in the 192.168.0.x address space. The simple reason is that I hate NAT, and would need a seperate unit for it due to ISP restrictions on the modem. So, recently I upgraded my personal iptables firewall (on the machine called indigo that is the object of this abnormality) with fwbuilder, and encountered serious problems with my habit of using virtual (eth0:0) interfaces for the LAN. Fwbuilder handles virtual interfaces as a part of the main interface, and having an interface set up with a dynamic ip plus a static LAN ip was impossible, even though the virtyualization made it possible with ifconfig, but iptables didnt like this at all. So, as a remedy I hooked up the second port of the integrated NIC to the same switch the mahine was on, now with two identical connections. Thus having seperated the LAN over to eth1, fwbuilder was happy and joy ensued. Untill this weirdness arose. versions / appendices: Slackware Linux current (== 10.2) Linux 2.4.31 Iptables 1.3.3 ifconfig quote (censored): Code:
eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55 |
Have you tried using 'route'.. check man route for more info..
|
routing has allways been abit of mystery to me, so I havnt myself modified them at all, but heres the output if its of any worth:
Code:
# route -n |
Update:
Well, all of a sudden, when I wasnt looking, everything returned to normal.. All the traffic is again going through eth0 (both gkrellm and iptraf agree on this)... /me is even more confuzzled. Even more now this demands for a rational explenation.. Oh yeah, I checked, there was no assigned traffic for LAN, no one else is online, and both of the ports were flashing lights (transfer) so this wasnt just an error in monitoring.. And yeah, the lan light now has gone back to sleep.. |
All times are GMT -5. The time now is 10:07 AM. |