Workgroup and naming with DHCP, DNS and IIS?

  • Thread starter Thread starter Stephen Anders
  • Start date Start date
S

Stephen Anders

I have 3 networked PCs and a Zyxel ADSL router. All PCs are in the same
workgroup.

On the internal net, the Zyxel acts as DHCP server and gives out addresses
192.168.1.33, ...34, ...35 etc.

One of my PCs is running XP Pro and IIS; it needs to serve web pages to the
other 2 machines. Currently, users have to type
http://192.168.1.33/something..

How can I get IP naming to work, given that the Zyxel does not necessarily
allocate the same IP address on every bootup? Can I run DNS on the XPpro
machine? Or, can I give all machines a fixed IP address - and what setup
would I need on the Zyxel if I do that?
 
"Stephen Anders" said:
I have 3 networked PCs and a Zyxel ADSL router. All PCs are in the same
workgroup.

On the internal net, the Zyxel acts as DHCP server and gives out addresses
192.168.1.33, ...34, ...35 etc.

One of my PCs is running XP Pro and IIS; it needs to serve web pages to the
other 2 machines. Currently, users have to type
http://192.168.1.33/something..

How can I get IP naming to work, given that the Zyxel does not necessarily
allocate the same IP address on every bootup? Can I run DNS on the XPpro
machine? Or, can I give all machines a fixed IP address - and what setup
would I need on the Zyxel if I do that?

You can give all machines a fixed IP address in the 192.168.1.x range,
or you can give a fixed IP address to the IIS computer only. Before
changing to a fixed address, check the addresses that the Zyxel is
assigning for Default Gateway and DNS Server, and make those settings
as well.

You don't need to change anything in the Zyxel's setup. If you assign
fixed IP addresses to all computers, you can disable its DHCP server.

XP Pro doesn't have a built-in DNS server. You can put the IIS
computer's name and IP address in the Hosts file on the other
computers.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
With such a small network, you ought to be able to resolve the computer name
to an IP via broadcast anyway, I'd think. Can you ping the computer by name?

Setting up that computer with a static address will work too (no need to set
up the others with statics) - and if you keep having name resolution
problems you can put the computer name & static IP address in the other
computers' hosts files.
 
I went for a fixed address on the IIS machine, it works fine.
Many thanks to those who replied.
 
Back
Top