Hello, I have two host installed ovs 2.0.1.Every host has two network card eth1 and eth2. Two vms on host1.
I can ping from vm1 to vm2.Now I want to change the packet flow like the read line in picture. I had set br0 stp_enable=true. on host1: ovs-ofctl show br0 | grep addr 1(tap1): addr:fa:45:84:29:aa:77 2(tap2): addr:0a:65:8e:0b:aa:4d 3(eth1): addr:00:81:81:81:81:01 4(eth2): addr:00:81:81:81:81:02 LOCAL(br0): addr:00:81:81:81:81:01 I add a flow: output packet from port 1 to port 3. ovs-ofctl dump-flows br0 NXST_FLOW reply (xid=0x4): cookie=0xa, duration=241.229s, table=0, n_packets=243, n_bytes=12422, idle_age=2, priority=10,in_port=1 actions=output:3 cookie=0x0, duration=10511.65s, table=0, n_packets=1287759, n_bytes=77663334, idle_age=30, priority=0 actions=NORMAL But vm1 can't ping vm2 any more. I use tcpdump to catch the packet eth1 on host1: 00:11:22:33:44:01 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 10.0.1.2 tell 10.0.1.1, length 28 eth1 on host2: 00:11:22:33:44:01 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 10.0.1.2 tell 10.0.1.1, length 46 but I can't catch the arp packet on eth2(host2). on host2 ovs-ofctl show br0 | grep addr 1(eth1): addr:00:91:91:91:91:01 2(eth2): addr:00:91:91:91:91:02 LOCAL(br0): addr:00:91:91:91:91:01 I tried to add a flow: ovs-ofctl dump-flows br0 NXST_FLOW reply (xid=0x4): cookie=0xa, duration=996.847s, table=0, n_packets=1499, n_bytes=90148, idle_age=1, in_port=1 actions=output:2 cookie=0x0, duration=4882.24s, table=0, n_packets=90432, n_bytes=5929592, idle_age=1, priority=0 actions=NORMAL But it takes no effert. I don't know how to achieve my goal,could somebody help me?Thanks.
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
