Re: how to force iproute2 to FORWARD to another interfacepackets with a destinatioin IP on this machine?

Linux Advanced Routing and Traffic Control

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

 



Jan Macek wrote:
> I have this situation:
> 
> My machine debina, has three interfaces:
> 
> eth1   212.126.24.129
> ppp0   10.2.0.1   (Point-to-Point: 212.31.242.98)
> nsc5   10.2.0.250   (Point-to-Point: 172.23.140.32)
> 
> 
> I want packets which come in through the nsc5 interface, to be FORWARDED
> to the ppp0 interface to 212.31.242.98, even when their destination
> address is 212.126.24.129 (even so this is the IP of eth1 on this
> machine).
> 
> How to achieve that?
> 

you can use set of 'ip rule' and other routing table


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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