[ovs-discuss] ARP responses not being forwarded.

Matthew Brown mnbbrown at gmail.com
Mon May 6 22:13:05 UTC 2013


Hi all,

I'm trying to ping a VM (vnet0) attached to ovs-switch (br-int). My physical network is also attached to the ova-switch via eth1. I'm using POX as my controller running at 0.0.0.0:6633. 
It seems that the VM is receiving the ARP broadcast and replying but that reply doesn't get anywhere once in the ova-switch.
Below is some outputs that will hopefully provide somebody with a little insight into why it's not working.

$ ovs-vsctl show

Bridge br-int
        Controller "tcp:0.0.0.0:6633"
        Port "vnet0"
            Interface "vnet0"
        Port "eth1"
            Interface "eth1"
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "1.9.0"


$ ovs-ofctl show br-int

OFPT_FEATURES_REPLY (xid=0x1): dpid:0000080027147fae
n_tables:255, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(eth1): addr:08:00:27:14:7f:ae
     config:     0
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 1000 Mbps now, 1000 Mbps max
 12(vnet0): addr:fe:54:00:cb:21:c4
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 100 Mbps max
 LOCAL(br-int): addr:08:00:27:14:7f:ae
     config:     0
     state:      0
     speed: 100 Mbps now, 100 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0

$ ovs-ofctl snoop br-int (my own commentary include)

ARP Broadcast from e0:f8:47:25:e3:ec - Tell me where 192.168.1.110 is
OFPT_PACKET_IN (xid=0x0): total_len=60 in_port=eth1 (via no_match) data_len=60 buffer=0x00001949
arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=e0:f8:47:25:e3:ec,dl_dst=ff:ff:ff:ff:ff:ff,arp_spa=192.168.1.100,arp_tpa=192.168.1.110,arp_op=1,arp_sha=e0:f8:47:25:e3:ec,arp_tha=00:00:00:00:00:00,tp_src=0,tp_dst=0

OVS-Switch flood ports with ARP Broadcast
OFPT_PACKET_OUT (xid=0x184f): in_port=eth1 actions=FLOOD buffer=0x00001949

VM has IP 192.168.1.110 so replies to ARP Broadcast 
OFPT_PACKET_IN (xid=0x0): total_len=42 in_port=12 (via no_match) data_len=42 buffer=0x0000194a
arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=fe:54:00:cb:21:c4,dl_dst=e0:f8:47:25:e3:ec,arp_spa=192.168.1.110,arp_tpa=192.168.1.100,arp_op=2,arp_sha=fe:54:00:cb:21:c4,arp_tha=e0:f8:47:25:e3:ec

2013-05-06T20:55:22Z|00061|ofp_util|INFO|normalization changed ofp_match, details:
2013-05-06T20:55:22Z|00062|ofp_util|INFO| pre: arp,in_port=12,vlan_tci=0x0000,dl_src=fe:54:00:cb:21:c4,dl_dst=e0:f8:47:25:e3:ec,arp_spa=192.168.1.110,arp_tpa=192.168.1.100,arp_op=2,nw_tos=0,tp_src=0,tp_dst=0
2013-05-06T20:55:22Z|00063|ofp_util|INFO|post: arp,in_port=12,vlan_tci=0x0000,dl_src=fe:54:00:cb:21:c4,dl_dst=e0:f8:47:25:e3:ec,arp_spa=192.168.1.110,arp_tpa=192.168.1.100,arp_op=2

Add OpenFlow rule to send all ARP traffic from vm to eth1.
OFPT_FLOW_MOD (xid=0x1850): ADD priority=65535,arp,in_port=12,vlan_tci=0x0000,dl_src=fe:54:00:cb:21:c4,dl_dst=e0:f8:47:25:e3:ec,arp_spa=192.168.1.110,arp_tpa=192.168.1.100,arp_op=2 idle:10 hard:30 buf:0x194a actions=output:1

There seems to be no OFPT_PACKET_OUT for 0x0000194a (192.168.1.110's reply to ARP Broadcast)????

$ vs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):


Surely there should be some form of flow information?


Thoughts?

Cheers,
Matthew



-- 
Matthew Brown
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130507/98a03814/attachment.html>


More information about the discuss mailing list