Skip to content

Instantly share code, notes, and snippets.

@ionosphere80
Last active January 25, 2016 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ionosphere80/a3725066386d8ca4c6d7 to your computer and use it in GitHub Desktop.
Save ionosphere80/a3725066386d8ca4c6d7 to your computer and use it in GitHub Desktop.
MTU experiments with Linux bridge - environment configuration
OpenStack bits:
# neutron net-show public
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | 9a6f7baa-7ab9-4008-be66-c56ae5ef9e05 |
| mtu | 0 |
| name | public |
| port_security_enabled | True |
| provider:network_type | flat |
| provider:physical_network | public |
| provider:segmentation_id | |
| router:external | True |
| shared | True |
| status | ACTIVE |
| subnets | 085bdfc9-60f8-4b40-b581-2fae9ca3fc0e |
| | b74cecce-4278-4912-94af-09537d68d112 |
| tenant_id | 726d7fd5b36941cbbb0eb9cd749e61ef |
+---------------------------+--------------------------------------+
# neutron subnet-show public-v4
+-------------------+----------------------------------------------------+
| Field | Value |
+-------------------+----------------------------------------------------+
| allocation_pools | {"start": "10.100.52.101", "end": "10.100.52.200"} |
| cidr | 10.100.52.0/24 |
| dns_nameservers | |
| enable_dhcp | False |
| gateway_ip | |
| host_routes | |
| id | b74cecce-4278-4912-94af-09537d68d112 |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | public-v4 |
| network_id | 9a6f7baa-7ab9-4008-be66-c56ae5ef9e05 |
| subnetpool_id | |
| tenant_id | 726d7fd5b36941cbbb0eb9cd749e61ef |
+-------------------+----------------------------------------------------+
# neutron subnet-show public-v6
+-------------------+----------------------------------------------------------+
| Field | Value |
+-------------------+----------------------------------------------------------+
| allocation_pools | {"start": "fd00:100:52::101", "end": "fd00:100:52::200"} |
| cidr | fd00:100:52::/64 |
| dns_nameservers | |
| enable_dhcp | False |
| gateway_ip | |
| host_routes | |
| id | 085bdfc9-60f8-4b40-b581-2fae9ca3fc0e |
| ip_version | 6 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | public-v6 |
| network_id | 9a6f7baa-7ab9-4008-be66-c56ae5ef9e05 |
| subnetpool_id | |
| tenant_id | 726d7fd5b36941cbbb0eb9cd749e61ef |
+-------------------+----------------------------------------------------------+
# neutron net-show private
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | fbde4dc3-134d-4d64-9beb-9248babfe376 |
| mtu | 0 |
| name | private |
| port_security_enabled | True |
| provider:network_type | vxlan |
| provider:physical_network | |
| provider:segmentation_id | 157 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | 4ae8bf09-aa25-46df-91c4-a8ea824a0656 |
| | 0287779e-2374-461e-a713-49c19840f9c4 |
| tenant_id | f2963c8b382e4a99a9e7aca861e1db5e |
+---------------------------+--------------------------------------+
# neutron subnet-show private-v4
+-------------------+------------------------------------------------+
| Field | Value |
+-------------------+------------------------------------------------+
| allocation_pools | {"start": "172.16.1.2", "end": "172.16.1.254"} |
| cidr | 172.16.1.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 172.16.1.1 |
| host_routes | |
| id | 0287779e-2374-461e-a713-49c19840f9c4 |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | private-v4 |
| network_id | fbde4dc3-134d-4d64-9beb-9248babfe376 |
| subnetpool_id | |
| tenant_id | f2963c8b382e4a99a9e7aca861e1db5e |
+-------------------+------------------------------------------------+
# neutron subnet-show private-v6
+-------------------+--------------------------------------------------------------+
| Field | Value |
+-------------------+--------------------------------------------------------------+
| allocation_pools | {"start": "fd00:100:52:1::101", "end": "fd00:100:52:1::200"} |
| cidr | fd00:100:52:1::/64 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | fd00:100:52:1::1 |
| host_routes | |
| id | 4ae8bf09-aa25-46df-91c4-a8ea824a0656 |
| ip_version | 6 |
| ipv6_address_mode | slaac |
| ipv6_ra_mode | slaac |
| name | private-v6 |
| network_id | fbde4dc3-134d-4d64-9beb-9248babfe376 |
| subnetpool_id | |
| tenant_id | f2963c8b382e4a99a9e7aca861e1db5e |
+-------------------+--------------------------------------------------------------+
neutron router-show router
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up | True |
| distributed | False |
| external_gateway_info | {"network_id": "9a6f7baa-7ab9-4008-be66-c56ae5ef9e05", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "b74cecce-4278-4912-94af-09537d68d112", "ip_address": "10.100.52.103"}, {"subnet_id": "085bdfc9-60f8-4b40-b581-2fae9ca3fc0e", "ip_address": "fd00:100:52::101"}]} |
| ha | False |
| id | a69f970e-69eb-467a-b2ef-23f2b5e02ef3 |
| name | router |
| routes | |
| status | ACTIVE |
| tenant_id | f2963c8b382e4a99a9e7aca861e1db5e |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
# neutron floatingip-list
+--------------------------------------+------------------+---------------------+--------------------------------------+
| id | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+--------------------------------------+
| 38cbc6b4-6f12-41fa-9630-761598e7830d | 172.16.1.3 | 10.100.52.104 | 04f667be-3af6-4fed-a1fc-ccc58da7dc6f |
+--------------------------------------+------------------+---------------------+--------------------------------------+
# nova list
+--------------------------------------+-------------------+--------+------------+-------------+----------------------------------------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------------+--------+------------+-------------+----------------------------------------------------------------------+
| 600819fa-c333-4e97-8d49-d88c040c39b9 | private-instance1 | ACTIVE | - | Running | private=fd00:100:52:1:f816:3eff:fe46:acd3, 172.16.1.3, 10.100.52.104 |
+--------------------------------------+-------------------+--------+------------+-------------+----------------------------------------------------------------------+
Controller node network components:
bridge name bridge id STP enabled interfaces
brq9a6f7baa-7a 8000.001a64f1e575 no eth1
tap7bbe8e38-cc
brqfbde4dc3-13 8000.16f369550ae9 no tap432b832c-7d
tap49b27408-04
tapb7e0ef22-32
vxlan-157
12: brq9a6f7baa-7a: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default
link/ether 00:1a:64:f1:e5:75 brd ff:ff:ff:ff:ff:ff
17: tap7bbe8e38-cc: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast master brq9a6f7baa-7a state UP mode DEFAULT group default qlen 1000
link/ether 8e:3c:10:4a:fc:c7 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq master brq9a6f7baa-7a state UP mode DEFAULT group default qlen 1000
link/ether 00:1a:64:f1:e5:75 brd ff:ff:ff:ff:ff:ff
8: brqfbde4dc3-13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 8950 qdisc noqueue state UP mode DEFAULT group default
link/ether 16:f3:69:55:0a:e9 brd ff:ff:ff:ff:ff:ff
6: tap432b832c-7d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 8950 qdisc pfifo_fast master brqfbde4dc3-13 state UP mode DEFAULT group default qlen 1000
link/ether 72:46:02:43:5a:63 brd ff:ff:ff:ff:ff:ff
15: tap49b27408-04: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 8950 qdisc pfifo_fast master brqfbde4dc3-13 state UP mode DEFAULT group default qlen 1000
link/ether 92:94:53:9a:61:a6 brd ff:ff:ff:ff:ff:ff
16: tapb7e0ef22-32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 8950 qdisc pfifo_fast master brqfbde4dc3-13 state UP mode DEFAULT group default qlen 1000
link/ether 5a:27:2b:01:a3:9a brd ff:ff:ff:ff:ff:ff
7: vxlan-157: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 8950 qdisc noqueue master brqfbde4dc3-13 state UNKNOWN mode DEFAULT group default
link/ether 16:f3:69:55:0a:e9 brd ff:ff:ff:ff:ff:ff
Router namespace interfaces:
2: qr-49b27408-04: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:e5:43:1c brd ff:ff:ff:ff:ff:ff
3: qr-b7e0ef22-32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:16:01:92 brd ff:ff:ff:ff:ff:ff
4: qg-7bbe8e38-cc: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:2b:c1:fd brd ff:ff:ff:ff:ff:ff
DHCP namespace interfaces:
2: ns-432b832c-7d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:af:05:72 brd ff:ff:ff:ff:ff:ff
Compute node network components:
bridge name bridge id STP enabled interfaces
brqfbde4dc3-13 8000.ae0585f7c191 no tap04f667be-3a
vxlan-157
9: tap04f667be-3a: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 8950 qdisc pfifo_fast master brqfbde4dc3-13 state UNKNOWN mode DEFAULT group default qlen 500
link/ether fe:16:3e:46:ac:d3 brd ff:ff:ff:ff:ff:ff
10: vxlan-157: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 8950 qdisc noqueue master brqfbde4dc3-13 state UNKNOWN mode DEFAULT group default
link/ether ae:05:85:f7:c1:91 brd ff:ff:ff:ff:ff:ff
VM network interface:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether fa:16:3e:46:ac:d3 brd ff:ff:ff:ff:ff:ff
inet 172.16.1.3/24 brd 172.16.1.255 scope global eth0
inet6 fd00:100:52:1:f816:3eff:fe46:acd3/64 scope global dynamic
valid_lft 86399sec preferred_lft 14399sec
inet6 fe80::f816:3eff:fe46:acd3/64 scope link
valid_lft forever preferred_lft forever
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment