Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Thursday, June 14, 2012

HOW TO CONFIGURE WINDOWS SERVER 2008 DHCP SERVER


Installing Windows Server 2008 DCHP Server is easy. DHCP Server is now a “role” of Windows Server 2008 – not a windows component as it was in the past.
To do this, you will need a Windows Server 2008 system already installed and configured with a static IP address. You will need to know your network’s IP address range, the range of IP addresses you will want to hand out to your PC clients, your DNS server IP addresses, and your default gateway. Additionally, you will want to have a plan for all subnets involved, what scopes you will want to define, and what exclusions you will want to create.
To start the DHCP installation process, you can click Add Roles from the Initial Configuration Tasks window or from Server Manager à Roles à Add Roles.

Figure 1: Adding a new Role in Windows Server 2008
When the Add Roles Wizard comes up, you can click Next on that screen.
Next, select that you want to add the DHCP Server Role, and click Next.

Figure 2: Selecting the DHCP Server Role
If you do not have a static IP address assigned on your server, you will get a warning that you should not install DHCP with a dynamic IP address.
At this point, you will begin being prompted for IP network information, scope information, and DNS information. If you only want to install DHCP server with no configured scopes or settings, you can just click Next through these questions and proceed with the installation.
On the other hand, you can optionally configure your DHCP Server during this part of the installation.
In my case, I chose to take this opportunity to configure some basic IP settings and configure my first DHCP Scope.
I was shown my network connection binding and asked to verify it, like this:

Figure 3: Network connection binding
What the wizard is asking is, “what interface do you want to provide DHCP services on?” I took the default and clickedNext.
Next, I entered my Parent DomainPrimary DNS Server, and Alternate DNS Server (as you see below) and clicked Next.

Figure 4: Entering domain and DNS information
I opted NOT to use WINS on my network and I clicked Next.
Then, I was promoted to configure a DHCP scope for the new DHCP Server. I have opted to configure an IP address range of 192.168.1.50-100 to cover the 25+ PC Clients on my local network. To do this, I clicked Add to add a new scope. As you see below, I named the Scope WBC-Local, configured the starting and ending IP addresses of 192.168.1.50-192.168.1.100, subnet mask of 255.255.255.0, default gateway of 192.168.1.1, type of subnet(wired), and activated the scope.

Figure 5: Adding a new DHCP Scope
Back in the Add Scope screen, I clicked Next to add the new scope (once the DHCP Server is installed).
I chose to Disable DHCPv6 stateless mode for this server and clicked Next.
Then, I confirmed my DHCP Installation Selections (on the screen below) and clicked Install.

Figure 6: Confirm Installation Selections
After only a few seconds, the DHCP Server was installed and I saw the window, below:

Figure 7: Windows Server 2008 DHCP Server Installation succeeded
I clicked Close to close the installer window, then moved on to how to manage my new DHCP Server.

How to Manage your new Windows Server 2008 DHCP Server

Like the installation, managing Windows Server 2008 DHCP Server is also easy. Back in my Windows Server 2008Server Manager, under Roles, I clicked on the new DHCP Server entry.

Figure 8: DHCP Server management in Server Manager
While I cannot manage the DHCP Server scopes and clients from here, what I can do is to manage what events, services, and resources are related to the DHCP Server installation. Thus, this is a good place to go to check the status of the DHCP Server and what events have happened around it.
However, to really configure the DHCP Server and see what clients have obtained IP addresses, I need to go to the DHCP Server MMC. To do this, I went to Start à Administrative Tools à DHCP Server, like this:

Figure 9: Starting the DHCP Server MMC
When expanded out, the MMC offers a lot of features. Here is what it looks like:

Figure 10: The Windows Server 2008 DHCP Server MMC
The DHCP Server MMC offers IPv4 & IPv6 DHCP Server info including all scopes, pools, leases, reservations, scope options, and server options.
If I go into the address pool and the scope options, I can see that the configuration we made when we installed the DHCP Server did, indeed, work. The scope IP address range is there, and so are the DNS Server & default gateway.

Figure 11: DHCP Server Address Pool

Figure 12: DHCP Server Scope Options
So how do we know that this really works if we do not test it? The answer is that we do not. Now, let’s test to make sure it works.

How do we test our Windows Server 2008 DHCP Server?

To test this, I have a Windows Vista PC Client on the same network segment as the Windows Server 2008 DHCP server. To be safe, I have no other devices on this network segment.
I did an IPCONFIG /RELEASE then an IPCONFIG /RENEW and verified that I received an IP address from the new DHCP server, as you can see below:

