Skip to content

Instantly share code, notes, and snippets.

@kashyapc
Created June 11, 2014 08:04
Show Gist options
  • Save kashyapc/76af65d4040886652cf4 to your computer and use it in GitHub Desktop.
Save kashyapc/76af65d4040886652cf4 to your computer and use it in GitHub Desktop.
ip-info-controller-compute-nodes
[root@node1 network-scripts(keystone_kashyap)]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.169.142.1 0.0.0.0 UG 0 0 0 br-ex
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 ens2
169.254.0.0 0.0.0.0 255.255.0.0 U 1005 0 0 br-ex
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
192.169.142.0 0.0.0.0 255.255.255.0 U 0 0 0 br-ex
[root@node1 network-scripts(keystone_kashyap)]$
[root@node2 ~(keystone_kashyap)]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.169.142.1 0.0.0.0 UG 0 0 0 ens2
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 ens2
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
192.169.142.0 0.0.0.0 255.255.255.0 U 0 0 0 ens2
[root@node2 ~(keystone_kashyap)]$
#Controller
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
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: ens2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1546 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
link/ether 52:54:00:ff:fd:94 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5054:ff:feff:fd94/64 scope link
valid_lft forever preferred_lft forever
3: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
link/ether 2e:f2:ad:44:c6:85 brd ff:ff:ff:ff:ff:ff
4: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/ether fa:69:c5:74:87:48 brd ff:ff:ff:ff:ff:ff
inet6 fe80::6455:91ff:fed4:80cd/64 scope link
valid_lft forever preferred_lft forever
5: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1546 qdisc noqueue state UNKNOWN group default
link/ether b2:f8:e1:b1:04:4c brd ff:ff:ff:ff:ff:ff
inet 192.169.142.97/24 brd 192.169.142.255 scope global br-ex
valid_lft forever preferred_lft forever
inet6 fe80::b0f8:e1ff:feb1:44c/64 scope link
valid_lft forever preferred_lft forever
6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 86:81:59:cd:0b:50 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
100: br-tun: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/ether 16:5c:18:81:54:44 brd ff:ff:ff:ff:ff:ff
inet6 fe80::d4fd:a8ff:fe1a:9270/64 scope link
valid_lft forever preferred_lft forever
# Compute
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
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: ens2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1546 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:00:8c:0c:d9 brd ff:ff:ff:ff:ff:ff
inet 192.169.142.168/24 brd 192.169.142.255 scope global dynamic ens2
valid_lft 3115sec preferred_lft 3115sec
inet6 fe80::5054:ff:fe8c:cd9/64 scope link
valid_lft forever preferred_lft forever
3: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
link/ether fe:67:b8:be:49:47 brd ff:ff:ff:ff:ff:ff
4: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/ether 8e:2d:2a:12:6d:4d brd ff:ff:ff:ff:ff:ff
inet6 fe80::7091:e6ff:fea8:ae11/64 scope link
valid_lft forever preferred_lft forever
6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 52:54:00:17:2d:7c 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
7: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 500
link/ether 52:54:00:17:2d:7c brd ff:ff:ff:ff:ff:ff
9: qbr1b990e89-11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 26:e2:17:b6:1d:37 brd ff:ff:ff:ff:ff:ff
inet6 fe80::b467:15ff:fe60:73fe/64 scope link
valid_lft forever preferred_lft forever
12: qbr19474e82-82: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 92:d2:67:d3:d2:47 brd ff:ff:ff:ff:ff:ff
inet6 fe80::3436:94ff:fe14:2273/64 scope link
valid_lft forever preferred_lft forever
25: tap19474e82-82: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr19474e82-82 state UNKNOWN group default qlen 500
link/ether fe:16:3e:c5:61:b3 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc16:3eff:fec5:61b3/64 scope link
valid_lft forever preferred_lft forever
30: br-tun: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/ether 2e:ad:32:19:c1:4d brd ff:ff:ff:ff:ff:ff
inet6 fe80::98a9:41ff:fede:6a3d/64 scope link
valid_lft forever preferred_lft forever
31: qvo1b990e89-11: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
link/ether 1e:4b:37:6e:96:c0 brd ff:ff:ff:ff:ff:ff
inet6 fe80::1c4b:37ff:fe6e:96c0/64 scope link
valid_lft forever preferred_lft forever
32: qvb1b990e89-11: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr1b990e89-11 state UP group default qlen 1000
link/ether 26:e2:17:b6:1d:37 brd ff:ff:ff:ff:ff:ff
inet6 fe80::24e2:17ff:feb6:1d37/64 scope link
valid_lft forever preferred_lft forever
33: qvo19474e82-82: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
link/ether da:c9:d2:3c:f5:23 brd ff:ff:ff:ff:ff:ff
inet6 fe80::d8c9:d2ff:fe3c:f523/64 scope link
valid_lft forever preferred_lft forever
34: qvb19474e82-82: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr19474e82-82 state UP group default qlen 1000
link/ether 92:d2:67:d3:d2:47 brd ff:ff:ff:ff:ff:ff
inet6 fe80::90d2:67ff:fed3:d247/64 scope link
valid_lft forever preferred_lft forever
37: qbrccf55c97-d3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether b6:62:69:ae:eb:85 brd ff:ff:ff:ff:ff:ff
inet6 fe80::e425:92ff:fe09:9381/64 scope link
valid_lft forever preferred_lft forever
38: qvoccf55c97-d3: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
link/ether de:39:c4:f0:3e:00 brd ff:ff:ff:ff:ff:ff
inet6 fe80::dc39:c4ff:fef0:3e00/64 scope link
valid_lft forever preferred_lft forever
39: qvbccf55c97-d3: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbrccf55c97-d3 state UP group default qlen 1000
link/ether b6:62:69:ae:eb:85 brd ff:ff:ff:ff:ff:ff
inet6 fe80::b462:69ff:feae:eb85/64 scope link
valid_lft forever preferred_lft forever
40: tapccf55c97-d3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbrccf55c97-d3 state UNKNOWN group default qlen 500
link/ether fe:16:3e:f2:a3:44 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc16:3eff:fef2:a344/64 scope link
valid_lft forever preferred_lft forever
42: tap1b990e89-11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr1b990e89-11 state UNKNOWN group default qlen 500
link/ether fe:16:3e:aa:3c:86 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc16:3eff:feaa:3c86/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