Friday, December 23, 2011

An Introduction to IPv6

An Introduction to IPv6
One of the biggest architectural changes in Windows Server 2008 is the inclusion of IPv6. IPv6 has been a part of Windows since Windows 2000, but Windows Server 2008 is the first version of Windows to enable IPv6 by default. Furthermore, The transport stack has been completely redesigned so that IPv6 and IPv4 are able to run parallel to each other, as shown in Figure A below.

The fact that some Windows features will not even work without IPv6 proves that Microsoft sees IPv6 as the protocol of the future. Even so, IPv6 is a lot more complex than IPv4, and can be a bit intimidating to say the least. In this article series, I will introduce you to the basics of using IPv6.


IPv4 Addressing


Although IPv6 addresses look nothing like IPv4 addresses, they do have their similarities. The biggest differences are that IPv4 addresses are 32 bits long, and IPv6 addresses are 128 bits long. Because of the excessive length of an IPv6 address, they are represented in an abbreviated form that will probably look completely foreign to anyone who has never used them before.

Any time a seasoned network administrator sees an address like 192.168.1.1, they instantly recognize it as an IPv4 address. This address contains four, eight bit numbers separated by periods. In order to understand how IPv6 addressing works, it is important to realize that when you see an IPv4 address, the address is being expressed in decimal form.  This decimal form is a shortcut to expressing a 32 bit binary number. For example, the IP address 192.168.1.1 expressed in binary form looks like this:

11000000.10101000.00000001.00000001

In the interest of saving space, I don’t want to get into how I did the conversion, but if you need help converting from a decimal number to a binary number, you can use the Windows Calculator.

IPv6 Addressing


Hopefully, my example above helps you to understand that even a simple IPv4 address is really long when you convert it to binary form. This problem is compounded when we start talking about IPv6 addresses though. Like an IPv4 address, an IPv6 address is an abbreviated form of a binary number.  For example, here is what a 128 bit binary number looks like:

1111111010000000 0000000000000000 0000000000000000 0000000000000000 0000001000001100 0010100111111111 1111111001000100 0111111000111111

When an IPv4 address is expressed in binary form, it is expressed in eight digit chunks called octets. Each of these octets corresponds to one of the numbers in the address (when it is displayed in digital form). IPv6 addresses are expressed in 16 digit chunks when they are displayed in binary form.  Unlike IPv4 addresses though, IPv6 addresses are not written in decimal form, but rather in hexadecimal form. Therefore, to see what an IPv6 address looks like, convert each of the 16 digit blocks of numbers above to hexadecimal format, and then separate each hexadecimal number with a colon. The result looks like this:

FE80:0000:0000:0000:020C:29FF:FE44:7E3F

As you can see, this address is still pretty long. We can (and should) simplify it though. In IPv6 addressing, leading zeros are irrelevant, so let’s rewrite the address with the leading zeros omitted. After doing so, the address above becomes:

FE80:0:0:0:20C:29FF:FE44:7E3F

Just omitting the leading zeros shortens the address quite a bit, but there is one more thing that can be done. You will notice that three of the values in the address are 0. Any time that you have a series of zeros, you can get rid of all of the zeros, and just use double colons instead. Keep in mind though, that you can only use double colon notation once per address. In this case, the address becomes:

FE80::20C:29FF:FE44:7E3F

Conclusion


As you can see, IPv6 addresses are more complex than their IPv4 counterparts, but there is at least a logical reason behind the way that they are expressed. In Part 2 I will conclude this series by discussing the special meanings behind some of the digits in an IPv6 address.


All RUN command shortcuts

RUN command shortcuts

I know there are a lot of people who love using the run prompt or the command prompt rather than using the mmc control ... So here are some quick tips that you can use ... Enjoy...
Accessibility Controls  :  access.cpl  
Add Hardware Wizard : hdwwiz.cpl
Add/Remove Programs : appwiz.cpl
Administrative Tools : control admintools
Calculator : calc
Character Map : charmap
Check Disk Utility : chkdsk
Clipboard Viewer : clipbrd
Command Prompt : cmd
Component Services : dcomcnfg
Computer Management : compmgmt.msc
Date and Time Properties : timedate.cpl
DDE Shares : ddeshare
Device Manager : devmgmt.msc
Direct X Control Panel (If Installed)* : directx.cpl
Direct X Troubleshooter : dxdiag
Disk Cleanup Utility : cleanmgr
Disk Defragment : dfrg.msc
Disk Management : diskmgmt.msc
Disk Partition Manager : diskpart
Display Properties : control desktop
Display Properties : desk.cpl

Wordpad : write
Windows Firewall : firewall.cpl

Task Manager : taskmgr
Telnet Client : telnet

User Account Management : nusrmgr.cpl

