summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-06-02 21:17:58 +0000
committertholo <tholo@openbsd.org>1996-06-02 21:17:58 +0000
commit2fc421667691997af1a852b3f361d4f6ec24e9db (patch)
treeae9348a6d9f10abe81a4adfd009c483400a5ac54
parentKVM database is named kvm_bsd.db, not kvm_netbsd.db (diff)
downloadwireguard-openbsd-2fc421667691997af1a852b3f361d4f6ec24e9db.tar.xz
wireguard-openbsd-2fc421667691997af1a852b3f361d4f6ec24e9db.zip
Install a multicast route by default
-rw-r--r--etc/netstart6
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.