Sorry to make confusion. I don't use Mininet anymore. I connect my switch
to 3 real computers. So I think the hosts are not h2,h3.

Thanks

Weiyang

2012/3/28 Murphy McCauley <[email protected]>

> This question might be more appropriate for one of the OpenFlow mailing
> lists -- Mininet is not part of NOX.
>
> That said, what do you mean by the host's ID?  The IP address?  A
> straightforward way is to open an xterm on a host (xterm h2), and then just
> use ifconfig to see what IP address the adapter has.
>
> -- Murphy
>
> On Mar 28, 2012, at 5:18 PM, Weiyang Mo wrote:
>
> Hi, all:
>
> I set up the following network.
>
>                  NOX
>                    |
> host1--------Prontoswitch------host2
>                     |
>                  host3
>
> Then I ran the controller provided by OpenFlow tutorial( pytutorial.py
> which just floods the packets).
>
> How can I use xterm(and iperf) to listen for each host's packets? If using
> mininet, the host's ID is simply h2 h3, and we can open xterm using "xterm
> h2 h3". Are there any ways to get the real host's ID?
>
>
>

Reply via email to