Skip to contentSkip to conversation

Martian source with 2 external interfaces

DISCUSSION Jan Andersen 3 participants 3 messages Jul 17, 2005

lore
Share & tools
lore
#0 lore raw

Hi

I have a setup with 3 interfaces, one for the LAN, one for a cable-modem and one for DSL.

What I want (and need) is to have both external interfaces running at the same time.

When I one have my LAN and one of the external running then everything is working just fine. But when I turn on both interfaces at the same time my machine is generating a huge amount of martian-source errors in the log. I even tried to turn off the firewall, but with out luck.

Why is this happening, and how do I solve this problem?

Regards

Jan Andersen

#1 lore raw
Quoted 2 lines · Jan Andersen

What I want (and need) is to have both external interfaces running at the same time.

http://www.ssi.bg/~ja/nano.txt

Signature · 2 lines
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header
#2 lore raw
In reply to Jan Andersen

for i in /proc/sys/net/ipv4/conf/*/log_martians ; do echo 0 > $i
done

And you are done :).

I believe you have the problem because some packets go out to one interface, and comes back to the other, a common thing to asymetric routing. I doubt you have hundred of thousounds routes , so you must use some complicated setup for your load balancing to get those errors.

Quoted 34 lines · Jan Andersen

Hi

I have a setup with 3 interfaces, one for the LAN, one for a cable-modem and one for DSL.

What I want (and need) is to have both external interfaces running at the same time.

When I one have my LAN and one of the external running then everything is working just fine. But when I turn on both interfaces at the same time my machine is generating a huge amount of martian-source errors in the log. I even tried to turn off the firewall, but with out luck.

Why is this happening, and how do I solve this problem?

Regards

Jan Andersen

Signature · 1 line
Bla bla