MERAprojects / ops-build

Other
0 stars 0 forks source link

L3 lag isn't contained in "show ip interface" #26

Open xivamar opened 7 years ago

xivamar commented 7 years ago

Problem Description:

show ip interface and ifconfig don't contain information about L3 lag

OpenSwitch version:

OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-meraswitch/devel/master-20170126080249-dev)

Test Topology:

screenshot

Steps to reproduce the problem:

  1. Configure DUTs as in attached file.
  2. Check information about interface on DUT1:

    switch# show ip interface 
    
    switch# 
    switch# exit
    root@switch:~# ip netns exec swns ifconfig
    bridge-simLink encap:Ethernet  HWaddr 52:B9:FF:02:E0:5B
             UP BROADCAST MULTICAST  MTU:1500  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:0  TX bytes:0
    
    bridge_normalLink encap:Ethernet  HWaddr BE:9F:3F:76:B1:4E
             UP BROADCAST RUNNING PROMISC  MTU:1500  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:500
             RX bytes:0  TX bytes:2306
    
    eth1      Link encap:Ethernet  HWaddr 70:72:CF:6B:DE:1B
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:395 errors:0 dropped:0 overruns:0 frame:0
             TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:38532  TX bytes:17058
    
    eth2      Link encap:Ethernet  HWaddr 70:72:CF:6B:DE:1B
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:213 errors:0 dropped:0 overruns:0 frame:0
             TX packets:129 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:24012  TX bytes:14036
    
    lo        Link encap:Local Loopback
             inet addr:127.0.0.1  Mask:255.0.0.0
             UP LOOPBACK RUNNING  MTU:65536  Metric:1
             RX packets:5 errors:0 dropped:0 overruns:0 frame:0
             TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:780  TX bytes:780
    
    root@switch:~# 
    root@switch:~# vtysh 
    switch#
    switch# show ip route 
    
    Displaying ipv4 routes selected for forwarding
    
    '[x/y]' denotes [distance/metric]
    
    10.0.0.0/24,  1 unicast next-hops 
    via  lag12,  [0/0],  connected
    
    switch# 

LAG_config.txt