Maestro not listening on port

15 views
Skip to first unread message

srini

unread,
Dec 23, 2010, 2:12:55 PM12/23/10
to Maestro Platform
After compiling Maestro, I updated the port to 7000 and ran it as
follows:
java -cp build/ sys.Main conf/openflow.conf conf/routing.dag 1

It did not start listening on the port (As checked by telnet localhost
7000). The output of "netstat -an | grep 7000" prints:
tcp6 0 0 :::7000 :::*
LISTEN

Is it only listening for IPv6 connections?

Thanks
Srini.

Zheng Cai

unread,
Dec 23, 2010, 4:33:50 PM12/23/10
to Maestro Platform
Hi Srini,

First of all thank you very much for trying Maestro! About this issue,
have you tried Maestro within the virtual machine environment, does it
work there?

To my knowledge, Maestro should be able to listen for IPv4
connections, and I am not sure right now whether it can support IPv6
because I haven't done so yet. So this issue might be related to
IPv6... What operating system are you using? How about you try some
other port number? What if you disable the IPv6 on your machine?

On my machine when I do "netstat -an | grep 7000", it is:
tcp 0 0 0.0.0.0:7000 0.0.0.0:*
LISTEN

The creation of the listen socket is done in line 197-203 in "driver/
openflow.java". Hope knowing the source code of this would help.

Best,

-Zheng

Srini Seetharaman

unread,
Dec 23, 2010, 9:05:00 PM12/23/10
to maestro-platform
Hi Zheng
I am not specifically trying to run it in IPv6 mode. When I invoke
java as "java -Djava.net.preferIPv4Stack=true", it works fine. I'm not
sure if you need to do in all machines. My machine runs
Debian-Squeeze.

I haven't tried the virtual machine environment. Do you suspect that
will make a difference? I'd prefer to test Maestro with the hardware
switches we have.

Thanks
Srini.

Zheng Cai

unread,
Dec 23, 2010, 10:06:07 PM12/23/10
to Maestro Platform
Thanks a lot for your suggestion of fix. Yes I guess right now Maestro
only supports IPv4. I will put your fix in the tutorial.

Inside the virtual machine everything is IPV4, and the switches are
running OpenFlow v1.0.0 software package. So I think that will make a
difference.

Regards,

Zheng
Reply all
Reply to author
Forward
0 new messages