Re: [vpp-dev] L2/L3 cross-connect allows pinging an interface located in a deleted netns

2022-01-13 Thread Artem Glazychev
Hi Stanislav, Perhaps you are right (but from my point of view it is strange). And I can suggest the following configuration. We don't use vpp at all: # ip netns add vpp1 # ip netns add vpp2 # ip link add veth1 type veth peer name veth2 # ip link set veth1 netns vpp1 # ip link set veth2 netns v

[vpp-dev] L2/L3 cross-connect allows pinging an interface located in a deleted netns

2022-01-12 Thread Artem Glazychev
Hello all, I ran into a problem when working with l2/l3 cross connect. For example, I create two *tap* interfaces in different network namespaces and L2 cross-connect inside a vpp instance. Set up addresses - ping works. But, if i delete the target namespace from the host - ping continues to wor

Re: [vpp-dev] IPv6 unnumbered interface

2021-09-17 Thread Artem Glazychev
Hi Neale, Thanks a lot, it really helped! But I used: enable ip6 interface memif0/0 in addition to: set int unnumbered memif0/0 use loop0 Otherwise, ping from vpp2 to vpp1 doesn't work. So, I moved on. *Next problem* If I use unnumbered IPv6 interface with a custom vrf table - ping doesn't

Re: [vpp-dev] IPv6 unnumbered interface

2021-09-16 Thread Artem Glazychev
Yes, I try to ping from vpp1 to vpp2 via memif. by the way, IPv4 works fine. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20145): https://lists.fd.io/g/vpp-dev/message/20145 Mute This Topic: https://lists.fd.io/mt/85649127/21656 Group Owner: vpp-

[vpp-dev] IPv6 unnumbered interface

2021-09-16 Thread Artem Glazychev
Hello, I have a problem - unnumbered IPv6 interface is not working. *Configuration* For example, let's create memifs, one of them will be IPv6 unnumbered. *vpp1:* > > > > create interface memif id 0 master > set int ip address memif0/0 fc00::1/120 > set int state memif0/0 up > > *vpp2:*

Re: [vpp-dev] Adding new route via ipv6 link-local

2021-08-23 Thread Artem Glazychev
Thank you, guys! It seems to me that we additionally need this patch: https://gerrit.fd.io/r/c/vpp/+/33568 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20011): https://lists.fd.io/g/vpp-dev/message/20011 Mute This Topic: https://lists.fd.io/mt/8

[vpp-dev] Adding new route via ipv6 link-local

2021-08-20 Thread Artem Glazychev
Hello, Found a crash: if we add the route via fe80:: *after* the interface upping - vpp crashes. For example: DBGvpp# create tap tap0 DBGvpp# set int state tap0 up DBGvpp# ip route add fa::1/120 via fe80::1 tap0 make: *** [Makefile:537: run] Aborted If we swap *set ... up* and *ip route ..

[vpp-dev] memif: failed: no source address for egress interface

2021-08-03 Thread Artem Glazychev
Hello, Found a problem with some types of interfaces. For example, memif. When I'm creating memif interfaces and run ping I see: DBGvpp# ping 10.10.2.1 Failed: no source address for egress interface ... But it is worth mentioning that I am setting /32 mask for IP address Managed to fix IP mode

Re: [vpp-dev] Custom VxLAN port

2020-11-26 Thread Artem Glazychev
Ole, I don't fully understand, If I want to support configurable UDP port per tunnel, I need to extend "vxlan_tunnel_t" or "vxlan_gpe_tunnel_t" or "vxlan_gbp_tunnel_t" or all of them. So this is what I meant in point 2. Why 2.5? :) Or can I only use the "vxlan_gbp_tunnel_t" for this purpose? Th

[vpp-dev] Custom VxLAN port

2020-11-25 Thread Artem Glazychev
Hi everyone, I want to discuss the enhancement of VxLAN. As we know VxLAN supports only 4789 udp-port (IANA standard). What if we expand on the current implementation and let the user choose the port he wants to? I have some thoughts on this. *1.* Add an additional nodes in existing feature if

[vpp-dev] Stop data processing in the node until event

2020-06-09 Thread Artem Glazychev
Good morning. I'm writing a plugin with tunnel encryption. I have a question. For example, in the middle of the data encrypting we decided that we need to update client-server keys. How to stop (start wait) data flow before i-th packet, for request-receive keys from server and continue encrypt

[vpp-dev] Handshake procedure

2020-05-05 Thread Artem Glazychev
Hello. I'm want to make plugin for Wireguard tunnel. Wireguard has a handshake procedure. It occurs every few minutes. I have a question: is it possible to make this procedure in a vpp plugin? Can i see similar examples/ideas somewhere? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent