Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] Generating data from hosts

Windhya Rankothge windyswsw at gmail.com
Tue Apr 1 04:21:56 PDT 2014


Hi,

Thanks for the reply.. I am creating my topology from a python script.. Can
you please explain me how to implement ARP handling there ?


On Tue, Apr 1, 2014 at 9:59 AM, Philip Wette <wette at mail.upb.de> wrote:

>  Hi,
>
> you should have a look at ARP (Address Resolution Protocol).
>
> If you don't want to implement ARP handling you can call mininet with the
> --arp option to get pre-filled ARP caches on all the hosts.
>
> Best,
>
> Philip
>
>
>
> Am 01.04.14 08:42, schrieb Windhya Rankothge:
>
>  Hi all,
>
>  I have following topology, (h1 : 10.0.0.1 and h2 : 10.0.0.2)
>
>  h1 ----  s1 ---- h2
>
>  In the switch I have two rules saying,
>  if src = 10.0.0.1 and dst = 10.0.0.2 > out port = 2
> if src = 10.0.0.2 and dst = 10.0.0.1 > out port = 1
>
>  I run the following code in h1
>
> #! /usr/bin/python
> from scapy.all import *
>
> ans,unans = sr(IP(dst="10.0.0.2")/ICMP()/"This is an ICMP packet")
> ans.summary()
>
>  It gives me an error saying destination MAC address cannot be found.. Do
> I have to add rules with MAC addresses ?
>
>  Highly appreciate your thoughts on this
>
>
> --
>  Best Regards,
>
> Windhya Rankothge,
>  Universitat Pompeu Fabra,
>  Barcelona.
>
>
> _______________________________________________
> mininet-discuss mailing listmininet-discuss at lists.stanford.eduhttps://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>
>
> --
> Philip Wette, M.Sc.             E-Mail: wette at mail.upb.de
> University of Paderborn         Tel.:   05251 / 60-1716
> Department of Computer Science
> Computer Networks Group         http://wwwcs.upb.de/cs/ag-karl
> Warburger Straße 100            Room:   O3.152
> 33098 Paderborn
>
>
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>


-- 
Best Regards,

Windhya Rankothge,
Universitat Pompeu Fabra,
Barcelona.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20140401/f94ba7f5/attachment-0001.html>


More information about the mininet-discuss mailing list