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

Philip Wette wette at mail.upb.de
Tue Apr 1 00:59:22 PDT 2014


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 list
> mininet-discuss at lists.stanford.edu
> https://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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20140401/a884136d/attachment.html>


More information about the mininet-discuss mailing list