Re[2]: local ip address routeable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Christian" == Christian Stuellenberg <christian_stuellenberg@web.de> writes:
>>>>> "Nagendra" == Nagendra Singh Tomar <nagendra_tomar@adaptec.com> writes:
Hello,

    Christian> Is it possible to route packets that are addressed to
    Christian> an local ip IP1 on DEV1 out over another interface DEV2
    Christian> again (and later to locally accept the package on DEV3
    Christian> for IP1)?  If so, how?
    Nagendra> Two things you have to do here: 1. Whenever the sending
    Nagendra> code figures out that the destination is one of its own
    Nagendra> IP address it will pass it to the loopback
    Nagendra> interface. You have to modify here to prevent it from
    Nagendra> doing this.  2. You have to modify the ARP code so that
    Nagendra> it generates an ARP request for its own IP address.  I
    Nagendra> have done these two things once in 2.0.35 kernel and it
    Nagendra> worked !

Due to my poor experience with the kernel-development this would not
that easy for me.  Do you have some hints, on where to start?

Regards,
Christian

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux