neutron net-create Net1 neutron net-create Net2 neutron net-create Net3 neutron net-create Net4 neutron net-create Net5 neutron net-create Net6 neutron net-create Net7 neutron net-create Net8 neutron subnet-create Net1 11.1.2.0/24 --enable-dhcp --name subnet-ipv4s1 neutron subnet-create Net2 12.23.34.0/24 --enable-dhcp --name subnet-ipv4s2 neutron subnet-create Net3 13.5.4.0/24 --enable-dhcp --name subnet-ipv4s3 neutron subnet-create Net4 14.42.62.0/24 --enable-dhcp --name subnet-ipv4s4 neutron subnet-create Net5 15.8.9.0/24 --enable-dhcp --name subnet-ipv4s5 neutron subnet-create Net6 16.6.67.0/24 --enable-dhcp --name subnet-ipv4s6 neutron subnet-create Net7 17.7.6.0/24 --enable-dhcp --name subnet-ipv4s7 neutron subnet-create Net8 18.6.6.0/24 --enable-dhcp --name subnet-ipv4s8 neutron subnet-create Net1 2001:db8:abcd:0011::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name subnet-ipv6s1 neutron subnet-create Net2 2025:caf:3214:0012::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name subnet-ipv6s2 neutron subnet-create Net3 2033:456a:f012:0013::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name subnet-ipv6s3 neutron subnet-create Net4 2056:212:d562:0014::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name subnet-ipv6s4 neutron subnet-create Net5 2062:321:543:0015::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name subnet-ipv6s5 neutron subnet-create Net6 2078:fde:2cd:0016::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name subnet-ipv6s6 neutron subnet-create Net7 2123:13f:565:0017::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name subnet-ipv6s7 neutron subnet-create Net8 2234:777:222:0018::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name subnet-ipv6s8 neutron router-create R1 neutron router-create R2 neutron router-interface-add R1 subnet-ipv4s1 neutron router-interface-add R1 subnet-ipv6s1 neutron router-interface-add R1 subnet-ipv4s2 neutron router-interface-add R1 subnet-ipv6s2 neutron router-interface-add R1 subnet-ipv4s3 neutron router-interface-add R1 subnet-ipv6s3 neutron router-interface-add R1 subnet-ipv4s4 neutron router-interface-add R1 subnet-ipv6s4 neutron router-interface-add R2 subnet-ipv4s5 neutron router-interface-add R2 subnet-ipv6s5 neutron router-interface-add R2 subnet-ipv4s6 neutron router-interface-add R2 subnet-ipv6s6 neutron router-interface-add R2 subnet-ipv4s7 neutron router-interface-add R2 subnet-ipv6s7 neutron router-interface-add R2 subnet-ipv4s8 neutron router-interface-add R2 subnet-ipv6s8 neutron port-create Net1 --name PORT1-N1 --security-group CUSTM_SGP --allowed-address-pair ip_address=2111:12f:862:18::/64 --allowed-address-pair ip_address=20.0.5.0/24 neutron port-create Net1 --name PORT2-N1 --security-group CUSTM_SGP neutron port-create Net2 --name PORT3-N2 --security-group CUSTM_SGP neutron port-create Net2 --name PORT4-N2 --security-group CUSTM_SGP --allowed-address-pair ip_address=2111:12f:862:18::/64 --allowed-address-pair ip_address=20.0.5.0/24 neutron port-create Net3 --name PORT5-N3 --security-group CUSTM_SGP --allowed-address-pair ip_address=2111:12f:862:18::/64 --allowed-address-pair ip_address=20.0.5.0/24 neutron port-create Net3 --name PORT6-N3 --security-group CUSTM_SGP neutron port-create Net4 --name PORT7-N4 --security-group CUSTM_SGP neutron port-create Net4 --name PORT8-N4 --security-group CUSTM_SGP --allowed-address-pair ip_address=2111:12f:862:18::/64 --allowed-address-pair ip_address=20.0.5.0/24 neutron port-create Net5 --name PORT9-N5 --security-group CUSTM_SGP --allowed-address-pair ip_address=202f:adc:9213:2f::/64 --allowed-address-pair ip_address=30.0.1.0/24 neutron port-create Net5 --name PORT10-N5 --security-group CUSTM_SGP neutron port-create Net6 --name PORT11-N6 --security-group CUSTM_SGP neutron port-create Net6 --name PORT12-N6 --security-group CUSTM_SGP --allowed-address-pair ip_address=202f:adc:9213:2f::/64 --allowed-address-pair ip_address=30.0.1.0/24 neutron port-create Net7 --name PORT13-N7 --security-group CUSTM_SGP --allowed-address-pair ip_address=202f:adc:9213:2f::/64 --allowed-address-pair ip_address=30.0.1.0/24 neutron port-create Net7 --name PORT14-N7 --security-group CUSTM_SGP neutron port-create Net8 --name PORT15-N8 --security-group CUSTM_SGP neutron port-create Net8 --name PORT16-N8 --security-group CUSTM_SGP --allowed-address-pair ip_address=202f:adc:9213:2f::/64 --allowed-address-pair ip_address=30.0.1.0/24 nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT1-N1 |awk '{print $2}') Host1-N1 --availability-zone nova:compute-0-1.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT2-N1 |awk '{print $2}') Host2-N1 --availability-zone nova:compute-0-2.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT3-N2 |awk '{print $2}') Host3-N2 --availability-zone nova:compute-0-1.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT4-N2 |awk '{print $2}') Host4-N2 --availability-zone nova:compute-0-2.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT5-N3 |awk '{print $2}') Host5-N3 --availability-zone nova:compute-0-1.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT6-N3 |awk '{print $2}') Host6-N3 --availability-zone nova:compute-0-2.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT7-N4 |awk '{print $2}') Host7-N4 --availability-zone nova:compute-0-1.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT8-N4 |awk '{print $2}') Host8-N4 --availability-zone nova:compute-0-2.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT9-N5 |awk '{print $2}') Host9-N5 --availability-zone nova:compute-0-1.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT10-N5 |awk '{print $2}') Host10-N5 --availability-zone nova:compute-0-2.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT11-N6 |awk '{print $2}') Host11-N6 --availability-zone nova:compute-0-1.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT12-N6 |awk '{print $2}') Host12-N6 --availability-zone nova:compute-0-2.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT13-N7 |awk '{print $2}') Host13-N7 --availability-zone nova:compute-0-1.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT14-N7 |awk '{print $2}') Host14-N7 --availability-zone nova:compute-0-2.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT15-N8 |awk '{print $2}') Host15-N8 --availability-zone nova:compute-0-1.domain.tld nova boot --flavor m1.small --image ubuntu-2 --nic port-id=$(neutron port-list | grep PORT16-N8 |awk '{print $2}') Host16-N8 --availability-zone nova:compute-0-2.domain.tld root@cic-1:~# nova list +--------------------------------------+-----------+--------+------------+-------------+-------------------------------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-----------+--------+------------+-------------+-------------------------------------------------------+ | a0ba83b9-ef74-4e71-8012-5c6e0f113aee | Host1-N1 | ACTIVE | - | Running | Net1=11.1.2.3, 2001:db8:abcd:11:f816:3eff:fe29:b31e | | 826414de-8811-4d89-b3ce-b7dde6f758e7 | Host10-N5 | ACTIVE | - | Running | Net5=2062:321:543:15:f816:3eff:fe7f:eb30, 15.8.9.4 | | 97fa8450-d802-426e-8867-3ab1c2201c85 | Host11-N6 | ACTIVE | - | Running | Net6=2078:fde:2cd:16:f816:3eff:fe7b:a4a3, 16.6.67.3 | | 270f3ca7-3ea6-4fdb-9bc9-e8abf8e5bed4 | Host12-N6 | ACTIVE | - | Running | Net6=16.6.67.4, 2078:fde:2cd:16:f816:3eff:febd:580e | | a3e1797c-6d07-4a00-9e30-4f0a07055841 | Host13-N7 | ACTIVE | - | Running | Net7=17.7.6.3, 2123:13f:565:17:f816:3eff:fe7b:fd90 | | 0415328c-cfdc-4d27-9f18-67ab0bd1b8d8 | Host14-N7 | ACTIVE | - | Running | Net7=17.7.6.4, 2123:13f:565:17:f816:3eff:feaf:6ee3 | | c8ed3d00-2144-4985-b78e-8867325ebfde | Host15-N8 | ACTIVE | - | Running | Net8=2234:777:222:18:f816:3eff:fecd:1424, 18.6.6.3 | | 3363db85-bc2b-4a7e-9ad3-19698ad7f950 | Host16-N8 | ACTIVE | - | Running | Net8=2234:777:222:18:f816:3eff:fec1:3b7b, 18.6.6.4 | | 12c9e079-fd4d-4e50-bedd-fc571a1ef9bc | Host2-N1 | ACTIVE | - | Running | Net1=2001:db8:abcd:11:f816:3eff:fe7b:31ff, 11.1.2.4 | | 3efacfb1-a3f3-4801-9be2-64f0ed8f2844 | Host3-N2 | ACTIVE | - | Running | Net2=2025:caf:3214:12:f816:3eff:fed3:d999, 12.23.34.3 | | ee21744c-663e-42dc-a3de-0d4c8eacdd26 | Host4-N2 | ACTIVE | - | Running | Net2=12.23.34.4, 2025:caf:3214:12:f816:3eff:fef3:679 | | e7f87135-1b4b-450f-8e9e-c303f0adf176 | Host5-N3 | ACTIVE | - | Running | Net3=2033:456a:f012:13:f816:3eff:fee8:d282, 13.5.4.3 | | 59ee732c-9ee3-45be-a180-010a4f77e69c | Host6-N3 | ACTIVE | - | Running | Net3=2033:456a:f012:13:f816:3eff:fe08:921f, 13.5.4.4 | | 2b5182e9-0417-463f-adad-f525a8d19943 | Host7-N4 | ACTIVE | - | Running | Net4=14.42.62.3, 2056:212:d562:14:f816:3eff:fe39:2f63 | | 149edf4c-0f64-417c-8854-a708fa31d3c8 | Host8-N4 | ACTIVE | - | Running | Net4=14.42.62.4, 2056:212:d562:14:f816:3eff:fe30:f2b6 | | b9bf7ec7-9029-447b-a7de-d68548cb61dc | Host9-N5 | ACTIVE | - | Running | Net5=15.8.9.3, 2062:321:543:15:f816:3eff:fece:96f4 | +--------------------------------------+-----------+--------+------------+-------------+-------------------------------------------------------+ root@cic-1:~# neutron bgpvpn-create --export-targets 100:1 --import-targets 100:11 -- --route-distinguishers list=true 100:21 100:22 --name VPN1 --type l3 neutron bgpvpn-create --export-targets 100:3 --import-targets 100:31 -- --route-distinguishers list=true 100:23 100:24 --name VPN2 --type l3 neutron bgpvpn-router-assoc-create --router ce9c5b92-acc9-458d-b4b0-2f09ceb10127 VPN1 neutron bgpvpn-router-assoc-create --router f7bf1c17-da0c-4ffa-b53e-aea4de13eecf VPN2 ifconfig ens3:0 20.0.5.200/24 up ifconfig ens3 inet6 add 2111:12f:862:18::20/64 ifconfig ens3:0 30.0.1.200/24 up ifconfig ens3 inet6 add 202f:adc:9213:2f::20/64 neutron router-update R1 --routes type=dict list=true destination=20.0.5.0/24,nexthop=11.1.2.3 destination=2111:12f:862:18::/64,nexthop=2001:db8:abcd:11:f816:3eff:fe29:b31e destination=20.0.5.0/24,nexthop=12.23.34.4 destination=2111:12f:862:18::/64,nexthop=2025:caf:3214:12:f816:3eff:fef3:679 destination=20.0.5.0/24,nexthop=13.5.4.3 destination=2111:12f:862:18::/64,nexthop=2033:456a:f012:13:f816:3eff:fee8:d282 destination=20.0.5.0/24,nexthop=14.42.62.4 destination=2111:12f:862:18::/64,nexthop=2056:212:d562:14:f816:3eff:fe30:f2b6 neutron router-update R2 --routes type=dict list=true destination=30.0.1.0/24,nexthop=15.8.9.3 destination=202f:adc:9213:2f::/64,nexthop=2062:321:543:15:f816:3eff:fece:96f4 destination=30.0.1.0/24,nexthop=16.6.67.4 destination=202f:adc:9213:2f::/64,nexthop=2078:fde:2cd:16:f816:3eff:febd:580e destination=30.0.1.0/24,nexthop=17.7.6.3 destination=202f:adc:9213:2f::/64,nexthop=2123:13f:565:17:f816:3eff:fe7b:fd90 destination=30.0.1.0/24,nexthop=18.6.6.4 destination=202f:adc:9213:2f::/64,nexthop=2234:777:222:18:f816:3eff:fec1:3b7b