I'm a bit confused by what you see with Indigo. Here's what I said:
- HP switch: Packet_ins seen at the controller will not have the VLAN
tag, but outgoing packets in the dataplane will have the appropriate
tag.
- Indigo switch: Packet_ins seen at the controller will have the VLAN
tag if tagged packets are sent to it. For outgoing packets to have the
tag, the controller has to add the tag (as an additional action).

On Wed, Jan 5, 2011 at 2:37 PM, Aaron Rosen <aro...@clemson.edu> wrote:
> Hi Srini,
>
> In my topology I have an HP switch which I have configured a port to tag
> several vlans. If I plug my laptop into this port I'm able to see the
> correct vlan values. Now If I plug a switch into this port that is running
> the indigo firmware when the controller gets the packets I'm seeing 0xffff
> as the value instead of the correct value I see with my laptop using
> wireshark.
>
> (According to your response this should be fine? )
>
> Aaron
>
> On Wed, Jan 5, 2011 at 5:31 PM, Srini Seetharaman <seeth...@stanford.edu>
> wrote:
>>
>> Hi Aaron
>> Only pure-OF switches (like Pronto switch with Indigo firmware) will
>> send the VLAN tag to the controller. With others, the tag is usually
>> added / stripped by the VLAN configs on the switch. So, you'll not get
>> to see them.
>>
>> Srini.
>>
>> On Wed, Jan 5, 2011 at 2:23 PM, Aaron Rosen <aro...@clemson.edu> wrote:
>> > Hello,
>> >
>> > I'm trying to extract the dl_vlan value from packets on a trunk port.
>> > When I
>> > plug my computer into the trunk port and run tcpdump I see the correct
>> > 802.1Q values. Though when I attach this port to my openflow switch
>> > (running
>> > the pronto firmware) I can't get the correct values at my controller.
>> >
>> > In my controller I'm running these few lines of code to print out what's
>> > in
>> > the packet.
>> >
>> > test = extract_flow(packet)
>> > print test.keys()
>> > print test.values()
>> >
>> > From this: I'm getting the following output
>> >
>> > ['dl_type', 'nw_dst', 'dl_vlan_pcp', 'dl_src', 'nw_proto', 'nw_tos',
>> > 'tp_dst', 'tp_src', 'dl_dst', 'dl_vlan', 'nw_src']
>> > [2048, 4294967295, 0, array('B', [0, 27, 177, 2, 100, 167]), 17, 0, 698,
>> > 698, array('B', [255, 255, 255, 255, 255, 255]), 65535, 2189371010]
>> >
>> > I'm getting 65535 for every packet and that is not correct from what I'm
>> > seeing with tcpdump and not what I'm expecting.
>> >
>> > Can someone point out where I'm going wrong.
>> >
>> > Thanks,
>> >
>> > Aaron
>> >
>> > --
>> > Aaron O. Rosen
>> > Masters Student - Network Communication
>> > 306B Fluor Daniel
>> > 843.425.9777
>> >
>> >
>> > _______________________________________________
>> > nox-dev mailing list
>> > nox-dev@noxrepo.org
>> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>> >
>> >
>
>
>
> --
> Aaron O. Rosen
> Masters Student - Network Communication
> 306B Fluor Daniel
> 843.425.9777
>
>

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to