hi, I want to test 464XLAT feature of VPP19.04 . I tried to build and configure the NAT and MAP plugin using this guide: https://wiki.fd.io/view/VPP/NAT#464XLAT
But some CLI command changed , So I using this Configuration : client (Linux): sudo ifconfig enp0s8 up sudo ifconfig enp0s8 192.168.5.1/24 sudo ip route add 192.168.50.0/24 via 192.168.5.2 server (Linux): sudo ifconfig enp0s10 up sudo ifconfig enp0s10 192.168.50.1/24 sudo ip route add 192.168.40.0/24 via 192.168.50.2 CE (VPP): set int state GigabitEthernet0/8/0 up set int state GigabitEthernet0/9/0 up set int ip address GigabitEthernet0/8/0 192.168.5.2/24 set int ip address GigabitEthernet0/9/0 9::1/64 ip route add ::/0 via 9::2 map interface GigabitEthernet0/9/0 map-t map interface GigabitEthernet0/a/0 map-t map add domain ip4-pfx 0.0.0.0/0 ip6-pfx 1:2:3::/96 ip6-src 2001:db8::/96 ea-bits-len 0 psid-offset 0 psid-len 0 mtu 9206 PE (VPP): set int state GigabitEthernet0/9/0 up set int state GigabitEthernet0/a/0 up set int ip address GigabitEthernet0/9/0 9::2/64 set int ip address GigabitEthernet0/a/0 192.168.50.2/24 ip route add ::/0 via 9::1 set int nat64 in GigabitEthernet0/9/0 set int nat64 out GigabitEthernet0/a/0 nat64 add prefix 1:2:3::/96 nat64 add pool address 192.168.40.1 - 192.168.40.254 I have some problems on VPP19.04 but VPP18.10 works *first* : coredump on " show map domain " commands vpp# show map domain index 1 show map domain: MAP domain does not exists 1 vpp# show map domain index 0 Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. 0x00007fffb1b271ac in format_map_domain (s=0x0, args=<optimized out>) at /root/vpp/src/plugins/map/map.c:940 940 s = format (s, (gdb) bt #0 0x00007fffb1b271ac in format_map_domain (s=0x0, args=<optimized out>) at /root/vpp/src/plugins/map/map.c:940 #1 0x00007ffff67abea9 in do_percent (va=0x7fffb6b0cab8, fmt=0x7fffb1b2f5fd "%U", _s=<synthetic pointer>) at /root/vpp/src/vppinfra/format.c:373 #2 va_format (s=s@entry=0x0, fmt=<optimized out>, va=va@entry=0x7fffb6b0cab8) at /root/vpp/src/vppinfra/format.c:404 #3 0x00007ffff6c7aaf9 in vlib_cli_output (vm=vm@entry=0x7ffff6ef66c0 <vlib_global_main>, fmt=fmt@entry=0x7fffb1b2f5fd "%U") at /root/vpp/src/vlib/cli.c:732 #4 0x00007fffb1b261f8 in show_map_domain_command_fn (vm=0x7ffff6ef66c0 <vlib_global_main>, input=<optimized out>, cmd=<optimized out>) at /root/vpp/src/plugins/map/map.c:1065 #5 0x00007ffff6c7adee in vlib_cli_dispatch_sub_commands (vm=vm@entry=0x7ffff6ef66c0 <vlib_global_main>, cm=cm@entry=0x7ffff6ef68c0 <vlib_global_main+512>, input=input@entry=0x7fffb6b0cf60, parent_command_index=<optimized out>) at /root/vpp/src/vlib/cli.c:607 #6 0x00007ffff6c7b274 in vlib_cli_dispatch_sub_commands (vm=vm@entry=0x7ffff6ef66c0 <vlib_global_main>, cm=cm@entry=0x7ffff6ef68c0 <vlib_global_main+512>, input=input@entry=0x7fffb6b0cf60, parent_command_index=<optimized out>) at /root/vpp/src/vlib/cli.c:568 #7 0x00007ffff6c7b274 in vlib_cli_dispatch_sub_commands (vm=vm@entry=0x7ffff6ef66c0 <vlib_global_main>, cm=cm@entry=0x7ffff6ef68c0 <vlib_global_main+512>, input=input@entry=0x7fffb6b0cf60, parent_command_index=parent_command_index@entry=0) at /root/vpp/src/vlib/cli.c:568 #8 0x00007ffff6c7b790 in vlib_cli_input (vm=0x7ffff6ef66c0 <vlib_global_main>, input=input@entry=0x7fffb6b0cf60, function=function@entry=0x7ffff6cd60d0 <unix_vlib_cli_output>, function_arg=function_arg@entry=0) at /root/vpp/src/vlib/cli.c:707 #9 0x00007ffff6cd8035 in unix_cli_process_input (cm=0x7ffff6ef7000 <unix_cli_main>, cli_file_index=0) at /root/vpp/src/vlib/unix/cli.c:2420 #10 unix_cli_process (vm=0x7ffff6ef66c0 <vlib_global_main>, rt=0x7fffb6afc000, f=<optimized out>) at /root/vpp/src/vlib/unix/cli.c:2536 #11 0x00007ffff6c93c06 in vlib_process_bootstrap (_a=<optimized out>) at /root/vpp/src/vlib/main.c:1469 #12 0x00007ffff67b517c in clib_calljmp () from /usr/lib/x86_64-linux-gnu/libvppinfra.so.19.04 #13 0x00007fffb5dffae0 in ?? () #14 0x00007ffff6c998a1 in vlib_process_startup (f=0x0, p=0x7fffb6afc000, vm=0x7ffff6ef66c0 <vlib_global_main>) at /root/vpp/src/vlib/main.c:1491 #15 dispatch_process (vm=0x7ffff6ef66c0 <vlib_global_main>, p=0x7fffb6afc000, last_time_stamp=0, f=0x0) at /root/vpp/src/vlib/main.c:1536 #16 0x00000482ffffffff in ?? () #17 0xffffffff00000482 in ?? () *Second* : MAP-T plugin can not translate IP6 to IP4 at " /vpp/src/plugins/map/ ip6_map_t.c " file , line 537 and " ip6_map_t " function p0 = vlib_get_buffer (vm, pi0); ip60 = vlib_buffer_get_current (p0); d0 = ip6_map_get_domain (&ip60->dst_address, &vnet_buffer (p0)->map_t.map_domain_index, &error0); if (!d0) { /* Guess it wasn't for us */ vnet_feature_next (&next0, p0); goto exit; } ip6_map_get_domain function can not find map and return 0, so next_node will be ip6-lookup and icmp6 packet route to PE again !!! It is a bug , or I used bad configuration ??
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12728): https://lists.fd.io/g/vpp-dev/message/12728 Mute This Topic: https://lists.fd.io/mt/30963059/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-