foo-lab sample topology

topology the following scripts will create the VMs and the necessary OVS plumbing to generate the topology associated with the above diagram. these should be run in the following order: start-vms.sh start-topology.sh follow the gist links to get the raw source. NB the start-topo.sh script will create a number of interfaces. the most notable of which is the mgmgt0 interface which it will assign an IP address to. you’ll want to make sure that it’s not going to conflict with anything you need to access....

May 20, 2019 · 1 min · sulrich

pyenv reminder

you can have multiple pythons enabled at the same time so that those applications which you run which make assumptions about python2 being available work. (i’m looking at you gsutil and gcloud) elmo(~)% pyenv global 3.7.1 2.7.15 elmo(~)% pyenv versions system * 2.7.15 (set by /Users/sulrich/.pyenv/version) 2.7.15/envs/foo 2.7.5 * 3.7.1 (set by /Users/sulrich/.pyenv/version) 3.7.2 foo elmo(~)% which python2 /Users/sulrich/.pyenv/shims/python2 elmo(~)% which python3 /Users/sulrich/.pyenv/shims/python3 elmo(~)% which python /Users/sulrich/.pyenv/shims/python elmo(~)% python --version Python 3....

April 15, 2019 · 1 min · sulrich

disable IPv6 on a specific interface (linux)

because i have to google these sysctl settings every … time.. /etc/sysctl.conf # disable IPv6 on the wlan0 interface net.ipv6.conf.wlan0.disable_ipv6=1 # insufficient on its lonesome net.ipv6.conf.wlan0.autoconf=0 # don't forget this .. it’s important to disable autoconf because it will still pick up the RAs for learning the default and this may not deterministically let you do what you want. replace wlan0 with the interface you want to starve....

March 29, 2019 · 1 min · sulrich