Hi Murphy,

Thanks for the command however it shows port 0,1,2 and 3 and when i type
dpctl show tcp:127.0.0.1:0 or 1 or 2 or 3 it says connection refused. Any
idea why? Thanks.

Hi Bob,

I also tried to manually put in the port in the switch but it gives me
error in the code.

example: s2 = net.addSwitch( 's2', port=6635 )

Regards,
Anthony

On Thu, May 31, 2012 at 5:12 AM, Bob Lantz <[email protected]> wrote:

> As Murphy notes, querying the switch is the definitive way to determine
> what is connected where.
>
> You can also find out what Mininet thinks the ports should be by looking
> at switch.intfs or switch.connection in Python (or using the py CLI
> command), or use the net CLI command. It's also possible to specify ports
> in the topology.
>
> On May 30, 2012, at 9:31 AM, Murphy McCauley wrote:
>
> > Try "ovs-dpctl show" from a command line in the namespace that mininet
> is running in.
> >
> > -- Murphy
> >
> > On May 30, 2012, at 7:06 AM, Anthony Salim wrote:
> >
> >> Hi guys,
> >>
> >> How to know which are the switches port connected to each of the
> mininet switches created? i tried to run in verbose mode but it does not
> show the port numbers of the switches and i also do the netstat -l command
> but it does not show the ports. Thanks.
> >>
> >> Regards,
> >> Anthony
> >
>
>

Reply via email to