Hi everyone!

I'm using Open vSwtich in a academic and scientific research context and 
started by doing the tutorials listed in 
https://docs.openvswitch.org/en/latest/tutorials/.
When trying to replicate the conntrack tutorial I've hitted a few roadblocks. 
I've started by using an Ubuntu 22 VM with OVS, Faucet, Python and Scapy 
installed.
The IP of my VM is on the 192.168.112.X network and I followed every step on 
the tutorial to setup the namespaces and the interfaces required. The first 
thing I noticed was, to run the sendp command on scapy I had to run the 
following commands to have the network up (not addressed in the tutorial):

sudo ip netns exec left sudo ip link set veth_l1 up
sudo ip netns exec right sudo ip link set veth_r1 up

After this, when I tried to run:

sendp(Ether()/IP(src="192.168.0.2", dst="10.0.0.2")/TCP(sport=1024, dport=2048, 
flags=0x02, seq=100), iface="veth_l1")

and I got the following warning:

WARNING: No route found (no default route?)

I've tried to set a default route inside the namespace using sudo ip netns exec 
<namespace> bash but I that didn't solve my problem. Could anyone help me with 
this situation, knowing how to do conntrack is a fundamental part of my project.

Best Regards,
André Clérigo.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to