Figure 13: Vista client received IP address from new DHCP Server
Also, I went to my Windows 2008 Server and verified that the new Vista client was listed as a client on the DHCP server. This did indeed check out, as you can see below:

Figure 14: Win 2008 DHCP Server has the Vista client listed under Address Leases
With that, I knew that I had a working configuration and we are done!

Thursday, July 7, 2011

Configuring Windows XP as a Network Bridge


Windows XP allows to install and use multiple network adapters, which can be all Ethernet,
but can also be different media, like a mixture of Ethernet and USB Network adapters.


Since each segment of network cables requires for the TCP/IP protocol its own subnet, it would
be required to configure the system with multiple network cards as a "Router" :

using for example the subnet: 192.168.1.x for the Ethernet LAN and 192.168.2.x for the USB LAN
( more information on Routing ).

Although there is an undocumented possibility to configure Windows XP as an IP-Router,
there are some inconveniences in using routers in small networks :
- except for the system acting as a router, you will not see in the "Network Neighborhood"
the systems on "the other side" of the router ( that requires the use on non-Microsoft "Bridging Protocols" )

Windows XP offers another, much better possibility :
- to create a "Network Bridge" :
On the system with multiple
network adapters :
In the properties of
"My Network Places",
right-click on a network connection
to display the context menu :
"Bridge Connections"
You will get the warning :
"To create a Network Bridge,
you must select at least two
network connections that are not
being used by Internet Connection
Sharing or the Internet Connection
Firewall"
You need to selectmultiple
Network connections :
- select with a single click the
first network connection
- hold down the Ctrl-key and
select with a single click the second
(or more) network connections
- right-click and selects now from
the pop-up/Context menu to
"Bridge Connections"
You will get for a while a message:
"please wait while Windows
bridges the connections".
Windows will create the
"Network Bridge", which for a few
seconds will be shown with
"Network Cable unplugged"
Then, your "Network Connections"
will show a new section :
- Network Bridge
If you are looking at the Properties
of any of the network adapters of
the Network Bridge, you will see
that there is nothing to configure
anymore :
all configuration is now done for
the Network Bridge :
Properties of the "Network Bridge":

Section Adapters:
- the list of network adapters,
which are part of the bridge


You need/can configure the
Network Bridge like any
other (non-bridged) network
adapter.

for example:
you should check/ configure the
properties of the TCP/IPprotocol:
- if you are on a home-network,
I suggest to define manually the
IP-address (to avoid delays in
the availability of the network at
bootup caused by Auto-IP
configuration)

Using the "Network Bridge", it is now possible to use for all system on both the Ethernet
and the USB cable segment the same TCP/IP subnet (in this example : 192.168.1.x ) :


using a single subnet makes the use of "My Network Places" a lot easier than in a
configuration with a Router :
All systems on the network
are now accessible in
"My Network Places"
of the Windows XP system
and in the "Network
Neighborhood" of
Windows95/98 systems.

Another possible configuration for office use :


You can use using a USB-network to connect your notebook in the office to an PC
connected to the office network and configured as "Network Bridge", allowing you
to connect to the local office server but also to remote locations via a WAN.
Since a Network Bridge is handled like
any other network adapter, you can
configure a "Network Bridge" to
"obtain an IP address automatically"
from a DHCP-server on the office
network :
- Check the status of the Network Bridge
(make a right-click and select "Status")
to check, which IP-address got assigned
by the DHCP-server.
You can also configure the USB-network
adapter on the notebook (to be connected
via the Network Bridge to the office network)
to "Obtain an IP address automatically":
make sure that the PC acting as Network
Bridge is running, when connecting your
notebook, it will allow your notebook to
get an IP-address assigned from the
DHCP-server on the office-network.

Wednesday, July 6, 2011

How to install windows xp from pendrive

step 1:
Buy an USB Flash Drive (at least 2GB).
When you do this tutorial, please make sure your computer/laptop/PC has a CD-ROM (or DVD).
so, now you have 2 computers, with CD-ROM support and without CD-ROM support ).




step 2:
Download this software pack (Komku-SP-usb.exe - Download) 1.47MB
UPDATE 1 :
Anonymous said…
your download at mediafire keeps timing out, any other hosts available?
Mirror Depositfiles
Mirror Rapidshare
Mirror Easy-Share
Mirror Megaupload




this software pack contains 3 application :

