can you check the gateway configured in contrail-vrouter-agent.conf file
for TSN node.

Tcpdump output shows a different dest mac addr for outer header for
reaponse pkt, pointing out that gateway might be configured wrongly on TSN

Regards
Prabhjot

On Monday, October 9, 2017, Vasyl Saienko <[email protected]> wrote:

> Hello community,
>
> I'm trying to connect BMs to contrail network as described here [0]. I'm
> using the following versions:
>
> OpenContrail - 3.1.1
> QFX 5100 - QFX5100-48S-6Q (JunOS 14.1X53-D45.3)
>
> I have 1 VM (ip: 10.20.30.68 mac: 02:46:d6:34:c0:b0) running on compute
> node (compute node ip: 172.16.175.103). And 1 BM (mac: ac:de:48:6b:e4:e4
> ip: 10.20.30.11) connected to ToR (BM interface: xe-0/0/1, ovsdb
> tunnel/management IP: 192.168.10.1). VTEPs are being created fine on ToR
> switch to both compute nodes and ToR. Tunnel between ToR and TSN (tunnel
> ip: 172.16.175.61) is up,
> When try to ping VM from BM or vice versa failed on ARP resolution. When I
> add static ARP entries ping works. On TSN node I see both arp requests from
> BM and replies to BM, but for unknown reason they never reach BM.
>
> If you have any ideas why it may happen please help.
>
>
> Links:
> [0] https://www.juniper.net/documentation/en_US/contrail2.
> 2/topics/concept/using-tor-ovsdb-contrail.html
>
> [1] Debug ToR:
>
> tcpdump on TSN node:
>
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on bond0.30, link-type EN10MB (Ethernet), capture size 262144 bytes
> 08:57:55.711029 64:64:9b:49:a1:00 > 0c:c4:7a:6c:89:6d, ethertype IPv4 
> (0x0800), length 106: 192.168.10.1.45105 > 172.16.175.61.4789: VXLAN, flags 
> [I] (0x08), vni 8
> ac:de:48:6b:e4:e4 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 56: 
> Request who-has 10.20.30.68 tell 10.20.30.11, length 42
> 08:57:55.711065 0c:c4:7a:6c:89:6d > 64:64:9b:45:19:00, ethertype IPv4 
> (0x0800), length 106: 172.16.175.61.65326 > 192.168.10.1.4789: VXLAN, flags 
> [I] (0x08), vni 8
> 02:46:d6:34:c0:b0 > ac:de:48:6b:e4:e4, ethertype ARP (0x0806), length 56: 
> Reply 10.20.30.68 is-at 02:46:d6:34:c0:b0, length 42
> 08:57:56.735108 64:64:9b:49:a1:00 > 0c:c4:7a:6c:89:6d, ethertype IPv4 
> (0x0800), length 106: 192.168.10.1.45105 > 172.16.175.61.4789: VXLAN, flags 
> [I] (0x08), vni 8
> ac:de:48:6b:e4:e4 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 56: 
> Request who-has 10.20.30.68 tell 10.20.30.11, length 42
> 08:57:56.735165 0c:c4:7a:6c:89:6d > 64:64:9b:45:19:00, ethertype IPv4 
> (0x0800), length 106: 172.16.175.61.65326 > 192.168.10.1.4789: VXLAN, flags 
> [I] (0x08), vni 8
> 02:46:d6:34:c0:b0 > ac:de:48:6b:e4:e4, ethertype ARP (0x0806), length 56: 
> Reply 10.20.30.68 is-at 02:46:d6:34:c0:b0, length 42
>
> tunnel status on ToR:
>
> engineer@cz-eth1605-4-1> show ovsdb virtual-tunnel-end-point
> Encapsulation               Ip Address                           Num of MAC's
> VXLAN over IPv4             172.16.175.61                        1
> VXLAN over IPv4             172.16.175.101                       1
> VXLAN over IPv4             172.16.175.103                       1
> VXLAN over IPv4             192.168.10.1                         2
>
> engineer@cz-eth1605-4-1> show ethernet-switching vxlan-tunnel-end-point remote
> Logical System Name       Id  SVTEP-IP         IFL   L3-Idx
> <default>                 0   192.168.10.1     lo0.0    0
> RVTEP-IP         IFL-Idx   NH-Id
> 172.16.175.61    586       1828
>    VNID          MC-Group-IP
>    8             0.0.0.0          *
> RVTEP-IP         IFL-Idx   NH-Id
> 172.16.175.101   585       1827
>    VNID          MC-Group-IP
>    8             0.0.0.0
> RVTEP-IP         IFL-Idx   NH-Id
> 172.16.175.103   561       1787
>    VNID          MC-Group-IP
>    8             0.0.0.0
>
> engineer@cz-eth1605-4-1> show ovsdb mac local
> Logical Switch Name: Contrail-2b141da7-db89-49a5-9120-fb5289807061
>  Mac                    IP                 Encapsulation      Vtep
>  Address                Address                               Address
>  ff:ff:ff:ff:ff:ff      0.0.0.0            Vxlan over Ipv4    192.168.10.1
>  ac:de:48:6b:e4:e4      0.0.0.0            Vxlan over Ipv4    192.168.10.1
>
> {master:0}
> engineer@cz-eth1605-4-1> show ovsdb statistics interface xe-0/0/1
> Interface Name: xe-0/0/1.40
> Num of rx pkts: 0                     Num of tx pkts: 0
> Num of rx bytes: 0                     Num of tx bytes: 0
>
> engineer@cz-eth1605-4-1> show ethernet-switching table
>
> MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - 
> Persistent static
>           SE - statistics enabled, NM - non configured MAC, R - remote PE 
> MAC, O - ovsdb MAC)
>
>
> Ethernet switching table : 3 entries, 3 learned
> Routing instance : default-switch
>    Vlan                MAC                 MAC         Age    Logical
>    name                address             flags              interface
>    Contrail-2b141da7-db89-49a5-9120-fb5289807061 02:46:d6:34:c0:b0 DO        
> - vtep.32769
>    Contrail-2b141da7-db89-49a5-9120-fb5289807061 02:fd:33:d3:1e:d9 DO        
> - vtep.32770
>    Contrail-2b141da7-db89-49a5-9120-fb5289807061 ac:de:48:6b:e4:e4 D        - 
> xe-0/0/1.40
>
> MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - 
> Persistent static
>           SE - statistics enabled, NM - non configured MAC, R - remote PE 
> MAC, O - ovsdb MAC)
>
> engineer@cz-eth1605-4-1> show ovsdb mac
> Logical Switch Name: Contrail-2b141da7-db89-49a5-9120-fb5289807061
>  Mac                    IP                 Encapsulation      Vtep
>  Address                Address                               Address
>  ff:ff:ff:ff:ff:ff      0.0.0.0            Vxlan over Ipv4    192.168.10.1
>  ac:de:48:6b:e4:e4      0.0.0.0            Vxlan over Ipv4    192.168.10.1
>  02:46:d6:34:c0:b0      0.0.0.0            Vxlan over Ipv4    172.16.175.103
>  02:fd:33:d3:1e:d9      0.0.0.0            Vxlan over Ipv4    172.16.175.101
>  ff:ff:ff:ff:ff:ff      0.0.0.0            Vxlan over Ipv4    172.16.175.61
>
>
> engineer@cz-eth1605-4-1> ping overlay vni 8 tunnel-type vxlan count 1 
> tunnel-dst 172.16.175.61 tunnel-src 192.168.10.1
>
> ping-overlay protocol vxlan
>
>        vni 8
>        tunnel src ip 192.168.10.1
>        tunnel dst ip 172.16.175.61
>        mac address 00:00:00:00:00:00
>        count 1
>        ttl 255
>
>        WARNING: following hash-parameters are missing -
>                hash computation may not succeed
>
>                end-host smac
>                end-host dmac
>                end-host src ip
>                end-host dst ip
>                end-host input-ifd-idx
>                end-host protocol
>                end-host l4-src-port
>                end-host l4-dst-port
>
> Request for seq 1, to 172.16.175.61, at Oct 04 2017 20:09:02.861 MSK
> Response for seq 1, from 172.16.175.61, at Apr 24 1988 00:35:12.-992605440 
> MSD, rtt 22 msecs
>
>  Overlay-segment present at RVTEP 172.16.175.61
>
>
>
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to