From owner-freebsd-current Mon May 12 10:58:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA24996 for current-outgoing; Mon, 12 May 1997 10:58:59 -0700 (PDT) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA24990 for ; Mon, 12 May 1997 10:58:56 -0700 (PDT) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id UAA16566 for ; Mon, 12 May 1997 20:00:01 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.8.5/8.6.9) id TAA00526 for freebsd-current@freefall.cdrom.com; Mon, 12 May 1997 19:59:18 +0200 (MEST) Date: Mon, 12 May 1997 19:59:18 +0200 (MEST) From: Christoph Kukulies Message-Id: <199705121759.TAA00526@gil.physik.rwth-aachen.de> To: freebsd-current@freefall.FreeBSD.org Subject: arpproxy_all - patch for rc.conf/rc.network Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk appended two patches reflecting the fact that ARP_PROXY_ALL is no longer a valid kernel config option. Instead there is a sysctl for it. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de *** rc.conf.orig Fri May 9 18:56:11 1997 --- rc.conf Fri May 9 18:58:15 1997 *************** *** 86,91 **** --- 86,92 ---- ipxgateway_enable="NO" # Set to YES to enable IPX routing. ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon. ipxrouted_flags="" # Flags for IPX routing daemon. + arpproxy_all="" # obsolete kernel option ARP_PROXY_ALL equiv. ############################################################## *** rc.network.orig Fri May 9 18:56:22 1997 --- rc.network Fri May 9 19:00:14 1997 *************** *** 93,98 **** --- 93,103 ---- echo -n ' IPXrouted: ' IPXrouted ${ipxrouted_flags} > /dev/null 2>&1 fi + + if [ "X$arpproxy_all" = X"YES" ]; then + echo -n ' enabling ARP_PROXY_ALL: ' + sysctl -w net.link.ether.inet.proxyall=1 2>&1 + fi echo '.' network_pass1_done=YES # Let future generations know we made it. }