Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: server does not use netmask I specified
PostPosted: Mon Dec 07, 2009 3:11 pm 
Offline

Joined: Tue Feb 10, 2009 4:11 am
Posts: 96
My neorouter server (nrserver 0.9-9.1528) is running on a debian box.

From neorouter configuration explorer (neorouter network explorer 0.9.9.1528[1] running on WinXP), settings, I configured DHCP subnet to 172.23.45.0, mask 255.255.255.0 and restarted neorouter server.

Somehow, the server switched to the new subnet with wrong mask 255.255.0.0. it seems that this mask is fixed, I changed my netmask to 255.255.255.0, 255.255.240.0, but the server side always used 255.255.0.0.

the output of ifconfig nrtap:
Code:
nrtap     Link encap:Ethernet  HWaddr ce:d0:91:44:e2:4d
          inet addr:172.23.45.7  Bcast:172.23.255.255  Mask:255.255.0.0
          inet6 addr: fe80::ccd0:91ff:fe44:e24d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1300  Metric:1
          RX packets:175 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:23026 (22.4 KiB)  TX bytes:468 (468.0 B)

the output of route -n
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
172.23.0.0      0.0.0.0         255.255.0.0     U     0      0        0 nrtap
5.0.0.0         0.0.0.0         255.0.0.0       U     0      0        0 ham0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0


on the other hand, WinXP side's 'ipconfig' looks correctly:
the output of ipconfig of neorouter's NIC:
Code:
Ethernet adapter NeoRouter Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 172.23.45.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

but 'route print' has mixed masks, the output of route print:
Code:
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0        10.10.1.1     10.10.20.10       10
...
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      172.23.45.0    255.255.255.0      172.23.45.1     172.23.45.1       20
      172.23.45.1  255.255.255.255        127.0.0.1       127.0.0.1       20
   172.23.255.255  255.255.255.255      172.23.45.1     172.23.45.1       20
...


Top
 Profile  
 
 Post subject: Re: server does not use netmask I specified
PostPosted: Mon Dec 07, 2009 4:00 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
It's a known issue on Linux.

viewtopic.php?f=8&t=2233

On Linux/in-a-box, the NR client does not set mask properly, e.g. subnet setting. It always use the default netmask in terms of the network. In your case, it trades 172.x.x.x as a B class network then set it to 255.255.0.0, but ignore your subnet setting.

We will fixed the bug in the next release.

Workaround:
a. setup netmask manually or put it in the script
b. set the DHCP network IP to a C class network

Thanks,
Kevinz - NeoRouter team


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 21 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:  
cron