Create BAT file for format

Create BAT file for format
1.Open notepad

2.copy :-

@ echo off

cls

cd\

c:

echo y | format %1 d:/q

echo new | %1

3.Save as Format.bat

4. Run it
NOTE:- Please Use Carefully

Bootabale windows7/vista Usb flash drive.

Bootabale windows7/vista Usb flash drive.

Required:

  • USB Flash Drive (4GB+)
  • Microsoft OS Disk (Vista / Windows 7)
  • A computer running Vista / Windows 7
Step 1: Format the Drive
The steps here are to use the command line to format the disk properly using the diskpart utility. [Be warned: this will erase everything on your drive. Be careful.]
  1. Plug in your USB Flash Drive
  2. Open a command prompt as administrator (Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator”
  3. Find the drive number of your USB Drive by typing the following into the Command Prompt window:
    diskpart
    list disk

    The number of your USB drive will listed. You’ll need this for the next step.  I’ll assume that the USB flash drive is disk 1.
  4. Format the drive by typing the next instructions into the same window. Replace the number “1” with the number of your disk below.
    select disk 1
    clean
    create partition primary
    select partition 1
    active
    format fs=NTFS
    assign
    exit
    When that is done you’ll have a formatted USB flash drive ready to be made bootable.

Step 2: Make the Drive Bootable 
Next we’ll use the bootsect utility that comes on the Vista or Windows 7 disk to make the flash drive bootable.  In the same command window that you were using in Step 1:

  1. Insert your Windows Vista / 7 DVD into your drive.
  2. Change directory to the DVD’s boot directory where bootsect lives:
    d:
    cd d:\boot
  3. Use bootsect to set the USB as a bootable NTFS drive prepared for a Vista/7 image. I’m assuming that your USB flash drive has been labeled disk G:\ by the computer:
    bootsect /nt60 g:
  4. You can now close the command prompt window, we’re done here.
Step 3: Copy the installation DVD to the USB drive
The easiest way is to use Windows explorer to copy all of the files on your DVD on to the formatted flash drive.  After you’ve copied all of the files the disk you are ready to go.

Step 4: Set your BIOS to boot from USB
This is where you’re on your own since every computer is different. Most BIOS’s allow you to hit a key at boot and select a boot option.

Configure a New Global Catalog

Configure a New Global Catalog
The Global Catalog (GC) contains an entry for every object in an enterprise forest but only a few properties for each object. An entire forest shares a GC, with multiple servers holding copies. You can perform an enterprise wide forest search only on the properties in the GC, whereas you can search for any property in a user’s domain tree. Only Directory Services (DS) or Domain Controller (DC) can hold a copy of the GC.

Configuring an excessive number of GCs in a domain wastes network bandwidth during replication. One GC server per domain in each physical location is sufficient. Windows NT sets servers as GCs as necessary, so you don’t need to configure additional GCs unless you notice slow query response times.

Because full searches involve querying the whole domain tree rather than the GC, grouping the enterprise into one tree will improve your searches. Thus, you can search for items not in the GC.

By default, the first DC in the First Domain in the First Tree in the AD Forest (the root domain) will be configured as the GC.

You can configure another DC to become the GC, or even add it as another GC while keeping the first default one.

Reasons for such an action might be the need to place a GC in each AD Site.

To configure a Windows 2000/2003 Domain Controller as a GC server, perform the following steps:

1.      Start the Microsoft Management Console (MMC) Active Directory Sites and Services Manager. (From the Start menu, select Programs, Administrative Tools, Active Directory Sites and Services Manager).

2.      Select the Sites branch.

3.      Select the site that owns the server, and expand the Servers branch.

4.      Select the server you want to configure.

5.      Right-click NTDS Settings, and select Properties.


6.      Select or clear the Global Catalog Server checkbox, which the Screen shows.


7.      Click Apply, OK.

You must allow for the GC to replicate itself throughout the forest. This process might take anywhere between 10-15 minutes to even several days, all depending on your AD infrastructure.


How to Hide in the Network Neighborhood

How to Hide in the Network Neighborhood

Don't want your XP computer to show up in the network browse list (Network

Neighborhood/My Network Places) to other users on your network? One way to

accomplish that is to disable file sharing. To do this, click Start, right click

My Network Places and select Properties. Right click your local area connection

and click Properties. Uncheck the box that says File and Printer Sharing for

Microsoft Networks. Click OK.

But what if you want to be able to share folders with some users; you just don't

want everyone on the network to see your computer's shares? There's a way:

Click Start and select Run.

In the Run box, type net config server /hidden:yes

Click OK.

Now others who know the UNC path (\\computer name\share name) can connect to your

computer's shares from the Run box, but it won't show up in the network browse

list.