Advertisement
gregmark

OpenStack or Bust, Part 9: net node after router-create

Mar 15th, 2013
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.13 KB | None | 0 0
  1. ##################################
  2. ### Net Node OpSys Information ###
  3. ### After {router,port}-create ###
  4. ##################################
  5.  
  6. --------------------------
  7. 192.168.241.99 knet-sn-01i (network node)
  8. --------------------------
  9.  
  10. # [CHANGES]
  11. # * new namespace: qrouter-26c5bd92-e06c-4e54-9cd1-188d5e81a882
  12. # * new br-int port/interface: qr-507cd4ad-89
  13.  
  14. $ ntpdate-debian 192.168.241.100
  15. 17 Mar 18:01:33 ntpdate[3945]: adjust time server 192.168.241.100 offset -0.000248 sec
  16.  
  17. $ sysctl net.ipv4.ip_forward
  18. net.ipv4.ip_forward = 1
  19.  
  20. $ ip addr show | egrep "^([0-9]| *link| *inet ")
  21. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  22.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  23.     inet 127.0.0.1/8 scope host lo
  24. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  25.     link/ether 3c:d9:2b:fa:aa:94 brd ff:ff:ff:ff:ff:ff
  26.     inet 192.168.241.99/24 brd 192.168.241.255 scope global eth0
  27. 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  28.     link/ether 3c:d9:2b:fa:aa:96 brd ff:ff:ff:ff:ff:ff
  29. 4: eth2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  30.     link/ether 3c:d9:2b:fa:aa:98 brd ff:ff:ff:ff:ff:ff
  31. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  32.     link/ether 3c:d9:2b:fa:aa:9a brd ff:ff:ff:ff:ff:ff
  33. 6: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  34.     link/ether 3c:d9:2b:fa:aa:96 brd ff:ff:ff:ff:ff:ff
  35.     inet 192.168.239.99/24 brd 192.168.239.255 scope global br-eth1
  36. 7: br-int: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  37.     link/ether 6a:e8:e4:ac:82:42 brd ff:ff:ff:ff:ff:ff
  38. 8: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  39.     link/ether 3c:d9:2b:fa:aa:98 brd ff:ff:ff:ff:ff:ff
  40.     inet 10.0.165.92/22 brd 10.0.167.255 scope global br-ex
  41. 17: phy-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  42.     link/ether 6a:92:dc:2a:d2:df brd ff:ff:ff:ff:ff:ff
  43. 18: int-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  44.     link/ether ae:8e:5c:9f:e9:66 brd ff:ff:ff:ff:ff:ff
  45.  
  46. $ netstat -rn
  47. Kernel IP routing table
  48. Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  49. 0.0.0.0         192.168.241.1   0.0.0.0         UG        0 0          0 eth0
  50. 10.0.164.0      0.0.0.0         255.255.252.0   U         0 0          0 br-ex
  51. 192.168.239.0   0.0.0.0         255.255.255.0   U         0 0          0 br-eth1
  52. 192.168.241.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
  53.  
  54. $ ip netns show
  55. qrouter-26c5bd92-e06c-4e54-9cd1-188d5e81a882   # <---- NEW
  56. qdhcp-81c0747d-0b40-4106-8421-ecea5c423bb9
  57.  
  58. $ ls -R /var/run/netns; ls -R /etc/netns
  59. /var/run/netns:
  60. qdhcp-81c0747d-0b40-4106-8421-ecea5c423bb9
  61. qrouter-26c5bd92-e06c-4e54-9cd1-188d5e81a882   # <---- NEW
  62.  
  63. $ brctl show
  64. bridge name bridge id       STP enabled interfaces
  65. br-eth1     0000.3cd92bfaaa96   no      eth1
  66.                             phy-br-eth1
  67. br-ex       0000.3cd92bfaaa98   no      eth2
  68. br-int      0000.6ae8e4ac8242   no      int-br-eth1
  69.                             qr-507cd4ad-89    #<---- NEW, id from port_proj_one
  70.                             tap0ba13868-04
  71.  
  72. $ ovs-vsctl show
  73. d9e95f94-241a-4b0b-967e-934c9a8bc645
  74.     Bridge "br-eth1"
  75.         Port "phy-br-eth1"
  76.             Interface "phy-br-eth1"
  77.         Port "eth1"
  78.             Interface "eth1"
  79.         Port "br-eth1"
  80.             Interface "br-eth1"
  81.                 type: internal
  82.     Bridge br-int
  83.         Port "int-br-eth1"
  84.             Interface "int-br-eth1"
  85.         Port br-int
  86.             Interface br-int
  87.                 type: internal
  88.         Port "qr-507cd4ad-89"        #<----- NEW
  89.             tag: 1
  90.             Interface "qr-507cd4ad-89"
  91.                 type: internal
  92.         Port "tap0ba13868-04"
  93.             tag: 1
  94.             Interface "tap0ba13868-04"
  95.                 type: internal
  96.     Bridge br-ex
  97.         Port "eth2"
  98.             Interface "eth2"
  99.         Port br-ex
  100.             Interface br-ex
  101.                 type: internal
  102.     ovs_version: "1.4.3"
  103.  
  104. $ ping 10.0.164.1
  105. UP
  106.  
  107. $ ping 192.168.241.1
  108. UP
  109.  
  110. $ ping 192.168.239.1
  111. UP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement