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 vpp2

# ip netns exec vpp1 ip link set veth1 up
# ip netns exec vpp1 ip addr add 10.10.1.1/24 dev veth1

# ip netns exec vpp2 ip link set veth2 up
# ip netns exec vpp2 ip addr add 10.10.1.2/24 dev veth2

# ip netns exec vpp1 ping 10.10.1.2

Ping works.

Delete vpp2 netns:

# ip netns delete vpp2

Ping stops.

I think this is correct behavior.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20706): https://lists.fd.io/g/vpp-dev/message/20706
Mute This Topic: https://lists.fd.io/mt/88392642/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