2013-04-02 - Re: [GRASE-Hotspot] Configuring a static address on the WAN interface?

Header Data

From: Tim White <ti***8@gmail.com>
Message Hash: 28cce5b89624db1574e8b988518dd718661b60e5d2ea04bdc5cbc1e3ad9aa85b
Message ID: <515B72C6.3040305@gmail.com>
Reply To: <99DF9CFBA2E2D947A37658DFB2AE72BB50E663B7@G4W3292.americas.hpqcorp.net>
UTC Datetime: 2013-04-02 17:07:34 UTC
Raw Date: Wed, 03 Apr 2013 10:07:34 +1000

Raw message

On 02/04/13 18:02, Pollington, Glyn wrote:
>
> I don't know if this is advisable or recommended, but I have a problem 
> with the ADSL router my customer is using -- they are currently 
> re-booting it quite regularly, and every time they do that the GRASE 
> server falls off the network in that it loses its IP address that 
> should be handed out by the router.  We end up with a functioning 
> hotspot with no internet connectivity.  Usually when this is that case 
> I have had to ssh to the GRASE server from the LAN and restart it (I 
> realise I may be able to just restart the network services, but run 
> the risk of losing my only connection to the server as it is not 
> physically accessible to me most of the time.
>
> I think I could configure a static IP address outside of the dhcp 
> range of the router, we have already done that for the win 7 clients 
> in the office as they were bringing down the dhcp service on the 
> router, then when the router gets restarted there is no effect on the 
> hostspot. If that is not recommended what about scheduling  a cron job 
> to restart the WAN interface every few hours so that if it loses its 
> address again it will repair when the interface restarts.
>
> regards
>
> Glyn Pollington
>
>

Hi Glyn

Being a normal "server", you can configure the WAN however you require. 
Under debian it's a matter of editing the /etc/network/interfaces file, 
finding the correct ethX entry that is set to DHCP and set it to static 
and set it's options. http://wiki.debian.org/NetworkConfiguration should 
assist.

It sounds like your routers DHCP lease time might be rather low too, 
which could cause problems with leases expiring. Ether way, static 
sounds like the way to go. As long as you've set the DNS servers 
correctly in the Grase admin section, you shouldn't need to worry about 
setting DNS to point to the router ether, just do the ip address.

Tim

Thread