Merge commit '7d5329ed5713077c7a7c8cc0fefd099e553b00a0' into dora
This commit is contained in:
commit
d771e900da
|
@ -0,0 +1,44 @@
|
||||||
|
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
|
||||||
|
|
||||||
|
# The loopback interface
|
||||||
|
auto lo
|
||||||
|
iface lo inet loopback
|
||||||
|
|
||||||
|
# eth0 is attached to the IDU-internal managed switch
|
||||||
|
# in the future we will use VLANs to use individual switch ports as
|
||||||
|
# break-out interfaces. For now we simply do DHCP.
|
||||||
|
iface eth0 inet dhcp
|
||||||
|
|
||||||
|
#eth1 is our admin interface and will provide dhcp to clients
|
||||||
|
auto eth1
|
||||||
|
iface eth1 inet static
|
||||||
|
address 10.23.24.1
|
||||||
|
netmask 255.255.255.0
|
||||||
|
network 10.23.24.0
|
||||||
|
|
||||||
|
# eth2 is attached to the IDU-internal SOB-JB02-SW
|
||||||
|
auto eth2
|
||||||
|
iface eth2 inet manual
|
||||||
|
pre-up ifconfig $IFACE up
|
||||||
|
pre-down ifconfig $IFACE down
|
||||||
|
|
||||||
|
# * br0 is a bridge interface on top of eth2
|
||||||
|
# * we use the bridging code so we can run mstpd and become the root bridge
|
||||||
|
|
||||||
|
auto br0
|
||||||
|
iface br0 inet manual
|
||||||
|
bridge_ports eth2
|
||||||
|
bridge_maxwait 0
|
||||||
|
|
||||||
|
# VLAN 6: management VLAN
|
||||||
|
auto br0.6
|
||||||
|
iface br0.6 inet static
|
||||||
|
address 172.16.2.1
|
||||||
|
netmask 255.255.254.0
|
||||||
|
network 172.16.2.0
|
||||||
|
|
||||||
|
# 172.16.1.1 is the service IP address for SOBMGMT
|
||||||
|
auto br0.6:0
|
||||||
|
iface br0.6:0 inet manual
|
||||||
|
address 172.16.1.1
|
||||||
|
netmask 255.255.255.255
|
|
@ -38,4 +38,6 @@ do_install_append () {
|
||||||
ln -s /lib/bridge-utils/ifupdown.sh bridge
|
ln -s /lib/bridge-utils/ifupdown.sh bridge
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FILES_${PN} += "/lib/bridge-utils/*.sh"
|
||||||
|
|
||||||
RRECOMMENDS_${PN} = "kernel-module-bridge"
|
RRECOMMENDS_${PN} = "kernel-module-bridge"
|
||||||
|
|
Loading…
Reference in New Issue