Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-18 Thread Ben Pfaff
I sent a series that adds these features: https://patchwork.ozlabs.org/project/openvswitch/list/?series=24270 On Thu, Jan 18, 2018 at 09:34:40AM +1300, Brad Cowie wrote: > We've had a bit of a think about this, variable length probably isn't too > important (static 64b is probably fine),

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-17 Thread Brad Cowie
We've had a bit of a think about this, variable length probably isn't too important (static 64b is probably fine), but yes, being able to set those 64 bytes will be quite useful with say with an extra "payload=0xC0FEFE" argument on ofproto/trace. Brad On 18 January 2018 at 07:17, Ben Pfaff

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-17 Thread Ben Pfaff
OK, sounds good. Do you think you need the ability to inject payloads of a specific length or content? It's easy to, for example, always generate 64 bytes of payload, but it would be a little more challenging to plumb through extra data or metadata. On Mon, Jan 15, 2018 at 01:48:10PM +1300,

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-14 Thread Brad Cowie
Hi Robin, Glad this is working for you now. At step 6, I'm not entirely sure why the packet doesn't end up being caught in tcpdump (it doesn't for me either), but we see from the action from ofproto/trace: Datapath actions:

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-14 Thread Brad Cowie
Hi Ben, We looked a bit closer at this problem, and turns out the packet header size we were getting back from Ryu wasn't what we were expecting. We're now calculating this correctly ourselves (instead of relying on Ryu) which removes the need for disabling the IP header length check in the

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-09 Thread Robin Lee
Thanks, Brad! ARP request broadcast is now seen with faucet 1.6.15 and the modified faucet.yaml. But at a follow step 'Step 6: IP Packet Delivery', /usr/sbin/tcpdump -evvvr sandbox/p4.pcap ip does not show any IP packet even I have re-sent the UDP one. -robin On Sat, Jan 6, 2018 at 7:07 AM,

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-08 Thread Ben Pfaff
[dropping OP, who probably doesn't care] On Sat, Jan 06, 2018 at 12:07:09PM +1300, Brad Cowie wrote: > What happened is that in faucet 1.6.12 we added a bunch of new packet > handling sanity checks to help improve security of faucet's packet > handling. Packets made by ofproto/trace -generate

Re: [ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2018-01-05 Thread Brad Cowie
Hi Robin, I'm part of the faucet team and we reproduced your issue at our end and have produced a fix/workaround. What happened is that in faucet 1.6.12 we added a bunch of new packet handling sanity checks to help improve security of faucet's packet handling. Packets made by ofproto/trace

[ovs-discuss] In 'OVS Faucet Tutorial', router does not work as expected at 'Step 4: Router Broadcasts ARP Request'

2017-12-24 Thread Robin Lee
Hi, I am new to OVS and just doing 'OVS Faucet Tutorial'. But everything is OK until 'Step 4: Router Broadcasts ARP Request', the router does not send ARP broadcast requrest in my environment. After I run: ovs-appctl ofproto/trace br0