-
April 8th, 2005, 03:35 AM
#1
P2P network IP question
Im setting up 5 machines (xp) in a peer to peer setup. They will all share an internet dialup connection. So I want to know if i should set up the ip addressing to be automatic dhcp on the basis they are all going on the web. If they weren't sharing a web connection i would use a static address (192.168 etc). Is this correct??
thx
-
April 8th, 2005, 05:00 AM
#2
Registered User
I share a dsl line for all my pc's at home, I left it at DHCP, but you can go Static, just remember to set the gateway IP.
I say go DHCP. Its been working for me fine.
-
April 8th, 2005, 10:34 AM
#3
the part im puzzled by is this. If the addressing is dynamic and I want to send a message or whatever, how do i know which machine is which. They dont have stable ip's anymore. Im probably not understanding how this works but it seems to me the network becomes a hodge podge of changing ip addresses.
-
April 8th, 2005, 01:21 PM
#4
Registered User
If you want to share folders, its not a problem, if youre using an application that needs an IP to connect, then its best you use a Static IP.
-
April 8th, 2005, 07:06 PM
#5
Registered User
Originally Posted by justme
the part im puzzled by is this. If the addressing is dynamic and I want to send a message or whatever, how do i know which machine is which. They dont have stable ip's anymore. Im probably not understanding how this works but it seems to me the network becomes a hodge podge of changing ip addresses.
Depends on what you mean by send a message. Are you referring to "net send"? Or email? If email, then you won't be affected, not in the way you are thinking.
Just because you are using DHCP does not mean that the addresses are constantly changing. They are associated with lease times, that define how long they will hold a particular address. So they try to maintain the same address. Additionally if you reboot a pc, the first thing it tries to get is the same address it had before..
-
April 9th, 2005, 07:30 AM
#6
Chat Operator
Originally Posted by justme
Im setting up 5 machines (xp) in a peer to peer setup. They will all share an internet dialup connection. So I want to know if i should set up the ip addressing to be automatic dhcp on the basis they are all going on the web. If they weren't sharing a web connection i would use a static address (192.168 etc). Is this correct??
thx
dynamic vs static has no effect on how you connect to anything.
It's a case of administration. DHCP is easier to administer the larger the network gets (centralization).
About messages. If your wondering how larger companies keep track of computers when DHCP is used, most now days use DNS to solve this issue. When an IP is leased, the computer updates DNS dynamicly, "computername.domain.name" will then point to his own IP. If the IP changes, the computer tells the DNS server the new IP and it updates.
end result, your IP changes, but your DNS does not.
My recommendation. For anything less then 4-5 computers, set things staticly, less hassels. anything more, setup a proper network.
on a side note....
Additionally if you reboot a pc, the first thing it tries to get is the same address it had before..
I just wanted to point out that though this seems correct, it's not quite true. The computer is not re-obtaining the same IP, it's requesting a new one (the OS has no idea what the old IP was) The only time the OS is re-requesting the same ip is when the OS does a dhcp renew request (done automaticly at set time frames based on the lease period).
The DHCP server cache's the MAC addresses of the connected computers and the server tries to hand back out the same IP if possible based on MAC address. The DHCP server will hold the IP for the remainder of the lease period. It will then freely give out that IP to anyone. If the original IP is no longer available(given to someone else), it will assign it a new IP. (hence why the longer you leave your computer off, the higher the chances of getting a new IP)
<Ferrit> Take 1 live chicken, cut the head off, dance around doing the hokey pokey and chanting: GO AWAY BAD VIRUS, GO AWAY BAD VIRUS
-----------------------
Windows 7 Pro x64
Asus P5QL Deluxe
Intel Q6600
nVidia 8800 GTS 320
6 gigs of Ram
2x60 gig OCZ Vertex SSD (raid 0)
WD Black 750 gig
Antec Tri power 750 Watt PSU
Lots of fans
Similar Threads
-
By acord in forum Windows 95/98/98SE/ME
Replies: 3
Last Post: March 18th, 2004, 04:37 PM
-
By ClickHere2Surf.com in forum Internet and Networking
Replies: 22
Last Post: July 6th, 2003, 01:34 PM
-
By techs in forum Networking
Replies: 7
Last Post: September 17th, 2001, 10:24 AM
-
By Deity in forum Networking
Replies: 28
Last Post: April 18th, 2001, 07:20 AM
-
By SteveHebe in forum Networking
Replies: 9
Last Post: January 25th, 2001, 05:47 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks