Find the answer to your Linux question:
Results 1 to 3 of 3
Hello! I've got a DNS server witch has 2 NICs connected on 2 differents networks. The first interface, eth0 is used for administration usage (ssh, snmp, backup...) The second interface ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Location
    paris, France
    Posts
    2

    martian source and multiple interface


    Hello!

    I've got a DNS server witch has 2 NICs connected on 2 differents networks.
    The first interface, eth0 is used for administration usage (ssh, snmp, backup...)
    The second interface eth1 is used for user service (DNS request).

    The problem is that when I want to reach eth1 from a device on the same LAN as eth0, it doesn't work and I get a "martian source" log in /var/log/messages.

    In fact the server detects a source adress on eth1 which should come from eth0 so the packet is drop by the kernel.

    Does anyone as a solution to permit such trafic?

    I've tried to play with ip routes, but that didn't give a solution...

  2. #2
    RDU
    RDU is offline
    Just Joined!
    Join Date
    Aug 2010
    Posts
    89
    This is quite unusual. It's a best practice to have a management network but your management station should be in it.

    In this case, it's normal that your kernel detect and block what it's called martian source.

    This need to do advanced routing (giving different route depending of the protocol used).
    I do that long time ago and don't remember exactly.
    Take a look at http : // lartc . org / howto

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Location
    paris, France
    Posts
    2
    Hi!

    I've worked on this subject. The link you gave is quite a good solution and permit me to resolve some problems with other stations. But in the case of my DNS server, advanced IP routing didn't get a solution.

    In fact, I think table "local" is prefered to any other table...

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •