... import pox.lib.packet as packet ....
if *packet.dst*.is_multicast: *ip_packet = packet.payload* * src_ip = ip_packet.srcip* if src.ip == "XXXXXX": ..... ..... packet.dst ---> works fine no errors, I think it gives me the MAC address ip_packet.srcip --> error: arp packet has no attributes called srcip. I am expecting it to give me the src ip. I just want to extract the IP address from this packet. I am trying to get it by extracting individual header from each layer as mentioned in POX tutorial. I am trying to look inside the pox/pox/lib/packet to figure out how this works. But not much found yet. Any help would be appreciated :) -Kavit
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss