From owner-freebsd-net Mon Jan 20 16:34:55 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4134837B401 for ; Mon, 20 Jan 2003 16:34:54 -0800 (PST) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2BFB43F13 for ; Mon, 20 Jan 2003 16:34:53 -0800 (PST) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org (12-234-89-252.client.attbi.com[12.234.89.252]) by rwcrmhc52.attbi.com (rwcrmhc52) with ESMTP id <2003012100344705200901jme>; Tue, 21 Jan 2003 00:34:47 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.6/8.12.3) with ESMTP id h0L0Yleq036242; Mon, 20 Jan 2003 16:34:47 -0800 (PST) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.6/8.12.6/Submit) id h0L0YkHO036241; Mon, 20 Jan 2003 16:34:46 -0800 (PST) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Mon, 20 Jan 2003 16:34:46 -0800 From: "Crist J. Clark" To: Kenneth Stailey Cc: freebsd-net@freebsd.org Subject: Re: How to use proxy ARP for tun device? Message-ID: <20030121003446.GG34751@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20030120235956.66063.qmail@web10005.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120235956.66063.qmail@web10005.mail.yahoo.com> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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