Skip to content

Instantly share code, notes, and snippets.

View ionosphere80's full-sized avatar

Matt Kassawara ionosphere80

View GitHub Profile
@ionosphere80
ionosphere80 / gist:b44358b43af13de74f1f
Created January 18, 2016 02:24
MTU experiments - capture of typical ping
Neutron public network router interface (gateway):
20:08:05.126329 7e:27:12:8e:ab:89 > fa:16:3e:1b:0d:d3, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 51810, offset 0, flags [DF], proto ICMP (1), length 84)
10.4.31.1 > 10.4.31.102: ICMP echo request, id 2948, seq 1, length 64
20:08:05.127928 fa:16:3e:1b:0d:d3 > 7e:27:12:8e:ab:89, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 63, id 9661, offset 0, flags [none], proto ICMP (1), length 84)
10.4.31.102 > 10.4.31.1: ICMP echo reply, id 2948, seq 1, length 64
Neutron private network router interface, namespace end of veth pair:
20:08:05.126365 fa:16:3e:1d:d1:a3 > fa:16:3e:bd:bf:3f, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 63, id 51810, offset 0, flags [DF], proto ICMP (1), length 84)
@ionosphere80
ionosphere80 / gist:b78bedfc5e8300b8113e
Last active January 18, 2016 02:15
MTU experiments - environment configuration
OpenStack bits:
# . admin-openrc.sh
# neutron net-create public --shared --router:external --provider:physical_network public --provider:network_type flat
Created a new network:
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
@ionosphere80
ionosphere80 / openstack-dashboard.conf
Created October 10, 2014 13:02
Apache configuration for openstack-dashboard on Ubuntu
WSGIScriptAlias /horizon /usr/share/openstack-dashboard/openstack_dashboard/wsgi
/django.wsgi
WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10
WSGIProcessGroup horizon
Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
Order allow,deny
Allow from all
</Directory>
@ionosphere80
ionosphere80 / openstack-dashboard.conf
Created October 10, 2014 12:55
Apache configuration for openstack-dashboard on Fedora
WSGIDaemonProcess dashboard
WSGIProcessGroup dashboard
WSGISocketPrefix run/wsgi
WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/ws
gi/django.wsgi
Alias /static /usr/share/openstack-dashboard/static
<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
Options All
@ionosphere80
ionosphere80 / httpd.conf
Created October 10, 2014 12:52
Apache configuration on Fedora 20
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@ionosphere80
ionosphere80 / gist:50b9d179bf281bebef95
Last active August 29, 2015 14:06
OpenStack Juno configuration changes
Global:
Replace "auth_*" keys with "identity_uri" key under [keystone_authtoken] section.
Nova:
Move "glance_*" keys from [DEFAULT] to [glance] section without "glance_" prefix.
Move "neutron_*" keys from [DEFAULT] to [neutron] section without "neutron_" prefix (includes "service_neutron_metadata_proxy").
For more information, see http://docs.openstack.org/trunk/config-reference/content/
/etc/network/interfaces
# Label msk-rpcaio1-mgmt
auto eth2
iface eth2 inet manual
up ip link set $IFACE up
down ip link set $IFACE down
auto br-mgmt
iface br-mgmt inet static