a DHCP static IP bug..

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

fox85
Posts: 16
Joined: Thu Jul 04, 2013 7:01 pm

a DHCP static IP bug..

Post by fox85 »

Hi

I just tried the newest version 1.5.11 , and my router is wr703n

I checked
"Connection->DHCP->Static IPs->Block MAC addresses assigned a static IP that connect from a different IP"

But it seems not working.

For example, I assigned Static IP Addresse for my PC1 to 192.168.1.2 and mac address is AA:AA:AA:AA:AA , another PC2 is 192.168.1.3 and mac address is 22:22:22:22:22:22

I tried if I set my PC1 to a static ip with 192.168.1.3 , I still can get through the internet and intranet. Gargoyle didn't block me.

Plz ,how to fix this issue ?

fox85
Posts: 16
Joined: Thu Jul 04, 2013 7:01 pm

Re: a DHCP static IP bug..

Post by fox85 »

If I understand right , this function is IP-MAC bonding, I tried many versions of Gargoyle, but it seems never become effective, maybe a bug long time?

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: a DHCP static IP bug..

Post by pbix »

I tried on my v1.5.10 router. Works good so I do not think there is any bug.

Just doing what you showed in your post does not change the IP address on your PC. What did you do on your your PC to change its IP address? Make sure to verify that it is using the new address. It won't change just because you made a setting change on your router.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

fox85
Posts: 16
Joined: Thu Jul 04, 2013 7:01 pm

Re: a DHCP static IP bug..

Post by fox85 »

pbix wrote:I tried on my v1.5.10 router. Works good so I do not think there is any bug.

Just doing what you showed in your post does not change the IP address on your PC. What did you do on your your PC to change its IP address? Make sure to verify that it is using the new address. It won't change just because you made a setting change on your router.

Hi, thanks for your reply.

I tried with another router, also it didn't effective.
Pls see my attachments
Attachments
firewall config file
firewall config file
scp.PNG (10.04 KiB) Viewed 9288 times
ipconfig on my PC, Dhcp already disabled, manually assigned a static ip with 192.168.11.4
ipconfig on my PC, Dhcp already disabled, manually assigned a static ip with 192.168.11.4
ipconfig.PNG (7.93 KiB) Viewed 9288 times
ping result, still can get through the internet
ping result, still can get through the internet
ping.PNG (18.13 KiB) Viewed 9288 times

fox85
Posts: 16
Joined: Thu Jul 04, 2013 7:01 pm

Re: a DHCP static IP bug..

Post by fox85 »

and the bonding setting on gargoyle
Attachments
bond.PNG
bond.PNG (20.9 KiB) Viewed 9288 times

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: a DHCP static IP bug..

Post by BashfulBladder »

You are proving that it works.

The router has a MAC address for 192.168.11.4 that in your black&white (right under nVidia NForce) is NOT what the router expects. And 192.168.11.4 is blocked - which you say is what happened.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

fox85
Posts: 16
Joined: Thu Jul 04, 2013 7:01 pm

Re: a DHCP static IP bug..

Post by fox85 »

BashfulBladder wrote:You are proving that it works.

The router has a MAC address for 192.168.11.4 that in your black&white (right under nVidia NForce) is NOT what the router expects. And 192.168.11.4 is blocked - which you say is what happened.
Er.....let me say clearly
PC1 is 00:26:18:A5:86:E4 with 192.168.11.3 bonding on static IP list

PC2 is 48:28:2F:A7:40:E7 with 192.168.11.4 bonding on static IP list

Then I set my PC1 network interface card with IP "192.168.11.4" , the mac is still "00:26:18:A5:86:E4"
If I understand right , the PC1 should be get blocked by the Gargoyle , not allowed to access the LAN and WAN , because the IP "192.168.11.4" is ONLY for mac "48:28:2F:A7:40:E7" , not for any other MACs!!

But why my PC1 is still can get through the LAN and WAN even I set the NIC with IP "192.168.11.4" ?

This situation confuses me.

Am I understand right ?

fox85
Posts: 16
Joined: Thu Jul 04, 2013 7:01 pm

Re: a DHCP static IP bug..

Post by fox85 »

Could anyone give me an answer plz?

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: a DHCP static IP bug..

Post by ispyisail »

yep, I agree there are some issues here

Image

Image

Image

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: a DHCP static IP bug..

Post by Eric »

I'm investigating this now, will report back when I know more.

Post Reply