Solved Help with Router for Bar owner -- not renewing IP addresses

jimbo45

New member
Guru
Gold Member
VIP
Local time
10:45 PM
Messages
5,941
Location
Hafnarfjörður IS
Hi there
the owner of a bar I go to regularly asked me if he could sort out a propblem with his router (even though I'm NOT a hardware geek or a network one by any manner at all).

The Cafe owner just about knows how to turn on and use a PC which is how I became involved.

He's (like a lot of places) has been supplying Free wi-fi --which during the Euro 2012 competition has been very popular with loads of visitors. This is a bar incredibly popular with visitors from everywhere especially at weekends etc.

However the IP addresses don't seem to get released -- even when a customer leaves and is out of range.

I've been back on many occasions and when I logon to the wifi get the identical IP address which I had last time -- which is strange while sometimes others can't get on at all.

So what happens from time to time is that some customers cannot logon to the wi-fi until the router is totally re-booted -- obviously in a busy bar this isn't a good idea.

Are there any settings on a typical router to flush and re-allocate IP addresses after a certain period if no activity occurs. From what I can see of the router it IS set for DHCP.

Any help on this would be greatfully acknowleged. ( I suggested that maybe he should get a New router -- but that could be overkill and might not solve the problem anyway).

Cheers
jimbo
 

My Computer My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up

My Computer My Computer

At a glance

Windows 7 Ultimate 64 bitAMD Phenom II X4 965 Black EditionGSkill 4 X 2 GB PC 8500XFX Radeon HD 6790 D
Computer Manufacturer/Model Number
Custom built
OS
Windows 7 Ultimate 64 bit
CPU
AMD Phenom II X4 965 Black Edition
Motherboard
Gigabyte GA-MA790X-DS4
Memory
GSkill 4 X 2 GB PC 8500
Graphics Card(s)
XFX Radeon HD 6790 D
Sound Card
On board RealTek HD
Monitor(s) Displays
Dual monitors:Samsung SyncMaster S20B300
Screen Resolution
1600 X 900
Hard Drives
Seagate Barracuda 1TB (primary)
Seagate Barracuda 2 X 320 GB
PSU
Ultra X4 750 watt fully modular
Case
Thermaltake Overseer RX 1 full tower
Cooling
Core-Contact 92 mm CPU Cooler
Keyboard
Logitech G510
Mouse
Razor DeathAdder
Internet Speed
50/5 Mbps UL/DL
Other Info
Optical: Super Muliti DVD burner w/lightscribe, Hauppauge WinTV HVR-1800
Try flushing the DNS to clear it out.

Flush DNS - What's My DNS?

Hi there
that's fine for a one off but what we need to do is to "De-Allocate" allocated IP addresses once customer leaves or goes out of range automatically. There isn't time in this type of bar to keep fiddling around with the router - and it's up 3 large flights of stairs too ll. !!! Not a good idea when you've had " a few" as well.

Flushing is fine -- but we need to avoid the manual process -- whether it's done remotely with a computer / smart phone or physically at the router via the reset switch.

I looked at the manual (of course written in French / Dutch -- no English !! ) but couldn't see anyway to automatically re-allocate IP addresses if an IP adress wasn't used after a certain time.

In a home environment it doesn't matter but in a Bar you can get easily get 50 or 100 people who logon to the wifi with smart phones for a short period while having a pint or two. There must be some way of releasing these IP adresses if they haven't made a request say within 30 mins. !!

I looked for some parameter like "Lease IP time" but couldn't find any.


Cheers
jimbo
 

My Computer My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
What is the make/model of the router?

Reinstalling firmware for the router may fix this issue. I've had issues like this with Netgear routers where I had to wipe out the firmware and reinstall it from their website.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64, BackTrack Linux 5 R2,...Intel Core i7 920 OC to 3.6GHzCorsair 6GB DDR3ATI Radeon 4890
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64, BackTrack Linux 5 R2, Windows XP
CPU
Intel Core i7 920 OC to 3.6GHz
Motherboard
ASUS P6T Deluxe V2
Memory
Corsair 6GB DDR3
Graphics Card(s)
ATI Radeon 4890
Monitor(s) Displays
ASUS 23"
Screen Resolution
1920x1080
Hard Drives
150GB Velociraptor
640GB
PSU
Corsair 850w
Case
CoolerMaster HAF932
Cooling
CoolerMaster V8
Internet Speed
30Mbps
Hi there
the owner of a bar I go to regularly asked me if he could sort out a propblem with his router (even though I'm NOT a hardware geek or a network one by any manner at all).

The Cafe owner just about knows how to turn on and use a PC which is how I became involved.

He's (like a lot of places) has been supplying Free wi-fi --which during the Euro 2012 competition has been very popular with loads of visitors. This is a bar incredibly popular with visitors from everywhere especially at weekends etc.

However the IP addresses don't seem to get released -- even when a customer leaves and is out of range.

I've been back on many occasions and when I logon to the wifi get the identical IP address which I had last time -- which is strange while sometimes others can't get on at all.

So what happens from time to time is that some customers cannot logon to the wi-fi until the router is totally re-booted -- obviously in a busy bar this isn't a good idea.

Are there any settings on a typical router to flush and re-allocate IP addresses after a certain period if no activity occurs. From what I can see of the router it IS set for DHCP.

Any help on this would be greatfully acknowleged. ( I suggested that maybe he should get a New router -- but that could be overkill and might not solve the problem anyway).

Cheers
jimbo

My default DHCP lease time is set for 1440 minutes, or 24 hours, but it can be changed under Network settings in my routers set up page. They might have this setting turned off or left blank which may cause it to run out of DHCP IP's with no chance to renew them.

The DHCP range for most routers is set to only 100 address so it may be that all the IP's are used up in a 24 hour period. In this case changing the lease time to 2, 4, or 8 hours would allow for more IP's to be released in that time frame making them available again in a shorter amount of time.

Conversely, you also might be able to change the number of assignable IP's to more than 100.

You can see the DHCP lease renewal setting at 1440 in the picture below but it will be different for the router in the bar which I have no idea who makes it.
 

Attachments

  • Network page my router.PNG
    Network page my router.PNG
    35.3 KB · Views: 16

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Sounds like Router-settings or -overload. With so many guests maybe the system
DSL/Cable-Modem->DHCP-Server->WLAN-Router->Guests (on WLAN, not Wi-Fi) would solve it.
Set the local timings (Lease) on the DHCP-Server to a reasonable minimum.
Complicated, it really should be at least two systems, fused! Hope the cash-machine is separate.
 

My Computer My Computer

At a glance

windows 7 home premium 32 bit
OS
windows 7 home premium 32 bit
Scaling back the DHCP lease time is a good idea. How often does someone go to the bar to sit for hours and hours on WiFi? I would set it to no more than 2 or 3 hours.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64, BackTrack Linux 5 R2,...Intel Core i7 920 OC to 3.6GHzCorsair 6GB DDR3ATI Radeon 4890
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64, BackTrack Linux 5 R2, Windows XP
CPU
Intel Core i7 920 OC to 3.6GHz
Motherboard
ASUS P6T Deluxe V2
Memory
Corsair 6GB DDR3
Graphics Card(s)
ATI Radeon 4890
Monitor(s) Displays
ASUS 23"
Screen Resolution
1920x1080
Hard Drives
150GB Velociraptor
640GB
PSU
Corsair 850w
Case
CoolerMaster HAF932
Cooling
CoolerMaster V8
Internet Speed
30Mbps
Scaling back the DHCP lease time is a good idea. How often does someone go to the bar to sit for hours and hours on WiFi? I would set it to no more than 2 or 3 hours.

Yep I believe that is the way to solve the problem which is why I posted that info, too bad Jimbo hasn't responded.

They are using up all 100 IP's in under 24 hours. Few hours for lease time should do it.
 

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
One thing to consider is people coming into the bar with their smartphones, and how many of those phones may be set to auto-connect to open networks, many times without the patron even knowing their phone connects. One way to mitigate this would be to put a password on it and have it displayed somewhere in the bar for guests to see. That could cut back on the amount of leases being used.

It also would still be helpful to know the make and model of the router to make sure it can support such an environment. Good discussion!
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64, BackTrack Linux 5 R2,...Intel Core i7 920 OC to 3.6GHzCorsair 6GB DDR3ATI Radeon 4890
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64, BackTrack Linux 5 R2, Windows XP
CPU
Intel Core i7 920 OC to 3.6GHz
Motherboard
ASUS P6T Deluxe V2
Memory
Corsair 6GB DDR3
Graphics Card(s)
ATI Radeon 4890
Monitor(s) Displays
ASUS 23"
Screen Resolution
1920x1080
Hard Drives
150GB Velociraptor
640GB
PSU
Corsair 850w
Case
CoolerMaster HAF932
Cooling
CoolerMaster V8
Internet Speed
30Mbps
Scaling back the DHCP lease time is a good idea. How often does someone go to the bar to sit for hours and hours on WiFi? I would set it to no more than 2 or 3 hours.

Yep I believe that is the way to solve the problem which is why I posted that info, too bad Jimbo hasn't responded.

They are using up all 100 IP's in under 24 hours. Few hours for lease time should do it.

Hi there
being watching the Euro 2012 footie so no time to respond but THANKS..

I found it in the end -- Lease time -- we've set it to 3 hrs -- now working great

It's enough -- those guys who stay longer have no pr oblem re-logging on again.

thanks everybody !!!

Cheers
jimbo
 

My Computer My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
Scaling back the DHCP lease time is a good idea. How often does someone go to the bar to sit for hours and hours on WiFi? I would set it to no more than 2 or 3 hours.

Yep I believe that is the way to solve the problem which is why I posted that info, too bad Jimbo hasn't responded.

They are using up all 100 IP's in under 24 hours. Few hours for lease time should do it.

Hi there
being watching the Euro 2012 footie so no time to respond but THANKS..

I found it in the end -- Lease time -- we've set it to 3 hrs -- now working great

It's enough -- those guys who stay longer have no pr oblem re-logging on again.

thanks everybody !!!

Cheers
jimbo

It's funny how everyone jumped onboard the DHCP lease issue AFTER I pointed out how to fix it LOL.

I guess the correct answer to the problem seems more obvious after everyone reads it.

Figured that would do the trick Jimbo. ;)
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Back
Top