| Tip #1: Server Operations
If you want to set IP addresses while avoiding the slow and click-ridden
GUI in Windows Server, try a simple command-line utility called
Netsh with the following syntax:
netsh interface ip set address local static 192.168.0.220 255.255.255.0 192.168.0.254 1
netsh interface ip set dns local static 192.168.0.1
The first address in the set address line is the static address
and its mask and the second address is the gateway following by
the hop metric, which is nearly always 1. If you prefer to use DHCP,
use this syntax:
netsh interface ip set address local static 192.168.0.220 255.255.255.0 192.168.0.254 1
netsh interface ip set dns local dhcp
You can check your settings using IPCONFIG or you can use the
new WMIC Tool in XP and Windows Server 2003 with the following syntax
(all on one line):
wmic path win32_networkadapterconfiguration get
caption,dnshostname,ipaddress,ipsubnet,dnsdomain,defaultipgateway
--From TechMentor's Windows Administration Essentials: Server
Operations workshop
Tip #2: Network Infrastructure
If you want to run DHCP services on a Windows 2000 domain controller,
you shouldn't use the feature that permits the DHCP server to register
DNS records on behalf of legacy clients, even if you use secure
Active Directory integrated zones. The DHCP service runs as LocalSystem,
giving it full control over Active Directory, making it possible
for someone on a Win9x machine to poison your zone file. Windows
Server 2003 resolves this problem by allowing you to designate an
alternate account to act as a security context for the DHCP service
to use when updating DNS records.
--From TechMentor's Implementing, Administering and Managing a
Windows Network Infrastructure workshop
Tip #3: Learn Server Essentials from an Expert
Daily server operations don't need to be a grind. Attending Bill
Boswell's fast-paced one-day workshops at MCP Magazine's
TechMentor Conference will give you hundreds of tips for managing
your Windows network more effectively and efficiently. Save yourself
time and money!
|