diff options
author | 1996-06-02 21:17:58 +0000 | |
---|---|---|
committer | 1996-06-02 21:17:58 +0000 | |
commit | 2fc421667691997af1a852b3f361d4f6ec24e9db (patch) | |
tree | ae9348a6d9f10abe81a4adfd009c483400a5ac54 | |
parent | KVM database is named kvm_bsd.db, not kvm_netbsd.db (diff) | |
download | wireguard-openbsd-2fc421667691997af1a852b3f361d4f6ec24e9db.tar.xz wireguard-openbsd-2fc421667691997af1a852b3f361d4f6ec24e9db.zip |
Install a multicast route by default
-rw-r--r-- | etc/netstart | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart index 7fc7bfe24e3..a0355930ba5 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.5 1996/05/26 10:25:24 deraadt Exp $ +# $OpenBSD: netstart,v 1.6 1996/06/02 21:17:58 tholo Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=-q @@ -106,6 +106,10 @@ ifconfig lo0 inet localhost # use loopback, not the wire route add $hostname localhost +route add -net 127 127.1 -reject + +# default multicast route +route add -net 224 -interface $hostname # /etc/mygate, if it exists, contains the name of my gateway host # that name must be in /etc/hosts. |