Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2016 10:12:02 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: arp proxy question
Message-ID:  <57406CB2.6000804@freebsd.org>
In-Reply-To: <alpine.BSF.2.20.1605211514450.20524@laptop.wojtek.intra>
References:  <alpine.BSF.2.20.1605211514450.20524@laptop.wojtek.intra>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-05-21 09:19, Wojciech Puchar wrote:
> i added pub entry in ARP table
> 
> ? (XX.YY.ZZ.92) at d4:ae:52:bb:82:4f on bge0 permanent published [ethernet]
> 
> (normal server addresses are .90 and .91)
> 
> and run vtun tunnel to other computer from this server tunneling this
> .92 address there.
> 
> tunnel works fine
> 
> tun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
>         options=80000<LINKSTATE>
>         inet XX.YY.ZZ.90 --> XX.YY.ZZ.92 netmask 0xffffffff
>         Opened by PID 81626
> 
> 
> the result is as below:
> 
> # ping XX.YY.ZZ.92
> PING XX.YY.ZZ.92 (XX.YY.ZZ.92): 56 data bytes
> 36 bytes from XX.YY.ZZ.92: Destination Host Unreachable
> Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
>  4  5  00 0054 ee9c   0 0000  40  01 e752 XX.YY.ZZ.90  XX.YY.ZZ.92
> 
> 64 bytes from XX.YY.ZZ.92: icmp_seq=1 ttl=64 time=10.788 ms
> 64 bytes from XX.YY.ZZ.92: icmp_seq=2 ttl=64 time=12.254 ms
> 
> except this above everything is OK.
> 
> what i do wrong?
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

Do you have the arp proxy sysctl enabled?

sysctl net.link.ether.inet.proxyall=1

-- 
Allan Jude



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57406CB2.6000804>