Setting the gateway for the router?

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

Moderator: Moderators

Post Reply
mikers
Posts: 7
Joined: Sat Jun 04, 2011 1:22 am

Setting the gateway for the router?

Post by mikers »

Hi - having a bit of a problem.

I have a wag120n that I have a wrt54gl plugged into - I added the latter so that I can monitor and control the access/bandwidth that the rest of my family has. Problem is that the wrt54gl does not see the time servers... the wag120n is the gateway, which the wrt54gl does not know about.

Couldnt see any settings in the gui for gateway except if I use it as a bridge, so I set it with a route command at the unix level - that fixes it.... however, when the router gets turned off, the setting is lost.

How do I make it permanent?

michael

mikers
Posts: 7
Joined: Sat Jun 04, 2011 1:22 am

Re: Setting the gateway for the router?

Post by mikers »

Just in case anyone is interested...

Setting a route using the gui does not work because of the use of 0.0.0.0.

A workaround is to edit the /etc/rc.local file and include the route to set up the gateway ip and restart the ntpclient:

route add default gw 10.1.1.1 br-lan
/etc/rc.d/S41ntpclient restart

my gateway is 10.1.1.1

Its not the "correct" thing to do, but it does the job for now.

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

Re: Setting the gateway for the router?

Post by pbix »

What revision of Gargoyle are you using?

I think something related to this was addressed in v1.3.14.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

mikers
Posts: 7
Joined: Sat Jun 04, 2011 1:22 am

Re: Setting the gateway for the router?

Post by mikers »

Thanks, only installed it recently and did not think of a newer version... I will upgrade!

Post Reply