tech-net archive

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

Re: PTP host address loops back through destination?



On Tue, Nov 24, 2009 at 10:32:00AM +0000, Roy Marples wrote:
> Hi List
> 
> I have
> 
> pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
>         inet 1.2.3.4 -> 5.6.7.8 netmask 0xffffffff
> 
> traceroute to 1.2.3.4
> 1 5.6.7.8
> 2 1.2.3.4
> 
> Why does this happen?

I guess, it's because the route for this address is through the pppoe0
interface (try: route get -host 1.2.3.4), and as it's a p2p interface
it sends all packets to the remote end without looking at the local
address.

> Can I stop this behaviour as traffic for the host 
> shouldn't leave the host?

I guess you can manually set a route to lo0 for 1.2.3.4

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index