Extend lab with Core, Campus fabric, and clean device naming #41
@@ -277,9 +277,7 @@ topology:
|
|||||||
binds:
|
binds:
|
||||||
- hosts/campus-host1_interfaces:/etc/network/interfaces
|
- hosts/campus-host1_interfaces:/etc/network/interfaces
|
||||||
exec:
|
exec:
|
||||||
- ip link set dev eth1 up
|
- ifup eth1
|
||||||
- ip addr add 10.60.60.101/24 dev eth1
|
|
||||||
- ip route replace default via 10.60.60.1
|
|
||||||
|
|
||||||
campus-host2:
|
campus-host2:
|
||||||
kind: linux
|
kind: linux
|
||||||
@@ -290,9 +288,7 @@ topology:
|
|||||||
binds:
|
binds:
|
||||||
- hosts/campus-host2_interfaces:/etc/network/interfaces
|
- hosts/campus-host2_interfaces:/etc/network/interfaces
|
||||||
exec:
|
exec:
|
||||||
- ip link set dev eth1 up
|
- ifup eth1
|
||||||
- ip addr add 10.60.70.102/24 dev eth1
|
|
||||||
- ip route replace default via 10.60.70.1
|
|
||||||
|
|
||||||
links:
|
links:
|
||||||
# =====================================================
|
# =====================================================
|
||||||
|
|||||||
@@ -3,5 +3,7 @@ iface lo inet loopback
|
|||||||
|
|
||||||
auto eth1
|
auto eth1
|
||||||
iface eth1 inet static
|
iface eth1 inet static
|
||||||
address 10.60.60.101/24
|
address 10.60.60.101
|
||||||
|
netmask 255.255.255.0
|
||||||
gateway 10.60.60.1
|
gateway 10.60.60.1
|
||||||
|
post-up ip route replace default via 10.60.60.1
|
||||||
|
|||||||
@@ -3,5 +3,7 @@ iface lo inet loopback
|
|||||||
|
|
||||||
auto eth1
|
auto eth1
|
||||||
iface eth1 inet static
|
iface eth1 inet static
|
||||||
address 10.60.70.102/24
|
address 10.60.70.102
|
||||||
|
netmask 255.255.255.0
|
||||||
gateway 10.60.70.1
|
gateway 10.60.70.1
|
||||||
|
post-up ip route replace default via 10.60.70.1
|
||||||
|
|||||||
Reference in New Issue
Block a user