version 1.91, 2004/01/09 10:02:23 |
version 1.92, 2004/01/11 06:07:16 |
|
|
|
|
# Set the address for the loopback interface. |
# Set the address for the loopback interface. |
# It will also initialize IPv6 address for lo0 (::1 and others). |
# It will also initialize IPv6 address for lo0 (::1 and others). |
ifconfig lo0 inet localhost |
ifconfig lo0 inet 127.0.0.1 |
|
|
# Use loopback, not the wire. |
|
route -qn add -host $hostname localhost > /dev/null |
|
route -qn add -net 127 127.0.0.1 -reject > /dev/null |
|
|
|
if ifconfig lo0 inet6 >/dev/null 2>&1; then |
if ifconfig lo0 inet6 >/dev/null 2>&1; then |
# IPv6 configurations. |
# IPv6 configurations. |
ip6kernel=YES |
ip6kernel=YES |
|
|
;; |
;; |
esac |
esac |
done |
done |
|
|
|
# Use loopback, not the wire. |
|
route -qn add -host $hostname 127.0.0.1 > /dev/null |
|
route -qn add -net 127 127.0.0.1 -reject > /dev/null |
|
|
# Configure all the bridges. |
# Configure all the bridges. |
for bn in /etc/bridgename.*; do |
for bn in /etc/bridgename.*; do |