diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-05-13 08:22:27 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-05-13 08:22:27 +0000 |
commit | f843ab9ce84f3241296e034359e75b54c55b103e (patch) | |
tree | 901f8040cff0dba0f4ce83c5c11d49471bff11ac /etc/rc.d | |
parent | 359dfc6cd416e5340efab579702ccd89df6579ad (diff) | |
download | src-f843ab9ce84f3241296e034359e75b54c55b103e.tar.gz src-f843ab9ce84f3241296e034359e75b54c55b103e.zip |
Add arp_proxyall knob.
Submitted by: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
Notes
Notes:
svn path=/head/; revision=25765
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/netoptions | 7 | ||||
-rw-r--r-- | etc/rc.d/network1 | 7 | ||||
-rw-r--r-- | etc/rc.d/network2 | 7 | ||||
-rw-r--r-- | etc/rc.d/network3 | 7 | ||||
-rw-r--r-- | etc/rc.d/routing | 7 |
5 files changed, 30 insertions, 5 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index 9714eb763193..d44043edcfa3 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.1.2.6 1997/05/01 23:42:19 jkh Exp $ +# $Id: rc.network,v 1.6 1997/05/03 11:22:17 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -93,6 +93,11 @@ network_pass1() { 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. } diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index 9714eb763193..d44043edcfa3 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.1.2.6 1997/05/01 23:42:19 jkh Exp $ +# $Id: rc.network,v 1.6 1997/05/03 11:22:17 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -93,6 +93,11 @@ network_pass1() { 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. } diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index 9714eb763193..d44043edcfa3 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.1.2.6 1997/05/01 23:42:19 jkh Exp $ +# $Id: rc.network,v 1.6 1997/05/03 11:22:17 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -93,6 +93,11 @@ network_pass1() { 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. } diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index 9714eb763193..d44043edcfa3 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.1.2.6 1997/05/01 23:42:19 jkh Exp $ +# $Id: rc.network,v 1.6 1997/05/03 11:22:17 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -93,6 +93,11 @@ network_pass1() { 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. } diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 9714eb763193..d44043edcfa3 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.1.2.6 1997/05/01 23:42:19 jkh Exp $ +# $Id: rc.network,v 1.6 1997/05/03 11:22:17 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -93,6 +93,11 @@ network_pass1() { 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. } |