Browse Source

Install a multicast route by default

OPENBSD_2_0
tholo 28 years ago
parent
commit
f7f6fa50d6
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/etc/netstart

+ 5
- 1
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=-q routed_flags=-q
@ -106,6 +106,10 @@ ifconfig lo0 inet localhost
# use loopback, not the wire # use loopback, not the wire
route add $hostname localhost 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 # /etc/mygate, if it exists, contains the name of my gateway host
# that name must be in /etc/hosts. # that name must be in /etc/hosts.


Loading…
Cancel
Save