hi,all

 when I was trying to use vlan sub-interface as a individual L3 interface
(i.e. configure an IP address in a VRF) by:
 namespace side(where veth_vpp1 in namespace and af_packet0 in vpp is
pairwised):
 ip link add link veth_vpp1 name veth_vpp1.100 type vlan id 100
 ip addr add 130.140.25.2/24 dev veth_vpp1.100
 ip link set veth_vpp1.100 up
 vpp side:
 set interface state af_packet0 up
 create sub-interface af_packet0 100
 set interface state af_packet0.100 up
 set interface ip addr af_packet0.100 130.140.25.1/24

 ,and then it seems that traffic gets blocking, the only way to make it
work is to mannually configure mac-ip fib by:
 namespace :
arp -s 130.140.25.1 02:fe:0d:15:17:e8
 vpp:
set ip arp  af_packet0.100 130.140.25.2 f6:cf:5b:fc:2a:89 static
I want to know how to make this  work if I don't configure static mac-ip
fib(i.e arp) Beacuse sometimes fetching static mac is not that easy?

Thanks


-- 
Linc @bjtu
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to