Advertisement
gregmark

OpenStack or Bust, Part 6: net node, before/after install

Mar 10th, 2013
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.02 KB | None | 0 0
  1. ################################################
  2. ### KNET BEFORE QUANTUM & OVS PKGS INSTALLED ###
  3. ################################################
  4. ----------------------------
  5. 10.0.165.92 knet-gen-01i
  6. ----------------------------
  7. $ ntpdate-debian io-ntp-03
  8.  8 Mar 16:17:23 ntpdate[13201]: adjust time server 192.168.241.100 offset 0.000333 sec
  9.  
  10. $ sysctl net.ipv4.ip_forward
  11. net.ipv4.ip_forward = 1
  12.  
  13. $ ip addr show | egrep "^([0-9]| *link| *inet ")
  14. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  15.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  16.     inet 127.0.0.1/8 scope host lo
  17. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  18.     link/ether 3c:d9:2b:fa:aa:94 brd ff:ff:ff:ff:ff:ff
  19.     inet 192.168.241.99/24 brd 192.168.241.255 scope global eth0
  20. 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  21.     link/ether 3c:d9:2b:fa:aa:96 brd ff:ff:ff:ff:ff:ff
  22.     inet 192.168.239.99/24 brd 192.168.239.255 scope global eth1
  23. 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  24.     link/ether 3c:d9:2b:fa:aa:98 brd ff:ff:ff:ff:ff:ff
  25.     inet 10.0.165.92/22 brd 10.0.167.255 scope global eth2
  26. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  27.     link/ether 3c:d9:2b:fa:aa:9a brd ff:ff:ff:ff:ff:ff
  28.  
  29. $ netstat -rn
  30. Kernel IP routing table
  31. Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  32. 0.0.0.0         192.168.241.1   0.0.0.0         UG        0 0          0 eth0
  33. 10.0.164.0     0.0.0.0         255.255.252.0   U         0 0          0 eth2
  34. 192.168.239.0   0.0.0.0         255.255.255.0   U         0 0          0 eth1
  35. 192.168.241.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
  36.  
  37. $ brctl show
  38. bridge name     bridge id          STP enabled     interfaces
  39.  
  40. $ ping 10.0.164.1
  41. UP
  42.  
  43. $ ping 192.168.241.1
  44. UP
  45.  
  46. $ ping 192.168.239.1
  47. UP
  48.  
  49. #################################################################
  50. ### KNET AFTER QUANTUM/OVS INSTALLED, AFTER OVS BRIDGES ADDED ###
  51. #################################################################
  52.  
  53. [root@io-build-03 tink]# ./tink-stack.sh -bs 10.0.165.92
  54. 0 pingable IPs discovered
  55.  
  56. [root@io-build-03 tink]# ./tink-stack.sh -bd 192.168.241.99
  57.  
  58. -----------------------------
  59. 192.168.241.99 knet-cs-sn-01i
  60. -----------------------------
  61. $ ntpdate-debian io-ntp-03
  62.  8 Mar 16:52:48 ntpdate[20697]: adjust time server 192.168.241.100 offset -0.000408 sec
  63.  
  64. $ sysctl net.ipv4.ip_forward
  65. net.ipv4.ip_forward = 1
  66.  
  67. $ ip addr show | egrep "^([0-9]| *link| *inet ")
  68. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  69.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  70.     inet 127.0.0.1/8 scope host lo
  71. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  72.     link/ether 3c:d9:2b:fa:aa:94 brd ff:ff:ff:ff:ff:ff
  73.     inet 192.168.241.99/24 brd 192.168.241.255 scope global eth0
  74. 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  75.     link/ether 3c:d9:2b:fa:aa:96 brd ff:ff:ff:ff:ff:ff
  76.     inet 192.168.239.99/24 brd 192.168.239.255 scope global eth1
  77. 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  78.     link/ether 3c:d9:2b:fa:aa:98 brd ff:ff:ff:ff:ff:ff
  79.     inet 10.0.165.92/22 brd 10.0.167.255 scope global eth2
  80. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  81.     link/ether 3c:d9:2b:fa:aa:9a brd ff:ff:ff:ff:ff:ff
  82. 6: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  83.     link/ether 6a:e8:e4:ac:82:42 brd ff:ff:ff:ff:ff:ff
  84. 7: br-eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  85.     link/ether 3c:d9:2b:fa:aa:96 brd ff:ff:ff:ff:ff:ff
  86. 8: br-ex: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  87.     link/ether 3c:d9:2b:fa:aa:98 brd ff:ff:ff:ff:ff:ff
  88.  
  89. $ netstat -rn
  90. Kernel IP routing table
  91. Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  92. 0.0.0.0         192.168.241.1   0.0.0.0         UG        0 0          0 eth0
  93. 10.0.164.0     0.0.0.0         255.255.252.0   U         0 0          0 eth2
  94. 192.168.239.0   0.0.0.0         255.255.255.0   U         0 0          0 eth1
  95. 192.168.241.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
  96.  
  97. $ brctl show
  98. bridge name     bridge id          STP enabled     interfaces
  99. br-eth1          0000.3cd92bfaaa96     no          eth1
  100. br-ex          0000.3cd92bfaaa98     no          eth2
  101. br-int          0000.6ae8e4ac8242     no
  102.  
  103. $ ovs-vsctl show
  104. d9e95f94-241a-4b0b-967e-934c9a8bc645
  105.     Bridge "br-eth1"
  106.         Port "eth1"
  107.             Interface "eth1"
  108.         Port "br-eth1"
  109.             Interface "br-eth1"
  110.                 type: internal
  111.     Bridge br-int
  112.         Port br-int
  113.             Interface br-int
  114.                 type: internal
  115.     Bridge br-ex
  116.         Port "eth2"
  117.             Interface "eth2"
  118.         Port br-ex
  119.             Interface br-ex
  120.                 type: internal
  121.     ovs_version: "1.4.3"
  122.  
  123. $ ping 10.0.164.1
  124. DOWN
  125.  
  126. $ ping 192.168.241.1
  127. UP
  128.  
  129. $ ping 192.168.239.1
  130. DOWN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement