Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Neorouter server 1.5.0 on Debian listens to IPv6 only...
PostPosted: Thu Jun 30, 2011 1:04 pm 
Offline

Joined: Tue Feb 10, 2009 4:11 am
Posts: 96
My neorouter server has been running on a debian (testing) 686 box. 1.3.0 worked perfectly.

Yesterday I upgraded to 1.5.0, then I found all my neorouter clients, both 1.5.0 and 1.3.0, could not connect to the new server. From the debian box, I typed this command:
Code:
# netstat -an | grep 14000
tcp6       0      0 :::14000                :::*                    LISTEN
tcp6       0      0 ::1:14000               ::1:32790               ESTABLISHED
tcp6       0      0 ::1:32790               ::1:14000               ESTABLISHED

(I use port 14000 for neorouter server).
It looked like that neorouter only listens to IPv6 interfaces (:::14000), not IPv4 (0.0.0.0:14000).

I checked httpd and sshd, they showed up like this:
Code:
# netstat -an | grep 80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
# netstat -an | grep 22
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:57819         127.0.0.1:22            TIME_WAIT
tcp        0     84 10.10.5.5:22            10.10.20.10:3396        ESTABLISHED
tcp6       0      0 :::22                   :::*                    LISTEN


Now the only client that can connect to server is the one running in the same debian box, using ::1. Because I don't have a working IPv6 environment yet, all the other clients fail to connect:
"Signin failed because connection to server cannot be established. [hr=0x80072749]"

I also tried telnet server_IPv4_IP 14000, got "Connection refused".

How can I enable IPv4?

Thanks!


Top
 Profile  
 
 Post subject: Re: Neorouter server 1.5.0 on Debian listens to IPv6 only...
PostPosted: Thu Jun 30, 2011 1:24 pm 
Offline

Joined: Mon Dec 22, 2008 10:19 pm
Posts: 436
hi ElTopo,

Thank you for reporting.

If OS enables IPv6, even if you do not have a public IPv6 address assigned, listening on only the IPv6 address ::1 and not on the ipv4 address is theoretically the correct behavior. :) It should accept both IPv6 and IPv4 incoming connections. http://linux.die.net/man/7/ipv6. But some OSs may behave differently. What's the debian version? Could you help gather nrserver log file so we can figure out the root cause?

You can force nrserver to disable IPv6 stack. Create /usr/local/ZebraNetworkSystems/NeoRouter/Feature.ini and add the following setting. http://www.neorouter.com/wiki/index.php ... ationFiles

Code:
[Default]
#Description: Specify host IP type for nrserver
#Options:     0-detect; 1-IPv4; 2-IPv6; 3-Dual
#Default:     0
HostIPType=1


Thanks,
Luke

_________________
Luke - NeoRouter Team


Top
 Profile  
 
 Post subject: Re: Neorouter server 1.5.0 on Debian listens to IPv6 only...
PostPosted: Fri Jul 01, 2011 12:54 am 
Offline

Joined: Tue Feb 10, 2009 4:11 am
Posts: 96
Luke,

Thanks! the Feature.ini trick works.

I am using Debian testing, updated to the latest version. I only have IPv6 enabled inside the Debian system, but I don't have IPv6 router, some Windows systems don't even have IPv6 installed. I am not sure if that's problem.

Thanks again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: