Re: Routing traffic between veth pair of interfaces

Linux Advanced Routing and Traffic Control

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

 



Hi,

On Thu, Mar 17, 2016 at 11:38:28AM -0700, Naveen Neelakanta wrote:
> Can we route traffic between different two veth pairs within the same namespace.
> I tried to route traffic but i was not successful, i had enabled
> forwarding and applied the nat accept rule in the Namespace.  Let me
> know if any one has tried it , or even if that is possible.

Shouldn't be a problem.

> I want to route traffic between vethlan1 and vethwan1 , they exist in
> same name space and intern paired to host via vethlan0 and vethwan0
> respectively.

Keep in mind that the pairs need to be in different namespaces,
otherwise Linux will see the destination address being local and not
attempt to route at all.

HTH, Phil
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux