blob: 4fc6b32598c135805f694e73f0e7ca698340b680 [file] [log] [blame]
#!/bin/sh
# Reset VLANs
vconfig rem eth0.100
vconfig rem eth0.200
set -e -x
# Set VLANs
vconfig add eth0 100
vconfig add eth0 200
# Slice1 (Leaf1)
ifconfig eth0.100 up
ip addr add 118.0.0.10/24 dev eth0.100
ip addr add 119.0.0.10/24 dev eth0.100
# Slice2 (Leaf2)
ifconfig eth0.200 up
ifconfig eth0.200 hw ether 00:aa:00:00:00:02
ipaddr add 140.0.0.10/24 dev eth0.200
# Internal (for management and MME2)
ifconfig eth0 10.6.0.200/24 up