Author Topic: How Do I Assign Static IP Addresses?  (Read 2600 times)

Offline Mayo

  • TS Addict
  • *****
  • Posts: 3215
    • View Profile
    • http://
How Do I Assign Static IP Addresses?
« on: March 14, 2003, 03:58:00 PM »
All the talk elsewhere on the board about security on wireless LANs got me to thinking that it was time for me to assign static IP addresses to my ethernet-connected Mac and two Airport-connected Macs.

Besides the added security, it sure would make file sharing a tad easier knowing the exact IP adress of each Mac on my LAN.

The problem?  I cannot find detailed instructions anywhere about how to accomplish this seemingly simple task.  I tried disabling DHCP routing on my Linksys BEFW11S4 after assigning static IP addresses on two of my Macs, and promptly lost my LAN connections...

 D'oh!

In the TCP/IP control panel I had switched to manual configuration, then entered the static address below 192.168.1.100 (like 192.168.1.2...), then entered the same subnet mask as under DHCP, then the router address.

Voila!  Nadda...

So I am probably missing some obvious setting, either in TCP/IP, another related Mac control panel, or the router itself.  I know that there are others (like KPS) who have accomplished this little task, so I humbly ask for

 HELP!

Offline bobw

  • TS Addict
  • *****
  • Posts: 611
    • View Profile
    • http://
How Do I Assign Static IP Addresses?
« Reply #1 on: March 14, 2003, 05:13:00 PM »
You already had Static IP addresses if your Router was assigning them. Go back to the way it was.
Your Router recieves an IP address from the ISP which is Dynamic. Then it assigns IP addresses to each machine on the network which are Static IP addresses.

If you're worried about someone getting into your network, not likely behind a Router, especially on Macs, go here and check to see if any ports are vunerable;

https://grc.com/x/ne.dll?bh0bkyd2

Offline RHPConsult

  • TS Addict
  • Posts: 7859
    • View Profile
    • http://
How Do I Assign Static IP Addresses?
« Reply #2 on: March 14, 2003, 05:38:00 PM »
bobw:

Make any difference that that URL refers exclusively to Windows?

Offline marie

  • Super Poster
  • ***
  • Posts: 117
    • View Profile
How Do I Assign Static IP Addresses?
« Reply #3 on: March 14, 2003, 05:44:00 PM »
Great link Bobw......thanks for posting it!

Offline Mayo

  • TS Addict
  • *****
  • Posts: 3215
    • View Profile
    • http://
How Do I Assign Static IP Addresses?
« Reply #4 on: March 14, 2003, 05:53:00 PM »
Well, I'm a tad confused...My understanding is that if DHCP is enabled on the router then IP addresses are assigned in the order that each computer signs-on to the LAN.  That is why using an IP address to connect to an AppleShare server is a bit problematic when the router is set to DHCP.

I believe that the answer to the second reply to my query is that either Macs or Windows computers can use that particular site to test their vulnerability.  I have used it any number of times in the past and since I use NetBarrier it always comes back that my Mac(s) are in "stealth mode."

Here is another question:  of the three Macs served by my router, only the Client Hostname of the iMac shows up in the DHCP clients table.  What gives?
 
 [ 03-14-2003, 07:36 PM: Message edited by: Mayo ]

Offline Al

  • TS Addict
  • Posts: 3105
    • View Profile
    • http://
How Do I Assign Static IP Addresses?
« Reply #5 on: March 14, 2003, 11:23:00 PM »
Mayo,

I'm assuming your router has a browser interface.

Log into your router and turn off (disable) DHCP for your LAN and turn on Static routing by designating three specific IP addresses for the router to look for.  your LAN subnet mask will be different then your WAN's subnet mask.  Take note of it for your Mac configuration.

Before you actually make changes to your Macs TCP/IP settings, take note of all the information that is in that setting screen.

Now, go back to one of your Macs and in your TCP/IP settings, switch it to Configure: Manually.  Add an IP address that you chose in the router, then the subnet mask from your LAN and your router IP address.  Then you need to add your DNS servers and your optional search domains (usually your ISP).  hit "Apply Now" and check if you can get online.  If not yet, try restarting your Mac and see if the settings have taken and you can then get online.  If you are successful, continue to your next Mac to configure.
 
 [ 03-15-2003, 12:26 AM: Message edited by: Al ]
27" 2.8 GHz Intel I7 iMac, 8 GB RAM, 2 TB HD, 2x 2TB OWC Mercury Elite-AL Pro external HD, EyeTV 250 Plus, 23" Acer HD monitor, OS 10.6.7
13" 2.26 GHz Intel Core 2 Duo MacBook, 4 GB RAM, 500 GB 7200 RPM HD, OS 10.6.7
13" 2.26 GHz Intel Core 2 Duo MacBook, 4 GB RAM, 250 GB HD, OS 10.6.7
(2) 5th Gen. iPods (30GB & 80GB), iPhone 4 (x2) 16 GB iOS 4.3.3, iPhone 3GS 16 GB

Offline kps

  • TS Addict
  • *****
  • Posts: 1693
    • View Profile
    • http://
How Do I Assign Static IP Addresses?
« Reply #6 on: March 15, 2003, 02:02:00 AM »
Al's post should do it for you.

A couple of things: try an IP range between 192.168.0.100 through to 192.168.0.199.

Also make sure the subnet mask is the same for all IP's assigned to the machines.