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] Connect real host to mininet network?

Ygor Amaral ygor.amaral at gmail.com
Sun Jan 27 13:20:48 PST 2013


Sorry for the delay in responding. I'm using the eth1. I just tested with
eth0.

How do I configure the interfaces? The message doesn't say anything to me.

On port eth1, I want to connect a wi-fi router "openflow-enabled".


2012/12/17 Bob Lantz <rlantz at cs.stanford.edu>

> Looks fine to me, except ....  why are you using eth0 instead of eth1? Are
> you sure you want to disconnect your (real) VM from the VirtualBox bridge
> in deference to your Mininet hosts?
>
> Pay attention to the message about reconfiguring h1-eth0 and h2-eth0 if
> necessary. Right now they are 10.1 and 10.2, which might not be what you
> want since they're now attached to the same network that eth0 is attached
> to.
>
>
> On Dec 10, 2012, at 10:14 PM, Ygor Amaral <ygor.amaral at gmail.com> wrote:
>
> I run the hwintf.py (using eth0 and mininet running Ubuntu natively). The
> output is below:
>
> ------------------------------------
> ~/mininet/examples$ sudo ./hwintf.py
> *** Checking eth0
> *** Creating network
> *** Creating network
> *** Adding controller
> *** Adding hosts:
> h1 h2
> *** Adding switches:
> s1
> *** Adding links:
> (h1, s1) (h2, s1)
> *** Configuring hosts
> h1 h2
> *** Adding hardware interface eth0 to switch s1
> *** Note: you may need to reconfigure the interfaces for the Mininet hosts:
>  [<Host h1: h1-eth0:10.0.0.1 pid=3298> , <Host h2: h2-eth0:10.0.0.2
> pid=3299> ]
> *** Starting controller
> *** Starting 1 switches
> s1
> *** Starting CLI:
> mininet>
> ------------------------------------
>
> h1 and h2 are virtual nodes. I'd like to look my real node (eth0).
>
> I don't know what to do.
>
> Regards,
> Ygor
>
>
> 2012/12/6 Bob Lantz <rlantz at cs.stanford.edu>
>
>> Hmm, I just tested hwintf.py and it works fine on my system. If you are
>> running Ubuntu natively, you can easily connect a real hardware NIC (on
>> your PC running Ubuntu) to a Mininet switch using the approach in
>> hwintf.py, and you can run an Ethernet cable from that hardware interface
>> to your hardware switch.
>>
>> The result is precisely the topology that Duc described:
>>
>> Mininet vhost <=> Mininet OVS switch <=> real NIC <=> ethernet cable <=>
>> real host
>>
>> What exactly have you done so far, and what are the specific error
>> messages that you are getting?
>>
>>
>> On Dec 6, 2012, at 5:53 AM, Ygor Amaral <ygor.amaral at gmail.com> wrote:
>>
>> I'm trying to connect mininet to a physical network using the example
>> provided in hwintf.py.
>> Mininet is running on VirtualBox.
>> But I can't do include the real devices in your mininet topology.
>>
>> Can someone help me?
>>
>> Thanks.
>>
>> 2012/8/20 Bob Lantz <rlantz at cs.stanford.edu>
>>
>>> Have you looked at mininet/examples/hwintf.py?
>>>
>>> On Aug 18, 2012, at 12:33 AM, Duc Thien <ducthien1490 at gmail.com> wrote:
>>>
>>> > Hi everyone!
>>> > I created a network topology on PC using mininet.
>>> > There are some NICcards on that PC.
>>> > Now i want to connect a realhost to network on mininet through NICcard.
>>> >
>>> > (mininet network) <=> realhost
>>> >
>>> > Would you give me some advices?
>>> > Thanks !
>>> >
>>> > --
>>> > Tô Đức Thiện
>>> > Điện tử 5-K53-Đại học Bách Khoa Hà Nội
>>> > ĐT: 01686481787-01649610182
>>> >
>>> > _______________________________________________
>>> > mininet-discuss mailing list
>>> > mininet-discuss at lists.stanford.edu
>>> > https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>>>
>>> _______________________________________________
>>> mininet-discuss mailing list
>>> mininet-discuss at lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>>>
>>
>>
>>
>> 2012/8/20 Bob Lantz <rlantz at cs.stanford.edu>
>>
>>> Have you looked at mininet/examples/hwintf.py?
>>>
>>> On Aug 18, 2012, at 12:33 AM, Duc Thien <ducthien1490 at gmail.com> wrote:
>>>
>>> > Hi everyone!
>>> > I created a network topology on PC using mininet.
>>> > There are some NICcards on that PC.
>>> > Now i want to connect a realhost to network on mininet through NICcard.
>>> >
>>> > (mininet network) <=> realhost
>>> >
>>> > Would you give me some advices?
>>> > Thanks !
>>> >
>>> > --
>>> > Tô Đức Thiện
>>> > Điện tử 5-K53-Đại học Bách Khoa Hà Nội
>>> > ĐT: 01686481787-01649610182
>>> >
>>> > _______________________________________________
>>> > mininet-discuss mailing list
>>> > mininet-discuss at lists.stanford.edu
>>> > https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>>>
>>> _______________________________________________
>>> mininet-discuss mailing list
>>> mininet-discuss at lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20130127/7dfe313a/attachment.html>


More information about the mininet-discuss mailing list