[ovs-discuss] open flow rule for ARP packet drop in a problem..
박수명
smpahk at etri.re.kr
Thu Feb 27 07:48:00 UTC 2014
Hi. All
I wanted to send the all arp packet from a virtual machine to the pox_controller(using proto.arp_responder) and added the below rule with highest priority into the ovs switch.
cookie=0x0, duration=1974.877s, table=0, n_packets=30, n_bytes=4635, idle_age=1898, priority=100,in_port=1 actions=output:2
cookie=0x0, duration=1974.873s, table=0, n_packets=69, n_bytes=4886, idle_age=0, priority=100,in_port=2 actions=output:1
cookie=0x0, duration=1994.233s, table=0, n_packets=2, n_bytes=84, idle_age=1906, priority=28672,arp actions=CONTROLLER:65535
But, the first 4 arp packet(which is for the gratuitous arp response packet) is captured by a wireshark as the below.
No. Time Source Destination Protocol Length Info
13 16:35:09.247164000 RealtekU_3b:5c:29 Broadcast ARP 46 Who has 10.10.172.1? Tell 0.0.0.0
Frame 13: 46 bytes on wire (368 bits), 46 bytes captured (368 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Feb 27, 2014 16:35:09.247164000 KST
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1393486509.247164000 seconds
[Time delta from previous captured frame: 0.006000000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 159.064303000 seconds]
Frame Number: 13
Frame Length: 46 bytes (368 bits)
Capture Length: 46 bytes (368 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:vlan:arp]
[Coloring Rule Name: ARP]
[Coloring Rule String: arp]
Ethernet II, Src: RealtekU_3b:5c:29 (52:54:00:3b:5c:29), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Destination: Broadcast (ff:ff:ff:ff:ff:ff)
Address: Broadcast (ff:ff:ff:ff:ff:ff)
.... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
.... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
Source: RealtekU_3b:5c:29 (52:54:00:3b:5c:29)
Address: RealtekU_3b:5c:29 (52:54:00:3b:5c:29)
.... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: 802.1Q Virtual LAN (0x8100)
802.1Q Virtual LAN, PRI: 0, CFI: 0, ID: 400
000. .... .... .... = Priority: Best Effort (default) (0)
...0 .... .... .... = CFI: Canonical (0)
.... 0001 1001 0000 = ID: 400
Type: ARP (0x0806)
Address Resolution Protocol (request)
Hardware type: Ethernet (1)
Protocol type: IP (0x0800)
Hardware size: 6
Protocol size: 4
Opcode: request (1)
Sender MAC address: RealtekU_3b:5c:29 (52:54:00:3b:5c:29)
Sender IP address: 0.0.0.0 (0.0.0.0)
Target MAC address: Broadcast (ff:ff:ff:ff:ff:ff)
Target IP address: 10.10.172.1 (10.10.172.1)
But, a general arp packet (except the first 4 packets) is obviously sent to the controller.
I want to send the the first 4 arp packets to the controller. How do i do ?
Thankyou very much.
Soomyung Pahk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140227/dc06ded3/attachment-0002.html>
More information about the discuss
mailing list