version 1.124, 2008/11/25 12:11:44 |
version 1.125, 2009/07/10 19:08:08 |
|
|
# Configure all the non-loopback interfaces which we know about, but |
# Configure all the non-loopback interfaces which we know about, but |
# do not start interfaces which must be delayed. |
# do not start interfaces which must be delayed. |
# Refer to hostname.if(5) and bridgename.if(5) |
# Refer to hostname.if(5) and bridgename.if(5) |
ifmstart "" "trunk vlan carp gif gre pfsync pppoe" |
ifmstart "" "trunk vlan carp gif gre pfsync pppoe tun" |
|
|
# The trunk interfaces need to come up first in this list. |
# The trunk interfaces need to come up first in this list. |
# The vlan interfaces need to come up after trunk. |
# The vlan interfaces need to come up after trunk. |
|
|
esac |
esac |
|
|
|
|
# Configure PPPoE, GIF, GRE interfaces, delayed because they require routes |
# Configure PPPoE, GIF, GRE and TUN interfaces, delayed because they require |
# to be set. PPPoE must be first, as GIF and GRE may depend on it. |
# routes to be set. TUN might depend on PPPoE, and GIF or GRE may depend on |
ifmstart "pppoe gif gre" |
# either of them. |
|
ifmstart "pppoe tun gif gre" |
|
|
# reject 127/8 other than 127.0.0.1 |
# reject 127/8 other than 127.0.0.1 |
route -qn add -net 127 127.0.0.1 -reject > /dev/null |
route -qn add -net 127 127.0.0.1 -reject > /dev/null |