-BootSect.exe (Boot Sector Manipulation Tool)
-PeToUSB (http://GoCoding.Com)
-usb_prep8 (Prepares Windows XP Setup LocalSource for Copy to USB-Drive)

step 3:
Double click Komku-SP-usb.exe


a window will appear... and click Install



step 4:
Insert your USB Flash Drive.
When I made this tutorial, I was using 4GB Transcend USB FlashDrive...



Locate folder C:\Komku\PeToUSB\
double click PeToUSB.exe




a window will appear like this...


Destination Drive : select USB Removable
check on Enable Disk Format
check on Quick Format
check on Enable LBA (FAT 16x)
Drive Label : XP-KOMKU (or whatever you want)
then click Start

Click Yes to continue....



"You are about to repartition and format a disk. Disk: .... All existing volumes and data on that disk will be lost. Are You Sure You Want To Continue?"
click Yes


Wait a few seconds...

Click OK, and you can close PeToUSB window.


step 5:
Open Command Prompt ...
Click Start > Run > type cmd > click OK


On Command Prompt window, go to directory C:\Komku\bootsect\how to do this?
first type this cd\ and press Enter

then type cd komku\bootsect and press Enter


the result...


Don't close Command Prompt window, and go to step 6...


step 6:
on command prompt window, type bootsect /nt52 H:


H:
is drive letter for my USB Flash Drive, it may be different with yours...
and press Enter

the result... "Successfully updated filesystem bootcode. Bootcode was succesfully updated on all targeted volumes."


don't close Command Prompt window, and go to step 7...


step 7:
now type this cd.. and press Enter

then type cd usb_prep8 and press Enter


type usb_prep8 again... and pres Enter



step 8:Your command prompt window will look like this

Press any key to continue...
usb_prep8 welcome screen will appear



Prepares Windows XP LocalSource for Copy to USB-Drive:

0) Change Type of USB-Drive, currently [USB-stick]
1) Change XP Setup Source Path, currently []
2) Change Virtual TempDrive, currently [T:]
3) Change Target USB-Drive Letter, currently []
4) Make New Tempimage with XP LocalSource and Copy to USB-Drive
5) Use Existing Tempimage with XP LocalSource and Copy to USB-Drive
F) Change Log File - Simple OR Extended, currently [Simple]
Q) Quit
Enter your choice:_

now, insert your original Windows XP CD, or Windows XP with sata ahci driver to your CD/DVD ROM
and back to Command Prompt window

type 1 then press Enter...
"Browse For Folder" window will appear, select your CD/DVD drive and click OK



the result... "XP Setup Source Path" changed to G:\ (yours may be different)


now for point 2, if letter T is currently assigned to a drive in your computer, you must change it.... if not, leave it as it is
how to change it?
type 2 and press Enter...

"Enter Available Virtual DriveLetter"
for example you doesn't have drive Sso you type S and press Enter

back to usb_prep8 welcome screen...
now type 3 and press Enter...
"Please give Target USB-Drive Letter e.g type U" Enter Target USB-Drive Letter:
because my Flash drive letter is Hso, type H and press Enter...

after back to usb_prep8 welcome screen...
now type 4 and press Enter to make new temporary image with XP LocalSource and copy it to USB Flash Drive
please wait a few seconds..


"WARNING, ALL DATA ON NON-REMOVABLE DISK
DRIVE T: WILL BE LOST! Proceed with Format (Y/N)?"
type Y and press Enter
please wait....
when format virtual disk complete, press any key to continue...


please wait... making of LocalSource folder is in progress...


when "Making of LocalSource folder $WIN_NT$.~LS Ready"
Press any key to continue...



"Copy TempDrive Files to USB-Drive in about 15 minutes = Yes OR STOP = End Program = No"
Click Yes, and wait...


"Would you like USB-stick to be preferred Boot Drive U: bla... bla..."
Click Yes



"Would you like to unmount the Virtual Drive ?"
Click Yes, wait a few seconds, and press any key....
press any key again to close usb_prep8...


Now, your USB Flash Drive is ready...


step 9:
Now, insert your USB Flash Drive/Flash Disk/Thumb Drive to your notebook (e.g Acer Aspire One)
go to BIOS and make USB HDD (or USB ZIP in some other machine) as primary boot device....

then boot form your USB Flash Drive....
and select "TXT Mode Setup Windows XP, Never unplug USB-Drive Until After Logon"


After Hard Disk detected, delete all partition, create single partition... and install Windows XP on that partition...
and wait...


once text mode setup is complete, computer will restart....
this time select "GUI Mode setup Windows XP, Continue Setup + Start XP"



Continue Windows XP setup.... and Done!
Windows XP Installed....



Remember, you can use this tutorial to install Windows XP on all other computers.. not just Aspire One and Asus EEE-PC....
good luck!

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Hosted Desktops