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 = 10. And then in switch 2, I have
added a rule saying, if the packet has vlan id = 10, then forward the
packet only to h3

s1:
if from h1: add_vlan(10), send(port_toward_s2)

s2:
if vlan_id=10: send(port_toward_h3)

I am missing something here and I cant send packets from h1 to h3..

Do I need to configure hosts to have VLANs configured on their interfaces ?
(I only want to use VLAN tags for the packet during its trip through the
network)

Best Regards,

Windhya Rankothge,
Universitat Pompeu Fabra,
Barcelona.
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to