Tuesday, 10 March 2009

1 DHCP server for the entire network - more than 1 VLAN

This made for sharing of the Windows administrator(2k / 2k3) who want to implement a DHCP server to 1 serve some of VLAN (Virtual LAN) is in the work place.

As we know, VLAN implemented many reasons for sharing security and performance reasons for the network. If a network too large, it is usually the network will be slowed, particularly if we use file sharing.

VLAN is usually used to separate the network based on department / network specific ... so, for example, Department marketing in some of the floor, they can still connect to the 1 network (VLAN) are the same. However, if we want to use the VLAN
to separate the network between the floor / inter-building, so may, of course, welcome.

In general there are 2 steps works that must be done to do this:

1. Make settings on the dhcp server

2. Make settings on the managed switch multilayer

After these two steps, then the DHCP server that has been made, can be used for the entire network.

Let's see the example below:

For example, in the place where we have 4 VLAN:

VLAN 1 network is 192.168.0.0/22 -> VLAN for switch management / router / server

VLAN 2 network is 192.168.1.0/22 -> 1 for all building ...

VLAN 3 network is 192.168.2.0/22 -> Building for 2 ...

VLAN 4 network is 192.168.3.0/22 -> Building for 3 ...

Overall this is assumed VLAN is already running well routingnya

DHCP server (Server A) has the address 192.168.0.50 placed in VLAN 1, along with all other server ..

IP Address for the computer so the client:

VLAN 2, the client computer's IP is 192.168.1.1 to 192.168.1.255,

VLAN 3, the client computer's IP is 192.168.2.1 to 192.168.2.255,
VLAN 4, a client computer's IP is 192.168.3.1 to 192.168.3.255,

Now, let's do the first step:

SET DHCP SERVER

------------

Stages in the DHCP Server A

1. Add a DHCP server roles in Windows Server 2000/2003 through the Configure Your Server,

2. Go to the DHCP console in the Administrative Tools.

3. Create some appropriate VLAN DHCP scope ..

Right-click on the DHCP Server, -> New Scope

Name scope, for example, DHCP Building 1,

Fill in Start IP Address: 192.168.1.1; End IP Address: 192.168.1.254

Setting the DNS, Wins Server, Router / Default Gateway, etc.

For DNS, and Wins server can still fill in the DNS IP on a different VLAN.

To Router / Default Gateway, fill in the appropriate VLAN with its own

Activate the scope.

Repeat the second step, the scope for other ..

If you are finished, will have some scope in the DHCP Server Console

4. The last step, Authorize DHCP Server DHCP Server to enable this

... ... ... Up to here, step 1 is is complete ...

SET SWITCH MULTILAYERNYA

-------------------

1. VLAN check it .. including the gateway / ip VLAN that routing is running ..

2. Log in to each VLAN, and VLAN configurations in order to get the DHCP from the DHCP Server A.

If the Cisco switch, the command can be used

"Ip helper-address xxxx" -> this command to notify that the DHCP server for VLAN is xxxx

In the example above means ... command ip helper-address 192.168.0.1 ..

3. If you are ... check configuration, and save.

You have successfully created 1 DHCP server to handle the existing network in your workplace.

Congratulations & Good Luck to try!

No comments:

Post a Comment