jhtwu / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

IP MAC Binding does not work on 10.0.1.1 LAN #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Set the router/LAN to 10.0.1.1 / 255.255.255.0. Set the DHCP server to 
provide addresses starting from 10.0.1.100.

2. Go to the IP MAC binding page and attempt to bind a device with any MAC 
address to a LAN IP address of type 10.0.1.x e.g. 10.0.1.10.

What is the expected output? What do you see instead?

What I expect to see is the IP MAC binding page to accept my 10.0.1.x address / 
MAC address combination of settings. What I see instead is an error message 
that the LAN IP address I specified is not within the router LAN's range!

What version of the product are you using? On what operating system?

Vigor2130n with firmware 1.5.1.1 or 1.5.2RC1L. They both exhibit the same 
problem. My PC is running Windows 7 (64bit). 

Please provide any additional information below.

The IP MAC binding page does not complain when I try to provide binding 
settings for a LAN device with an IP address of the type 10.0.0.x although I 
have specified that my LAN is 10.0.1.x / 255.255.255.0 which is clearly a 
mistake.

In an effort to bypass the problem, I logged into the router and manually 
edited the ipbindmac file in /etc/config/ where I specified a binding entry 
using a 10.0.1.x address. After rebooting the router I checked the binding 
table on the web interface of the router and looked correct. However the router 
did not assign the address I specified to the appropriate device I put in the 
binding table but instead it assigned some other address using the DHCP server. 
So the problem is not just the web interface error checking code.

Original issue reported on code.google.com by panos.as...@gmail.com on 1 Jan 2012 at 10:48

GoogleCodeExporter commented 9 years ago
You can't specify a binding IP that not in the same subnet of LAN.
In your case:
LAN: 10.0.1.1 / 255.255.255.0
You can bind a device with any MAC address to a LAN IP address of type 10.0.1.x 
e.g. 10.0.1.10.
But you can NOT bind a LAN device with an IP address of the type 10.0.0.x 

Original comment by vincent....@gmail.com on 3 Jan 2012 at 4:54

GoogleCodeExporter commented 9 years ago
Sorry, I don't understand your comment. You say:

You can bind a device with any MAC address to a LAN IP address of type 10.0.1.x 
e.g. 10.0.1.10. But you can NOT bind a LAN device with an IP address of the 
type 10.0.0.x 

which is correct. However, the router does not allow me to bind a 10.0.1.x 
address but only a 10.0.0.x address when my LAN is 10.0.1.1 / 255.255.255.0! 
This is the error I reported originally.

Original comment by panos.as...@gmail.com on 3 Jan 2012 at 5:02

GoogleCodeExporter commented 9 years ago
I also setup a router with LAN IP 10.0.1.1 (255.255.255.0)
And I can bind a 10.0.1.x address without any problem.
Can you upload your configuration ?

Original comment by vincent....@gmail.com on 3 Jan 2012 at 10:43

GoogleCodeExporter commented 9 years ago
I performed a hard reset of the router and configured it from scratch without 
any problems. I guess my configuration was somehow corrupted. I don't 
experience this problem again. Please, ignore this issue!

Original comment by panos.as...@gmail.com on 6 Jan 2012 at 3:59

GoogleCodeExporter commented 9 years ago

Original comment by vincent....@gmail.com on 7 Jan 2012 at 8:15