Re: Routing table problem

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

 



bdev@hss.hns.com (bdev@hss.hns.com) wrote:
> Hi !
>      I have this problem. I have two different network  interfaces ( A and B )
> on  my machine. I would like to route IP packets whose destination address is
> interface B and source address in interface A through the network, ie the packet
> would get written to the driver for interface A, get routed through the network
> and return to interface B where the driver for interface B would pick up the
> packet. This however is not possible normally since the packet would get
> internally routed within the stack and would never actually make to the physical
> medium. Is there any work around for this which I could implement by inserting a
> module or otherwise ?

Please correct me, but you must use masquerading to do this.
iptables is able to do this.
-- 
Regards/Cordialement

Iomeda SA (clucas@iomeda.fr)
Christophe Lucas -- Developpeur/Administrateur GNU/Linux
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux