Getting Networking right in a cloud deployment, is one of the hardest parts and usually needs several deployment iterations.
Assuming you use VLAN 84 for admin network, VLAN 85 for public network and VLAN 82-86 overall for this cloud's admin/public/storage/sdn/fixed networks
And assuming your nodes are connected to switch ports 5-9, you use the default IP ranges from network.json and your upstream router IP is 192.168.0.1
configure terminal # repeat the below for interfaces 6-9 interface Ethernet1/5 switchport mode trunk switchport access vlan 84 switchport trunk native vlan 84 switchport trunk allowed vlan 82-86 # for older Catalyst series spanning-tree portfast trunk # for newer Nexus series spanning-tree port type edge trunk # repeat end show running-config interface Ethernet1/5 copy running-config startup-config
system-view vlan batch 82 to 86 port-group cloud1 group-member 10ge 1/0/5 to 10ge 1/0/9 port link-type trunk port trunk pvid vlan 84 port trunk allow-pass vlan 82 to 86 display vlan 84
# If you want the switch to do the routing # default gateway ip route-static 0.0.0.0 0.0.0.0 192.168.0.1 # admin net interface vlanif 84 ip address 192.168.124.1 255.255.255.0 # public net interface vlanif 85 ip address 192.168.126.1 255.255.255.0 display interface Vlanif 84