Skip to content

Instantly share code, notes, and snippets.

@Mouad-BGD
Created July 19, 2012 11:11
Show Gist options
  • Save Mouad-BGD/3143108 to your computer and use it in GitHub Desktop.
Save Mouad-BGD/3143108 to your computer and use it in GitHub Desktop.
linksys
The WRT54G2 does not support the "DHCP reservation" feature, that is, the router cannot assign a device the same IP address each time it connects, based on the device's MAC address. However, the WRT54G2 does support the use of devices on your network that have fixed LAN IP addresses.
Linksys has some very specific rules about assigning a device a fixed LAN IP address. You must follow these rules carefully:
With Linksys routers, a fixed (static) LAN IP addresses must be assigned in the device that is using the address. So you need to enter the fixed address in the computer or printer, not in the router.
When using a Linksys router, any fixed LAN IP address must be outside the DHCP server range (typically 192.168.1.100 thru 192.168.1.149), and it cannot end in 0, 1, or 255.
Therefore any fixed LAN IP address would normally need to be in the range of
192.168.1.2 thru 192.168.1.99 or
192.168.1.150 thru 192.168.1.254
assuming you are still using the default DHCP server range.
Also, in the computer, when you set up a static LAN IP address, you would need to set the "Subnet mask" to 255.255.255.0 and the "Default Gateway" to 192.168.1.1 and "DNS server" to 192.168.1.1
It is also important that no two devices on your network be set to the same static LAN IP address.
Note that it is OK to have some devices on your network set to fixed LAN IP addresses, while other devices take their address from the router's DHCP server.
Hope this helps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment