Force IP

chevy

Marvelous Da Vinci
Staff member
Mod
My provider is DHCP based.

How is it that when I receive an IP per DHCP, and then force it (same IP) in manual IP it doesn't work and disconnect me from iChat ?
 
Could it be that iChat has a persistant connection to the chat server and when you manually change the ip (even if it's the same), that all current connections are severed?

And are you remembering to also put in the netmask, router, and dns entries when you switch to manual (I can't remember if it'll save those values if you switch from dhcp to manual).
 
You may also be putting in information that dosen't match requirements for the ISP - for instance the subnet mask could be 255.255.128.0. You also may be seeing an IP address conflict with someone else.
 
I really only have one question... Why?

As soon as your lease expirers the DHCP server will lease that IP unless it broadcasts and finds you. And if you ISP's DHCP server does broadcast and finds a rouge IP address on the network it most likely will log your IP and MAC addy...

That's what I'm thinking at least....


\\\\ bootleg
 
I'm trying to understand better the subnet, how I could restrict it to my own home or open it wider.
 
You can't do that meaningfully. The subnet defines the set of computers which can immediatly see eachother on the local bit of the network. By changing the subnet mask all you can do is mess up your traffic by making you machines improperly route their traffic. In the old days a subnet was exactly those machines attached to the same bit of copper. It is basically the same today although sometimes the connections are more or less virtual.

What and why are you really trying to do again?

-Eric
 
Originally posted by lurk
You can't do that meaningfully. The subnet defines the set of computers which can immediatly see eachother on the local bit of the network. By changing the subnet mask all you can do is mess up your traffic by making you machines improperly route their traffic. In the old days a subnet was exactly those machines attached to the same bit of copper. It is basically the same today although sometimes the connections are more or less virtual.

What and why are you really trying to do again?

-Eric

Perhaps this has something to do with the recent changes in iTunes ;)
 
I try to understand all this IP thing. My previous provider also used DHCP, but I had to give server address. It was a phone line modem. The new one is a cable modem, and I don't give any address.
With the rpevious one, I was able to play with the address, like force on Mac 1 the address that was previously on Mac 2, or use the subnet to avoid that my children have iChat over Rendez-Vous access out of my home. It's not possible anymore.
 
OK. So what exactly is your network like what is connected to what and how? Now I assume you have several macs lets say there are 4 and you want to make it so that the kid's machines can chat inside the house locally but not out to the rest of the internet?
If I am understanding correctly we can give you the effects you want even if the way we do it is different.

-Eric
 
Today, I have 2 Macs. On June 15th there will be an additional PC. Sometimes I have even another PC (laptop from work). All 4 connect to one 5-ports switch which connects to the Internet through a cable-modem. Sometimes I run VPC on one Mac which adds one IP address to the game.

I receive the IPs for both Macs from the DHCP through the cable-modem.
 
Do the IPs come from the cable modem or through it? Compare the ip addresses from the network tab in system preferences and from vititing the site whatismyip.com are they the same or different?

Then what is your goal? Who should be abel to talk to who? What do you want to allow and what do you want ot prevent?

-Eric
 
My IP today is 80.83.41.74 (I write it because it changes often....), and it's the same in the System Preferences as in whatismyip.com.

I want to be able to let my children
1) Always communicate together (share disks, chat, network games)
2) Only when I allow it, to access the net (chat, network games, web browsing)

And myself, I want full access all the time.
 
You can't run around statically assigning DHCP addresses. You'll get an address conflict and things with either not work at all, or will be very unreliable.

To fix your problem, you need to buy a router that has Network Address Translation (NAT) capability. Then you let your ISP assign its DHCP address to the WAN port of that, and assign your own private, fixed addresses on your side. The router does the translation between the two.

Wade
 
Hi Chevy,

Thanks for the info, things may not be as dire as wadesworld makes it sound but we will see. He is right that you cannot just statically assign the DHCP address but that is not what we were gonna do anyway ;)

The fact that your IP in system prefs and from whatismyip.com are the same tells me that your cable modem is running in bridging mode. Now that is potentially a problem because your cable provider can see all of the computers on your network and my just refuse to deal with more than say two of them. So are you able to just turn on all 4 machines and get a different IP for each of them at the same time?

If so then my bet is that there is something misconfigured on your provider's end since they are never that nice.

Ultimately, what we will do is set the firewall on each of your kids' computers so that they can only talk to who you want when. The way we do that thought depends on figuring out this networking stuff :-(

One thing that would make things simpler though would be if we could get your internal network isolated from the outside world. Is it possible to switch your cable modem from "bridging mode" into "NAT mode" where it will allow several computers to share a single external IP address? You may need to look at the manual that came with the cable modem to see if that is not possible.

At our current point in the decision tree we have:

1) Cable Modem can be put into NAT mode = 100% great we are set.

2) My ISP is ultra cool and will serve 4+ IPs to my internal network = Still OK but I don't have enough belief in human nature to think this is the case.

3) Oh no! they ignore more than 2 machines and we cannot NAT stuff. Here we are not OK, you need to buy a firewall/NAT box.

4) Oh I forgot to mention my server Mac has two ethernet cards. We could save the day in this case.

Good Luck!

-Eric
 
Ok,

My modem is just a stupid machine with no User's guide, provided by the cable company (Modem brand is COM21). 3 connectors.
- Power Supply
- Cable
- Ethernet plug

Behind that I have bought a Switch (D-Link 5W). No setup action, just plug-n-play.

My provider only gives me 2 addresses. If I want to have 3 machines, I need to force one IP (like 10.0.0.1) that will only be recognized locally, the others will be allocated by DHCP.

What is the NDAP trick ? Do I need two cards in one computer and then this one will be used as a router and only one of his addresses will be given by DHCP ?
 
Back
Top