version 1.27, 1997/08/19 21:55:15 |
version 1.28, 1997/08/25 20:50:37 |
|
|
ifconfig lo0 inet localhost |
ifconfig lo0 inet localhost |
|
|
# use loopback, not the wire |
# use loopback, not the wire |
route add $hostname localhost |
route add -host $hostname localhost |
route add -net 127 127.0.0.1 -reject |
route add -net 127 127.0.0.1 -reject |
|
|
# configure all of the non-loopback interfaces which we know about. |
# configure all of the non-loopback interfaces which we know about. |
|
|
# /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. |
if [ -f /etc/mygate ]; then |
if [ -f /etc/mygate ]; then |
route add default `cat /etc/mygate` |
route add -host default `cat /etc/mygate` |
fi |
fi |
|
|
# default multicast route |
# default multicast route |