Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jasonjohnson/3da55f70870e97d20652134172ea48b5 to your computer and use it in GitHub Desktop.
Save jasonjohnson/3da55f70870e97d20652134172ea48b5 to your computer and use it in GitHub Desktop.
Network connectivity issue
PING 172.16.10.25 (172.16.10.25) 56(84) bytes of data.
From 172.16.10.20 icmp_seq=1 Destination Host Unreachable
From 172.16.10.20 icmp_seq=2 Destination Host Unreachable
From 172.16.10.20 icmp_seq=3 Destination Host Unreachable
From 172.16.10.20 icmp_seq=4 Destination Host Unreachable
^C
--- 172.16.10.25 ping statistics ---
5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4005ms
pipe 4
+-------------+------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+-------------+------------------------------------------------------------------------------------------------------------------------------+
| description | Default security group |
| id | 50ffeb26-5a11-4087-8122-9119b6ae4f79 |
| name | default |
| project_id | 6fed39a8f90e4913b9a752fdaaeb6a35 |
| rules | direction='ingress', ethertype='IPv6', id='20214764-af7b-482b-a422-24d6c0a2a30c', |
| | remote_group_id='50ffeb26-5a11-4087-8122-9119b6ae4f79' |
| | direction='ingress', ethertype='IPv4', id='778aff0d-c7f0-48d3-bb96-eacfa04bc166', port_range_max='22', port_range_min='22', |
| | protocol='tcp', remote_ip_prefix='0.0.0.0/0' |
| | direction='egress', ethertype='IPv6', id='a0fad733-b8f1-4d8b-a2d9-e3d05b51febf' |
| | direction='egress', ethertype='IPv4', id='a3ab7908-0230-4e7c-bf17-a6ab3316dac6' |
| | direction='ingress', ethertype='IPv4', id='bcb95d88-e5ac-4825-9ab2-2ada3aea5185', |
| | remote_group_id='50ffeb26-5a11-4087-8122-9119b6ae4f79' |
+-------------+------------------------------------------------------------------------------------------------------------------------------+
+--------------------------------------+------+--------+-----------------------+------------+
| ID | Name | Status | Networks | Image Name |
+--------------------------------------+------+--------+-----------------------+------------+
| 9cef600b-828c-4811-9af8-65ae91b69180 | test | ACTIVE | provider=172.16.10.25 | cirros |
| 3f9d3460-91eb-4776-8e3d-da8c883c9d7a | test | ACTIVE | provider=172.16.10.24 | cirros |
+--------------------------------------+------+--------+-----------------------+------------+
+--------------------------------------+----------------------------------------------------------+
| Field | Value |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | compute-0 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute-0 |
| OS-EXT-SRV-ATTR:instance_name | instance-00000005 |
| OS-EXT-STS:power_state | Running |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2016-11-14T16:42:42.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | provider=172.16.10.25 |
| config_drive | True |
| created | 2016-11-14T16:42:36Z |
| flavor | m1.tiny (1) |
| hostId | 0e5488357916de65ea65f5d1137d5a95b29c1245288128d9a1fe45cf |
| id | 9cef600b-828c-4811-9af8-65ae91b69180 |
| image | cirros (8883ef44-60ef-4a5d-b7e5-24aec1978d08) |
| key_name | None |
| name | test |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| project_id | 6fed39a8f90e4913b9a752fdaaeb6a35 |
| properties | |
| security_groups | [{u'name': u'default'}] |
| status | ACTIVE |
| updated | 2016-11-14T16:42:41Z |
| user_id | eadcdac311c64dfd8e661d7a14158d79 |
+--------------------------------------+----------------------------------------------------------+
brqa60e610a-4b 8000.0800272c452e no enp0s3
tap044d2022-d1
tape280b0aa-74
virbr0 8000.525400b73d12 yes virbr0-nic
[DEFAULT]
debug = true
log_file = /opt/log/neutron-linuxbridge.log
[agent]
polling_interval = 2
[linux_bridge]
physical_interface_mappings = provider:enp0s3
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
enable_security_group = true
enable_ipset = true
[vxlan]
enable_vxlan = false
bridge name bridge id STP enabled interfaces
brqa60e610a-4b 8000.0800274b04e2 no enp0s3
tap55ffec22-f6
2016-11-14 11:42:39.823 11397 DEBUG neutron.plugins.ml2.drivers.agent._common_agent [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Port tap044d2022-d1 added treat_devices_added_updated /opt/neutron-env/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py:217
2016-11-14 11:42:39.824 11397 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Port tap044d2022-d1 updated. Details: {u'profile': {}, u'network_qos_policy_id': None, u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'a60e610a-4b3f-4e56-be63-fe98d94fedef', u'segmentation_id': None, u'device_owner': u'compute:None', u'physical_network': u'provider', u'mac_address': u'fa:16:3e:1d:58:25', u'device': u'tap044d2022-d1', u'port_security_enabled': True, u'port_id': u'044d2022-d179-4e9f-92d0-21bc1974fb49', u'fixed_ips': [{u'subnet_id': u'84f820df-17ed-498b-9d4e-36f322cf4abe', u'ip_address': u'172.16.10.25'}], u'network_type': u'flat', u'security_groups': [u'50ffeb26-5a11-4087-8122-9119b6ae4f79']}
2016-11-14 11:42:39.824 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ebtables', '-L'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.840 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.841 11397 DEBUG oslo_concurrency.lockutils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Lock "ebtables" acquired by "neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect._install_mac_spoofing_protection" :: waited 0.000s inner /opt/neutron-env/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270
2016-11-14 11:42:39.842 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ebtables', '-N', 'neutronMAC-tap044d2022-d1', '-P', 'DROP'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.856 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.857 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ebtables', '-A', 'FORWARD', '-i', 'tap044d2022-d1', '-j', 'neutronMAC-tap044d2022-d1'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.869 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.870 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ebtables', '-A', 'neutronMAC-tap044d2022-d1', '-i', 'tap044d2022-d1', '--among-src', 'fa:16:3e:1d:58:25', '-j', 'RETURN'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.883 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.884 11397 DEBUG oslo_concurrency.lockutils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Lock "ebtables" released by "neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect._install_mac_spoofing_protection" :: held 0.043s inner /opt/neutron-env/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282
2016-11-14 11:42:39.885 11397 DEBUG oslo_concurrency.lockutils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Lock "ebtables" acquired by "neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect.install_arp_spoofing_protection" :: waited 0.000s inner /opt/neutron-env/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270
2016-11-14 11:42:39.886 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ebtables', '-N', 'neutronARP-tap044d2022-d1', '-P', 'DROP'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.898 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.899 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ebtables', '-F', 'neutronARP-tap044d2022-d1'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.909 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.910 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ebtables', '-A', 'neutronARP-tap044d2022-d1', '-p', 'ARP', '--arp-ip-src', '172.16.10.25', '-j', 'ACCEPT'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.926 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.927 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ebtables', '-A', 'FORWARD', '-i', 'tap044d2022-d1', '-j', 'neutronARP-tap044d2022-d1', '-p', 'ARP'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.939 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.940 11397 DEBUG oslo_concurrency.lockutils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Lock "ebtables" released by "neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect.install_arp_spoofing_protection" :: held 0.055s inner /opt/neutron-env/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282
2016-11-14 11:42:39.940 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['ip', '-o', 'link', 'show', 'tap044d2022-d1'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.946 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.947 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['ip', 'addr', 'show', 'enp0s3', 'scope', 'global'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.954 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.955 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['ip', 'route', 'list', 'dev', 'enp0s3', 'scope', 'global'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.960 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.961 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ip', 'link', 'set', 'brqa60e610a-4b', 'up'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.973 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.974 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['ip', '-o', 'link', 'show', 'enp0s3'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.980 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.981 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ip', 'link', 'set', 'tap044d2022-d1', 'mtu', '1500'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:39.991 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
2016-11-14 11:42:39.991 11397 DEBUG neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [req-f8c29550-54a2-41a6-9b97-5c62f51ba334- - - - -] Skip adding device tap044d2022-d1 to brqa60e610a-4b. It is owned by compute:None and thus added elsewhere. _add_tap_interface /opt/neutron-env/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py:473
2016-11-14 11:42:39.992 11397 DEBUG neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [req-f8c29550-54a2-41a6-9b97-5c62f51ba334- - - - -] Setting admin_state_up to True for device tap044d2022-d1 ensure_port_admin_state /opt/neutron-env/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py:729
2016-11-14 11:42:39.992 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Running command: ['sudo', 'ip', 'link', 'set', 'tap044d2022-d1', 'up'] create_process /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:84
2016-11-14 11:42:40.003 11397 DEBUG neutron.agent.linux.utils [req-f8c29550-54a2-41a6-9b97-5c62f51ba334 - - - - -] Exit code: 0 execute /opt/neutron-env/lib/python2.7/site-packages/neutron/agent/linux/utils.py:142
[root@compute-0 ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UP qlen 1000
link/ether 08:00:27:2c:45:2e brd ff:ff:ff:ff:ff:ff
inet6 fe80::a00:27ff:fe2c:452e/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
link/ether 52:54:00:b7:3d:12 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500
link/ether 52:54:00:b7:3d:12 brd ff:ff:ff:ff:ff:ff
5: brqa60e610a-4b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 08:00:27:2c:45:2e brd ff:ff:ff:ff:ff:ff
inet 172.16.10.152/24 brd 172.16.10.255 scope global brqa60e610a-4b
valid_lft forever preferred_lft forever
inet6 fe80::fc16:3eff:fe0e:3961/64 scope link
valid_lft forever preferred_lft forever
6: tape280b0aa-74: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UNKNOWN qlen 500
link/ether fe:16:3e:0e:39:61 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc16:3eff:fe0e:3961/64 scope link
valid_lft forever preferred_lft forever
7: tap044d2022-d1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UNKNOWN qlen 500
link/ether fe:16:3e:1d:58:25 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc16:3eff:fe1d:5825/64 scope link
valid_lft forever preferred_lft forever
[root@compute-0 ~]# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UP mode DEFAULT qlen 1000
link/ether 08:00:27:2c:45:2e brd ff:ff:ff:ff:ff:ff
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT
link/ether 52:54:00:b7:3d:12 brd ff:ff:ff:ff:ff:ff
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN mode DEFAULT qlen 500
link/ether 52:54:00:b7:3d:12 brd ff:ff:ff:ff:ff:ff
5: brqa60e610a-4b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT
link/ether 08:00:27:2c:45:2e brd ff:ff:ff:ff:ff:ff
6: tape280b0aa-74: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UNKNOWN mode DEFAULT qlen 500
link/ether fe:16:3e:0e:39:61 brd ff:ff:ff:ff:ff:ff
7: tap044d2022-d1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UNKNOWN mode DEFAULT qlen 500
link/ether fe:16:3e:1d:58:25 brd ff:ff:ff:ff:ff:ff
[root@compute-0 ~]#
[root@controller ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UP qlen 1000
link/ether 08:00:27:4b:04:e2 brd ff:ff:ff:ff:ff:ff
inet6 fe80::a00:27ff:fe4b:4e2/64 scope link
valid_lft forever preferred_lft forever
3: tap55ffec22-f6@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UP qlen 1000
link/ether 02:67:71:ee:11:3b brd ff:ff:ff:ff:ff:ff link-netnsid 0
4: brqa60e610a-4b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 02:67:71:ee:11:3b brd ff:ff:ff:ff:ff:ff
inet 172.16.10.151/24 brd 172.16.10.255 scope global brqa60e610a-4b
valid_lft forever preferred_lft forever
[root@controller ~]# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UP mode DEFAULT qlen 1000
link/ether 08:00:27:4b:04:e2 brd ff:ff:ff:ff:ff:ff
3: tap55ffec22-f6@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqa60e610a-4b state UP mode DEFAULT qlen 1000
link/ether 02:67:71:ee:11:3b brd ff:ff:ff:ff:ff:ff link-netnsid 0
4: brqa60e610a-4b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT
link/ether 02:67:71:ee:11:3b brd ff:ff:ff:ff:ff:ff
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
| 64a2646f-e365-4e03-8e4c-ca261c5cc151 | Linux bridge agent | controller | None | True | UP | neutron-linuxbridge-agent |
| 75e57fbd-ec34-4c15-ab9a-ff6f65da0133 | Metadata agent | controller | None | True | UP | neutron-metadata-agent |
| d83ed2d4-0596-406f-979f-b51cee4e6b93 | Linux bridge agent | compute-0 | None | True | UP | neutron-linuxbridge-agent |
| f78e5478-ce35-44f0-8529-275e0c01ba8b | DHCP agent | controller | nova | True | UP | neutron-dhcp-agent |
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
Workstation/home subnet: 172.16.10.0/24
Commands to create Neutron network:
openstack network create --share --enable --external --provider-network-type flat --provider-physical-network provider provider
openstack subnet create --dhcp --network provider --subnet-range 172.16.10.0/24 --allocation-pool start=172.16.10.20,end=172.16.10.30
Logic:
Allow VMs to be created in the 20-30 range (less DHCP IP) on the same subnet as the rest of my home network workstations, VMs, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment