Search Mailing List Archives
[mininet-discuss] Real switch with Mininet
gee.developer at gmail.com
Wed Apr 30 11:45:11 PDT 2014
You need a spare physical NIC on your PC. Connect that NIC to your MX.
Then in Mninet, attach that interface into S1.
Now part of this answer depends on if you are running Mininet in a VM or
not. If it's in a VM, then you VM needs another NIC added. Bridge the VM
NIC to the PC NIC. Then bind the VM NIC into s1.
(MX80)<--->PC NIC<-->VM NIC<-->s1
Basically, switch s1 needs a dedicated NIC on your physical PC to connect
to external switches.
On Wed, Apr 30, 2014 at 9:05 AM, Josep Batallé <jbatalle3 at gmail.com> wrote:
> I know how connect real machines to Mininet with hosts located in the same
> LAN. But how can I do this with switches?
> The topology should look like this:
> (MX80) <---> (MX80) <---> (s1 (of Mininet)) <---(s2 (of Mininet))
> 2014-04-24 10:01 GMT+02:00 Philip Wette <wette at mail.upb.de>:
> It is possible to use physical NICs in mininet. This way you can connect
>> your machine running mininet to your Juniper switches.
>> Just have a look in the examples directory to find out how.
>> Am 24.04.14 09:57, schrieb Josep Batallé:
>> I have a question regarding to real switch. I have two physical switches
>> (Juniper MX80) and I want to create a network slightly larger. In order
>> to do this I think in Mininet. The idea is connect a physical switch
>> with a switch of Mininet.
>> I know that it's possible to create GRE tunnel in order to connect two
>> Mininets, but I don't know if using something similar it is possible to
>> connect a real switch.
>> Thank you in advance!
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mininet-discuss