Date: Mon, 20 Jan 2003 16:34:46 -0800 From: "Crist J. Clark" <crist.clark@attbi.com> To: Kenneth Stailey <kstailey@yahoo.com> Cc: freebsd-net@freebsd.org Subject: Re: How to use proxy ARP for tun device? Message-ID: <20030121003446.GG34751@blossom.cjclark.org> In-Reply-To: <20030120235956.66063.qmail@web10005.mail.yahoo.com> References: <20030120235956.66063.qmail@web10005.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 20, 2003 at 03:59:56PM -0800, Kenneth Stailey wrote: > Seems that if I set up a tun device I can't proxy arp for the "remote" end. > > bsdlab# sysctl net.link.ether.inet.proxyall=1 > net.link.ether.inet.proxyall: 0 -> 1 > > (set to 1 or 0 the same failure occurs) > > bsdlab# ifconfig tun0 > tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::2a0:c9ff:fe31:f067%tun0 prefixlen 64 scopeid 0x5 > inet 64.93.1.35 --> 10.134.198.236 netmask 0xff000000 > Opened by PID 89567 > > bsdlab# /usr/sbin/arp -s 10.134.198.236 0:a0:c9:31:f0:67 pub > cannot intuit interface index and type for 10.134.198.236 > > What should I do to make arp work? $ man ppp ... proxyall Default: Disabled. Enabling this will tell ppp to add proxy arp entries for every IP address in all class C or smaller subnets routed via the tun interface. Proxy arp entries are only made for sticky routes that are added using the ``add'' command. No proxy arp entries are made for the interface address itself (as created by the ``set ifaddr'' com- mand). -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030121003446.GG34751>