Hi
I am trying to create a simple environment for ovs based development
(application which feeds filters and receives packets via netlink). I would
like to send traffic via one ovs interface and receive traffic on another,
without different namespaces /dockers complications
For that I have created two internal interfaces in the same namespace (br0
and another br0.1)
user@host:path$ sudo ovs-vsctl show
a4d41a7a-313c-496e-8964-b812117ee0d5
Bridge br0
Port br0.1
Interface br0.1
type: internal
Port br0
Interface br0
type: internal
ovs_version: "3.5.90"
I have added ips for the same subnet for the interfaces:
user@host:path$ ifconfig br0
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.1 netmask 255.255.255.0 broadcast 0.0.0.0
user@host:path$ ifconfig br0.1
br0.1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 255.255.255.0 broadcast 0.0.0.0
There is ping for the addresses
user@host:path$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.024 ms
But *there is NO ping* when I am trying to send it via one of the bridge
interfaces.
user@host:path$ ping -I br0.1 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.1.2 br0.1: 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2047ms
There is probably something basic in OVS configuration which I got wrong.
Is it possible to make it work?
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss