SUSE Cloud/Networking

From MicroFocusInternationalWiki
Revision as of 14:23, 14 February 2017 by Bmwiedemann (Talk | contribs) (Cisco: use range commands)

Jump to: navigation, search

Getting Networking right in a cloud deployment, is one of the hardest parts and usually needs several deployment iterations.


When doing your first deployments, first try to get the simplemost setup working. That is, use the default 'single' mode in crowbar's network.json instead of 'dual' or 'team', use default openvswitch+gre in neutron barclamp (or linuxbridge+vlan mode if you do not need SDN).

Switch configuration

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


configure terminal
vlan 82-86
no shutdown
interface Ethernet1/5-9
no shutdown
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
show running-config interface Ethernet1/5
copy running-config startup-config


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
stp edged-port enable
display vlan 84
# If you want the switch to do the routing
# default gateway
ip route-static
# admin net
interface vlanif 84
ip address
# public net
interface vlanif 85
ip address
display interface Vlanif 84
display ip routing-table