|
|
Static IP with DHCP? Possible?
|
|
|
|
Mac Enthusiast
Join Date: Mar 1999
Location: Portland, Oregon, United States
Status:
Offline
|
|
I have a cable modem connection connected to a Linksys 802.1b router. There are two windows machines and two macs all on wireless and everything is working great, however from time to time after rebooting some of the machines my main Mac will have a different IP address. Usually it is something like 192.168.1.101, 102, or 103. Is there a way that I can leave the other three machines using DHCP and give my Mac a static IP of something like 192.168.1.99 (since the DHCP pool starts at 100) ??
The reason I want to do this is that I have port forwarding set up so that certain ports are routed to my machine. This works great until the IP changes and then I have to modify all the port forwarding information. I know I could just assign all the machines static IPs, but I would really rather leave the others on DHCP mainly as I don't really know enough about Windows networking to troubleshoot anything that goes wrong with the Windows machines. (I really wish the roommates sharing the wireless would just get Macs!) I assume this is possible, I just don't know enough to set it up. I've tried going to the network preference pane and selecting DHCP with manual IP, but I can't seem to get a connection at all with it set up that way. I assume it's because I don't know the DNS servers IPs as they are dynamic.
Is this something I could do through the router with a MAC address lookup or something.
BTW, the router is a befw11s4 (v.2) with 1.45z, Feb 28 2003 firmware. I am familiar with the web interface, but can't seem to find the settings I would change.
Thanks for any advice in advance!
|
--Laurence
|
|
|
|
|
|
|
|
Moderator Emeritus
Join Date: Dec 2000
Location: College Park, MD
Status:
Offline
|
|
You can setup static IPs outside of the DHCP pool, or you can assign IPs to MAC addies, while still using DHCP.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Aug 2000
Location: Ancaster, Ontario, Canada
Status:
Offline
|
|
Giving the Mac an IP outside the DHCP pool will work fine. I have been recommending that with LinkSys routers for years. Set your TCP/IP control panel as follows:
Connect using Ethernet
Configure Manually
IP address = 192.168.1.2 (or any other unused address outside the DHCP Pool).
Router or Gateway = 192.169.1.1
Subnet Mask = 255.255.255.0
You will then have to manually type the IP addresses of your ISP's primary and secondary DNS servers onto separate lines in the Name Server Addr. box (in OS 9) or in the Domain Name Server box (in OS X). You can get those IP numbers from the Status pane in the LinkSys Admin program.
(It works much the same for Windows by the way, just substitute the Network Control Panel for the TCP/IP control panel and click on the settngs for the ethernet connection.)
|
|
|
|
|
|
|
|
|
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status:
Offline
|
|
I think some clarification of "outside of the DHCP pool" is in order. Your DHCP server can be configured to assign some number of addresses, and to start that "pool" of addresses from an arbitrary point. My server (in a Linksys router) defaults to assigning 50 addresses from 192.168.1.100 to 192.168.1.149. I can (and do) manually assign any address from 192.168.1.2 (x.x.x.1 is the address for the web interface in the router) to 192.168.1.99, and from 192.168.1.150 to 192.168.1.254 (x.x.x.255 is reserved).
The "pool" is the set of addresses you have reserved for the DHCP server to use, nothing more, but you have to pay attention to notice what addresses those are, so you don't accidentally assign one of them manually.
|
Glenn -----OTR/L, MOT, Tx
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Oct 2003
Status:
Offline
|
|
Reading these passages only partiallly solves my problem. I have a dual ethernet (snow) Apple Airport Base station. I have the same issue as the originator of this thread, that the three macs on my network, depending on which is connected and/or awake or asleep, keeps getting assigned different IP addresses.
I am using the internal V.90 modem on the base station. I am not sure how to make it work in the Airport Admin Utility. Manually assigning a range of IP addresses only gives a dialog saying I have to configure the base station via ethernet, and I can't because I'm using the built-in dialup.
Can someone give me an abbreviated step by step how to configure this? OS 10.2. Thanks.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Dec 1999
Location: Colorado
Status:
Offline
|
|
Originally posted by brianweeks:
I am using the internal V.90 modem on the base station. I am not sure how to make it work in the Airport Admin Utility. Manually assigning a range of IP addresses only gives a dialog saying I have to configure the base station via ethernet, and I can't because I'm using the built-in dialup.
There's no need to change the base station to assign a static IP. From the Designing Airport Networks document:
When you configure Ethernet clients manually for a base station that provides NAT over Ethernet, you can use IP addresses in the range 10.0.1.201 to 10.0.1.254. In the �Subnet mask� field, enter 255.255.255.0. In the �Router address� field, enter 10.0.1.1.
Note: This also applies to Wireless clients. Change the client(s) from DHCP to Manually Assigned with those numbers.
For the DNS number use the same number as the router (10.0.1.1) or to be more reliable put in the actual DNS server numbers used by your ISP.
By the way, the dialog meant what it said (but not necessary) to configure the base station using an ethernet cable instead of wirelessly.
(
Last edited by RBattin; Oct 23, 2003 at 01:06 AM.
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|