Router woes, need help with static IPs

Bobby Gill bobbygill at rogers.com
Thu Feb 25 05:08:36 UTC 2010


Hi folks! I was linked here by someone on the mythtv-users list.

My situation is I have a linksys wrt54gs v5 (w/latest firmware 1.52.7), 2
Arch linux boxes, one acts as server and one as desktop, one win7 laptop and
one win7 desktop. In the last few weeks, I have noticed randomly my net
connection dying and I've been resetting the router (physically unplug,
10-15 seconds, plug back in) a bit too much. The main challenge with this
has been that the local IP of my linux boxes would change (ie., server
always been 192.168.1.100 and desktop .101 with far too many
configs/settings relying on this). Then I edited my /etc/rc.conf networking
section to:

server:
eth0="eth0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

desktop:
eth0="eth0 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

Yet when I reset the router, my desktop will hop to 192.168.1.103, and the
server was on .101 until I restarted the networking daemon and it grabbed
.100. However, even if I reset the networking daemon on my desktop, and
ifconfig eth0 shows it to be .101 as it should be, it is still actually .103
as I get access denied errors trying to mount NFS from the server and such
until I added in .103 to the exports and then it mounted. Grrr.

My main concern is to ensure that each box gets its local IP on reset of the
router or otherwise, server=.100 and desktop=.101. I cannot locate in the
Linksys browser control panel where I can set this. I did change client
lease time to 9999 (the max allowed in the field).

Greatly appreciate any help, thanks.
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100225/22574ed8/attachment.html>


More information about the dhcp-users mailing list