MERAprojects / ops-build

Other
0 stars 0 forks source link

L3 VLANs on trunk ports don't ping each other #28

Open xivamar opened 7 years ago

xivamar commented 7 years ago

Problem Description:

L3 VLANs on trunk ports don't ping each other.

OpenSwitch version:

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

Test Topology:

topol

Steps to reproduce the problem (see attached files):

  1. Configure DUTs and PCs as in attached file.

  2. Send ping from PC2 to PC5 and vice-versa. Ping should be successful.

  3. Try to send ping from DUT3 to vlan interface on DUT4. - NOK: ping is absent.

    switch# ping 172.16.1.4
    PING 172.16.1.4 (172.16.1.4) 100(128) bytes of data.
    From 172.16.1.3 icmp_seq=1 Destination Host Unreachable
    From 172.16.1.3 icmp_seq=2 Destination Host Unreachable
    From 172.16.1.3 icmp_seq=3 Destination Host Unreachable
    
    --- 172.16.1.4 ping statistics ---
    5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4022ms
  4. Check ip forwarding, routing and arp table:

    root@switch:~# cat /proc/sys/net/ipv4/ip_forward 1 root@switch:~#

    switch# show ip route 
    
    Displaying ipv4 routes selected for forwarding
    
    '[x/y]' denotes [distance/metric]
    
    172.16.1.0/24,  1 unicast next-hops 
        via  vlan2,  [0/0],  connected
    
    switch# 
    switch# show arp 
    ARP IPv4 Entries:
    ------------------
    IPv4 Address     MAC                Port             State     
    172.16.1.4                          vlan2            failed     
    switch# 

    DUTs don't reply on arp request: wireshark

config_vlans.txt