Hello, all

I have got an issue with MPLS-o-GRE encapsulation, need some help.
VPP hangs on GRE interface going up.
Both stable/1804 and master, Ubuntu Xenial, gcc 5.4.0

Steps to reproduce:
1. Create and configure veth pair
    ip link add name veth0 type veth peer name vpp0
    ip link set dev vpp0 up
    ip link set dev veth0 up
    ip addr add 172.16.0.1/24 dev veth0

2. Run VPP and configure a tunnel
DBGvpp# sh ver
vpp v18.10-rc0~248-g4553c95 built by kahzeemin on kahzeemin-nix at Mon Aug 27 12:57:07 MSK 2018

DBGvpp# create host name vpp0
host-vpp0

DBGvpp# set int state host-vpp0 up
DBGvpp# set int ip addr host-vpp0 172.16.0.2/24
DBGvpp# create gre tun src 172.16.0.2 dst 172.16.0.1
gre0

DBGvpp# ip route add 10.0.0.1/32 via gre0 out-labels 100
DBGvpp# sh ip fib 10.0.0.1
ipv4-VRF:0, fib_index:0, flow hash:[src dst sport dport proto ] locks:[src:plugin-hi:2, src:adjacency:1, src:default-route:1, ]
10.0.0.1/32 fib:0 index:12 locks:2
  src:CLI refs:1 entry-flags:attached, src-flags:added,contributing,active,
    path-list:[14] locks:2 flags:shared, uPRF-list:12 len:1 itfs:[2, ]
      path:[14] pl-index:14 ip4 weight=1 pref=0 attached-nexthop: cfg-flags:attached,
        10.0.0.1 gre0 (p2p)
      [@0]: ipv4 via 0.0.0.0 gre0: mtu:9000 4500000000000000fe2f64abac100002ac10000100000800
             stacked-on:
               [@0]: dpo-drop ip4
    Extensions:
     path:14  labels:[[100 pipe ttl:0 exp:0]]
 forwarding:   unicast-ip4-chain
  [@0]: dpo-load-balance: [proto:ip4 index:14 buckets:1 uRPF:12 to:[0:0]]
    [0] [@0]: dpo-drop ip4

DBGvpp# set int state gre0 up
/*VPP becomes unresponive*/


Thank you in advance,
Fedor

create host name vpp0
set int state host-vpp0 up
set int ip addr host-vpp0 172.16.0.2/24
create gre tun src 172.16.0.2 dst 172.16.0.1
ip route add 10.0.0.1/32 via gre0 out-labels 100
set int state gre0 up

Attachment: gre.sh
Description: application/shellscript

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10294): https://lists.fd.io/g/vpp-dev/message/10294
Mute This Topic: https://lists.fd.io/mt/24972486/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to