NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/44032: pppd: proxyarp is not working
> Test #1: non existent IP address
>
> # arp -s 10.11.12.13 2c:27:d7:14:54:17 pub proxy
> # arp 10.11.12.13
> ? (10.11.12.13) at 2c:27:d7:14:54:17 on vlan10 permanent published
> (proxy only)
> # arp -d 10.11.12.13
>
> All is good.
>
> Test #2: IP address of a ppp link (local endpoint)
>
> # arp -s 10.0.0.192 2c:27:d7:14:54:17 pub proxy
> # arp 10.0.0.192
> arp: 10.0.0.192 (10.0.0.192) -- no entry
> # arp -d 10.0.0.192
> arp: delete: can't locate 10.0.0.192
>
> It fails, but "something" is in the arp table. If I try to re-add the
> entry:
>
> # arp -s 10.0.0.192 2c:27:d7:14:54:17 pub proxy
> arp: set: proxy entry exists for non 802 device
Now running on NetBSD 6.1, and still no good :(
For testing purposes, now I call pppd with "noproxyarp" option, and try
to set up ARP entries manually.
1.) If I add the ARP entry manually _before_ connecting the ppp
connection, the ARP entry looks good, and it pings as expected:
# arp 10.0.0.192
arp: 10.0.0.192 (10.0.0.192) -- no entry
# arp -s 10.0.0.192 2c:27:d7:14:54:17 pub proxy
# arp 10.0.0.192
? (10.0.0.192) at 2c:27:d7:14:54:17 on vlan10 permanent published (proxy
only)
2.) When I add the ARP entry manually _after_ connecting the ppp
connection, a "zombie" ARP entry is created:
# arp 10.0.0.192
arp: 10.0.0.192 (10.0.0.192) -- no entry
# arp -s 10.0.0.192 2c:27:d7:14:54:17 pub proxy
# arp 10.0.0.192
arp: 10.0.0.192 (10.0.0.192) -- no entry
# arp -s 10.0.0.192 2c:27:d7:14:54:17 pub proxy
arp: set: proxy entry exists for non 802 device
# arp -d 10.0.0.192
arp: delete: can't locate 10.0.0.192
Please, help me fix this one. I'm a network administrator not a
developer, my C knowledge is less than required :(
Thank you.
--
Egerváry Gergely
<gergely%egervary.hu@localhost>
Home |
Main Index |
Thread Index |
Old Index