Re: [Ryu-devel] Mark packets with vlan ID

2014-04-02 Thread Dong Mo
do you have the wireshark trace and the code you set those rules? -Mo 2014-04-02 1:23 GMT-05:00 Windhya Rankothge : > Hi all, > > I have following topology in mininet. > > h1 --- s1 --- s2 --- h2 >! > h3 > > I want to mark the packets sent by a specific host

Re: [Ryu-devel] Mark packets with vlan ID

2014-04-02 Thread Windhya Rankothge
Hi all, I have following two rules on S1 {"actions": ["OUTPUT:2", "SET_VLAN_VID:1"], "idle_timeout": 0, "cookie": 0, "packet_count": 0, "hard_timeout": 0, "byte_count": 0, "duration_nsec": 74100, "priority": 32768, "duration_sec": 3, "table_id": 0, "match": {"dl_type": 2048, "nw_dst": "10.0.0

[Ryu-devel] Mark packets with vlan ID

2014-04-01 Thread Windhya Rankothge
Hi all, I have following topology in mininet. h1 --- s1 --- s2 --- h2 ! h3 I want to mark the packets sent by a specific host and I am trying to use the vlan field.. I have added a flow in switch 1 saying, if the packets comes from h1, then add the vlan id =