| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 129755 | 2013-03-10 22:38:00 | Gargoyle - Static IP's aren't being static | The Error Guy (14052) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 1332135 | 2013-03-10 22:38:00 | I must have missed something with my new gargoyle setup. For some reason, despite the fact I have set all the MAC's to have a static IP, the connected clients keep getting a fresh IP from DHCP, not the assigned one. On the clients, releasing/renewing the IP doesn't work, they just get another one from the pool, so what have I done wrong? I have categorised phones and laptops onto two different subnets 192.168.2.x and 192.168.3.x could possibly cause a glitch like this? Seems highly unlikely, it's my only theory atm though. Of course, setting the option to " Block MAC addresses assigned a static IP that connect from a different IP" does just that, so all the MAC's are fine, and it recognizes the fact I have set IPs, it just won't assign them. :confused: Other than that I'm *loving* gargoyle. GUI is good, features are amazing. Only thing I can actually fault it on is this problem with IPs. UI could do with a refresh, but that's purely aesthetics. Brilliantly functional. I messed with DD-WRT a while back, but never really had a use for OpenWRT, nor did it come across as overly impressive, so it seemed pointless purchasing compatible gear. Until now! Cheers, TEG |
The Error Guy (14052) | ||
| 1332136 | 2013-03-10 23:50:00 | Don't you set the static IP on the PC rather than the router? EG go into the connection properties and set an address. | dugimodo (138) | ||
| 1332137 | 2013-03-11 00:09:00 | But then when that machine connects to another network it doesn't have a valid IP, not a problem with most UNIX or OSX OS's since the network settings are assigned to the SSID but in windows the settings are persistant. I have done it before with other routers/switches, you simply enter a MAC + the desired IP and then DHCP will just give the assigned address. |
The Error Guy (14052) | ||
| 1332138 | 2013-03-11 00:38:00 | I haven't actually used Gargoyle, but setting IP reservations using MAC address is a very standard thing to do, and something even the most budget routers handle with ease. I'd be very surprised if Gargoyle was having issues with this...Chill would be the one to answer though. Most routers need the reserved IPs to be inside the DHCP range or they won't give them out - not sure that this is the case with Gargoyle but it would be worth checking. | wratterus (105) | ||
| 1332139 | 2013-03-11 00:38:00 | Use the same IP range as the Gargoyle LAN interface is on, so 192.168.2.50-99 for the Laptops and 192.168.2.100-149 for phones (For example) It'll then work :) EDIT: Keep in mind that even IF you were assigning those IPs, the Gargoyle router is likely only listening on something like 192.168.2.1/24 so anything on 192.168.3.0/24 won't be able to find it coz IIRC by default the subnet mask is 255.255.255.0 |
Chilling_Silence (9) | ||
| 1332140 | 2013-03-11 01:28:00 | So it was the different subnet that was causing the problem? Damn, now I have to go edit all the rules again :p Cheers guys |
The Error Guy (14052) | ||
| 1332141 | 2013-03-11 01:49:00 | Or change the subnet mask. | Alex B (15479) | ||
| 1332142 | 2013-03-11 01:56:00 | Too late, changed the IP's (and made them more organised anyway, so not all wasted time) and everything appears to work normally now. Laptop picked up the right IP, and I'm waiting for my phone's DHCP lease to expire to make sure it works automatically before I block the assigned MAC's, just in case not everything goes over and I end up with 15 internet deprived students on my doorstep :D Thanks for the help Alex (and others) - Not sure if changing the subnet mask would help? it was always on 192.168.100.x/24 Then again, I don't totally understand how the subnet system works, so that might explain a bit about why I'd assume it wouldn't work. I'll claim ignorance :D |
The Error Guy (14052) | ||
| 1332143 | 2013-03-11 03:30:00 | I assume the router itself needs to have an IP in all the subnets you want it to serve out IP's? Not sure if you can configure a secondary IP on one of it's interfaces using Gargoyle. | WarNox (8772) | ||
| 1332144 | 2013-03-11 04:27:00 | Yeah Warnox is right So here's a quick rundown for you: You have 254 IPs in 192.168.100.1 -> 192.168.100.254, plus the broadcast of .255 This is known as a /24, and the subnet mask is 255.255.255.0 If you used a /23, your subnet mask would be 255.255.254.0 on the router. This would allow you to basically do what you want. However, if you're new to networking, get that working, then branch out :) |
Chilling_Silence (9) | ||
| 1 2 | |||||