Advertisement
KnowP

ovs-vsctl and ifconfig on network node

Oct 27th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 7.87 KB | None | 0 0
  1. [root@network ~]# ovs-vsctl show
  2. 821c052b-827b-41db-9412-cfa33407d615
  3.     Bridge br-tun
  4.         Port patch-int
  5.             Interface patch-int
  6.                 type: patch
  7.                 options: {peer=patch-tun}
  8.         Port "gre-0a000105"
  9.             Interface "gre-0a000105"
  10.                 type: gre
  11.                 options: {in_key=flow, local_ip="10.0.1.4", out_key=flow, remote_ip="10.0.1.5"}
  12.         Port br-tun
  13.             Interface br-tun
  14.                 type: internal
  15.     Bridge br-ex
  16.         Port "qg-cbb26b8e-d0"
  17.             Interface "qg-cbb26b8e-d0"
  18.                 type: internal
  19.         Port phy-br-ex
  20.             Interface phy-br-ex
  21.         Port "eth3"
  22.             Interface "eth3"
  23.         Port br-ex
  24.             Interface br-ex
  25.                 type: internal
  26.     Bridge br-int
  27.         fail_mode: secure
  28.         Port "tapd96567d3-b1"
  29.             tag: 1
  30.             Interface "tapd96567d3-b1"
  31.         Port "tap7ec39f88-fc"
  32.             tag: 2
  33.             Interface "tap7ec39f88-fc"
  34.                 type: internal
  35.         Port "tap99287c21-81"
  36.             tag: 1
  37.             Interface "tap99287c21-81"
  38.         Port "qg-3b92707c-cd"
  39.             tag: 3
  40.             Interface "qg-3b92707c-cd"
  41.                 type: internal
  42.         Port "tap03fc1933-68"
  43.             tag: 4
  44.             Interface "tap03fc1933-68"
  45.                 type: internal
  46.         Port "qr-9c6194f9-be"
  47.             tag: 4
  48.             Interface "qr-9c6194f9-be"
  49.                 type: internal
  50.         Port "qr-50c5ff41-9c"
  51.             tag: 2
  52.             Interface "qr-50c5ff41-9c"
  53.                 type: internal
  54.         Port br-int
  55.             Interface br-int
  56.                 type: internal
  57.         Port patch-tun
  58.             Interface patch-tun
  59.                 type: patch
  60.                 options: {peer=patch-int}
  61.         Port int-br-ex
  62.             Interface int-br-ex
  63.         Port "tap3116d7ae-0f"
  64.             tag: 1
  65.             Interface "tap3116d7ae-0f"
  66.                 type: internal
  67.         Port "qr-b2c09d44-df"
  68.             tag: 1
  69.             Interface "qr-b2c09d44-df"
  70.                 type: internal
  71.     ovs_version: "2.1.3"
  72.  
  73. port br-ex is connected to port eth3, eth0 is the management network and eth1 is for tunneling
  74. [root@network ~]# ifconfig
  75. br-ex     Link encap:Ethernet  HWaddr F8:0F:41:FC:48:65
  76.           inet addr:192.168.12.2  Bcast:192.168.255.255  Mask:255.255.0.0
  77.           inet6 addr: fe80::249a:63ff:fe41:d5a0/64 Scope:Link
  78.           UP BROADCAST RUNNING  MTU:1500  Metric:1
  79.           RX packets:9595504 errors:0 dropped:0 overruns:0 frame:0
  80.           TX packets:83615 errors:0 dropped:0 overruns:0 carrier:0
  81.           collisions:0 txqueuelen:0
  82.           RX bytes:1002787052 (956.3 MiB)  TX bytes:32878503 (31.3 MiB)
  83.  
  84. br-int    Link encap:Ethernet  HWaddr F6:A1:ED:F0:A6:4B
  85.           inet6 addr: fe80::5480:44ff:fe97:9682/64 Scope:Link
  86.           UP BROADCAST RUNNING  MTU:1500  Metric:1
  87.           RX packets:592281 errors:0 dropped:0 overruns:0 frame:0
  88.           TX packets:15495 errors:0 dropped:0 overruns:0 carrier:0
  89.           collisions:0 txqueuelen:0
  90.           RX bytes:49758618 (47.4 MiB)  TX bytes:5293206 (5.0 MiB)
  91.  
  92. br-tun    Link encap:Ethernet  HWaddr 52:5C:FA:01:71:4F
  93.           inet6 addr: fe80::fc18:cdff:fe7c:fc83/64 Scope:Link
  94.           UP BROADCAST RUNNING  MTU:1500  Metric:1
  95.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  96.           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
  97.           collisions:0 txqueuelen:0
  98.           RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)
  99.  
  100. eth0      Link encap:Ethernet  HWaddr 90:1B:0E:25:57:D5
  101.           inet addr:10.0.0.4  Bcast:10.0.0.255  Mask:255.255.255.0
  102.           inet6 addr: fe80::921b:eff:fe25:57d5/64 Scope:Link
  103.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  104.           RX packets:31696797 errors:0 dropped:0 overruns:0 frame:0
  105.           TX packets:31851022 errors:0 dropped:0 overruns:0 carrier:0
  106.           collisions:0 txqueuelen:1000
  107.           RX bytes:21839613783 (20.3 GiB)  TX bytes:27024858132 (25.1 GiB)
  108.           Memory:df200000-df2fffff
  109.  
  110. eth1      Link encap:Ethernet  HWaddr 90:1B:0E:25:57:D6
  111.           inet addr:10.0.1.4  Bcast:10.0.1.255  Mask:255.255.255.0
  112.           inet6 addr: fe80::921b:eff:fe25:57d6/64 Scope:Link
  113.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  114.           RX packets:1357102 errors:0 dropped:0 overruns:0 frame:0
  115.           TX packets:291789 errors:0 dropped:0 overruns:0 carrier:0
  116.           collisions:0 txqueuelen:1000
  117.           RX bytes:129736764 (123.7 MiB)  TX bytes:56399737 (53.7 MiB)
  118.           Memory:df100000-df1fffff
  119.  
  120. eth2      Link encap:Ethernet  HWaddr F8:0F:41:FC:48:64
  121.           UP BROADCAST MULTICAST  MTU:1500  Metric:1
  122.           RX packets:1 errors:0 dropped:0 overruns:0 frame:0
  123.           TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
  124.           collisions:0 txqueuelen:1000
  125.           RX bytes:60 (60.0 b)  TX bytes:238 (238.0 b)
  126.           Memory:df520000-df53ffff
  127.  
  128. eth3      Link encap:Ethernet  HWaddr F8:0F:41:FC:48:65
  129.           inet6 addr: fe80::fa0f:41ff:fefc:4865/64 Scope:Link
  130.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  131.           RX packets:10411155 errors:0 dropped:0 overruns:0 frame:0
  132.           TX packets:132125 errors:0 dropped:0 overruns:0 carrier:0
  133.           collisions:0 txqueuelen:1000
  134.           RX bytes:1060960816 (1011.8 MiB)  TX bytes:35210805 (33.5 MiB)
  135.           Memory:df500000-df51ffff
  136.  
  137. int-br-ex Link encap:Ethernet  HWaddr FE:96:3B:19:85:3E
  138.           inet6 addr: fe80::fc96:3bff:fe19:853e/64 Scope:Link
  139.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  140.           RX packets:876563 errors:0 dropped:0 overruns:0 frame:0
  141.           TX packets:23341 errors:0 dropped:0 overruns:0 carrier:0
  142.           collisions:0 txqueuelen:1000
  143.           RX bytes:84337300 (80.4 MiB)  TX bytes:1434220 (1.3 MiB)
  144.  
  145. lo        Link encap:Local Loopback
  146.           inet addr:127.0.0.1  Mask:255.0.0.0
  147.           inet6 addr: ::1/128 Scope:Host
  148.           UP LOOPBACK RUNNING  MTU:65536  Metric:1
  149.           RX packets:2189813 errors:0 dropped:0 overruns:0 frame:0
  150.           TX packets:2189813 errors:0 dropped:0 overruns:0 carrier:0
  151.           collisions:0 txqueuelen:0
  152.           RX bytes:114610565 (109.3 MiB)  TX bytes:114610565 (109.3 MiB)
  153.  
  154. ovs-system Link encap:Ethernet  HWaddr 9E:2A:BC:E6:C9:D5
  155.           inet6 addr: fe80::9c2a:bcff:fee6:c9d5/64 Scope:Link
  156.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  157.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  158.           TX packets:15606 errors:0 dropped:0 overruns:0 carrier:0
  159.           collisions:0 txqueuelen:0
  160.           RX bytes:0 (0.0 b)  TX bytes:5335668 (5.0 MiB)
  161.  
  162. phy-br-ex Link encap:Ethernet  HWaddr 62:3C:F4:23:46:7F
  163.           inet6 addr: fe80::603c:f4ff:fe23:467f/64 Scope:Link
  164.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  165.           RX packets:23341 errors:0 dropped:0 overruns:0 frame:0
  166.           TX packets:876563 errors:0 dropped:0 overruns:0 carrier:0
  167.           collisions:0 txqueuelen:1000
  168.           RX bytes:1434220 (1.3 MiB)  TX bytes:84337300 (80.4 MiB)
  169.  
  170. virbr0    Link encap:Ethernet  HWaddr 52:54:00:96:77:28
  171.           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
  172.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  173.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  174.           TX packets:15455 errors:0 dropped:0 overruns:0 carrier:0
  175.           collisions:0 txqueuelen:0
  176.           RX bytes:0 (0.0 b)  TX bytes:5285610 (5.0 MiB)
  177.  
  178. virbr0-nic Link encap:Ethernet  HWaddr 52:54:00:96:77:28
  179.           inet6 addr: fe80::5054:ff:fe96:7728/64 Scope:Link
  180.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  181.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  182.           TX packets:0 errors:0 dropped:500541 overruns:0 carrier:0
  183.           collisions:0 txqueuelen:500
  184.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement