Advertisement
gregmark

OpenStack or Bust, Part 10: cmpt node after nova boot

Mar 19th, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.63 KB | None | 0 0
  1. --------------------------
  2. 192.168.241.110 kvm-sn-10i
  3. --------------------------
  4. $ ntpdate-debian 192.168.241.100
  5. 19 Mar 19:05:53 ntpdate[41511]: adjust time server 192.168.241.100 offset -0.000169 sec
  6.  
  7. $ sysctl net.ipv4.ip_forward
  8. net.ipv4.ip_forward = 1
  9.  
  10. $ ip addr show | egrep "^([0-9]| *link| *inet ")
  11. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  12.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  13.     inet 127.0.0.1/8 scope host lo
  14. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  15.     link/ether bc:30:5b:ef:ed:d0 brd ff:ff:ff:ff:ff:ff
  16.     inet 192.168.241.110/24 brd 192.168.241.255 scope global eth0
  17. 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  18.     link/ether bc:30:5b:ef:ed:d1 brd ff:ff:ff:ff:ff:ff
  19. 4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  20.     link/ether bc:30:5b:ef:ed:d2 brd ff:ff:ff:ff:ff:ff
  21. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  22.     link/ether bc:30:5b:ef:ed:d3 brd ff:ff:ff:ff:ff:ff
  23. 7: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  24.     link/ether da:4d:47:2f:98:42 brd ff:ff:ff:ff:ff:ff
  25. 8: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  26.     link/ether bc:30:5b:ef:ed:d1 brd ff:ff:ff:ff:ff:ff
  27.     inet 192.168.239.110/24 brd 192.168.239.255 scope global br-eth1
  28. 15: phy-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  29.     link/ether aa:d8:03:2c:46:7d brd ff:ff:ff:ff:ff:ff
  30. 16: int-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  31.     link/ether 4a:03:d7:b2:b9:6d brd ff:ff:ff:ff:ff:ff
  32. 17: qbr69fce85b-2f: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
  33.     link/ether 3e:f3:74:5e:2c:38 brd ff:ff:ff:ff:ff:ff
  34. 18: qvo69fce85b-2f: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  35.     link/ether 1a:4d:de:f2:e0:79 brd ff:ff:ff:ff:ff:ff
  36. 19: qvb69fce85b-2f: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr69fce85b-2f state UP qlen 1000
  37.     link/ether 3e:f3:74:5e:2c:38 brd ff:ff:ff:ff:ff:ff
  38. 20: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr69fce85b-2f state UNKNOWN qlen 500
  39.     link/ether fe:16:3e:93:58:92 brd ff:ff:ff:ff:ff:ff
  40.  
  41. $ netstat -rn
  42. Kernel IP routing table
  43. Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  44. 0.0.0.0         192.168.241.1   0.0.0.0         UG        0 0          0 eth0
  45. 192.168.239.0   0.0.0.0         255.255.255.0   U         0 0          0 br-eth1
  46. 192.168.241.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
  47.  
  48. $ ip netns show
  49.  
  50. $ ls -R /var/run/netns; ls -R /etc/netns
  51.  
  52. $ brctl show
  53. bridge name bridge id       STP enabled interfaces
  54. br-eth1     0000.bc305befedd1   no      eth1
  55.                             phy-br-eth1
  56. br-int      0000.da4d472f9842   no      int-br-eth1
  57.                             qvo69fce85b-2f
  58. qbr69fce85b-2f      8000.3ef3745e2c38   no      qvb69fce85b-2f
  59.                             vnet0
  60.  
  61. $ ovs-vsctl show
  62. 05d6f268-a221-469a-9921-218905ca3277
  63.     Bridge br-int
  64.         Port "qvo69fce85b-2f"
  65.             tag: 1
  66.             Interface "qvo69fce85b-2f"
  67.         Port br-int
  68.             Interface br-int
  69.                 type: internal
  70.         Port "int-br-eth1"
  71.             Interface "int-br-eth1"
  72.     Bridge "br-eth1"
  73.         Port "br-eth1"
  74.             Interface "br-eth1"
  75.                 type: internal
  76.         Port "phy-br-eth1"
  77.             Interface "phy-br-eth1"
  78.         Port "eth1"
  79.             Interface "eth1"
  80.     ovs_version: "1.4.3"
  81.  
  82. $ ping 10.0.164.1
  83. UP
  84.  
  85. $ ping 192.168.241.1
  86. UP
  87.  
  88. $ ping 192.168.239.1
  89. UP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement