Skip to content

Instantly share code, notes, and snippets.

@jcannava
Created November 5, 2013 19:38
Show Gist options
  • Save jcannava/7324859 to your computer and use it in GitHub Desktop.
Save jcannava/7324859 to your computer and use it in GitHub Desktop.
root@mini-ha-neutron-1-1414-api:~/.chef# ip a s lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 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
inet 192.168.0.241/32 scope global lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
root@mini-ha-neutron-1-1414-api:~/.chef# ip netns exec vips ip a
7: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
8: vip-ns: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 06:42:fb:40:fd:e3 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.241/32 scope global vip-ns
inet6 fe80::442:fbff:fe40:fde3/64 scope link
valid_lft forever preferred_lft forever
root@mini-ha-neutron-1-1414-api:~/.chef# ip netns exec vips ip r
default dev vip-ns scope link
@jcannava
Copy link
Author

jcannava commented Nov 5, 2013

Outside
root@mini-ha-neutron-1-1414-api:~/.chef# ip n
10.127.53.105 dev eth0 lladdr fa:16:3e:62:1f:a9 REACHABLE
10.127.52.106 dev eth0 lladdr 04:7d:7b:06:b4:aa REACHABLE
10.127.53.0 dev eth0 lladdr fa:16:3e:c8:54:ea REACHABLE
10.127.52.28 dev eth0 lladdr e8:39:35:ea:83:4e STALE
10.127.52.1 dev eth0 lladdr c8:4c:75:f6:18:7f STALE
192.168.0.3 dev eth1 lladdr fa:16:3e:55:d6:4c REACHABLE
192.168.0.4 dev eth1 lladdr fa:16:3e:c0:2a:e4 REACHABLE
10.127.53.102 dev eth0 lladdr fa:16:3e:65:ff:04 STALE
192.168.0.242 dev vip-br lladdr 06:42:fb:40:fd:e3 STALE

Inside
root@mini-ha-neutron-1-1414-api:/.chef# ip netns exec vips ip n
root@mini-ha-neutron-1-1414-api:
/.chef#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment