Vlan with Windows DHCP Server

Answered Question
Jul 7th, 2010

I have a problem to configure a Vlan with windows DHCP server my problem is How to impliment inter-Vlan between Vlans
my exact qosition is what ip address i have to give to each Vlan?
Thanks

I have this problem too.
0 votes

hi akram

i know what you need , so follow below

you have default vlan that is vlan 1 : ip address : 192.168.100.1 ...254
you need to create 4 vlan
vlan 2 : 192.168.2.0 ....254
vlan 3 : 192.168.3.0 ... 254
vlan 4 : 192.168.4.0 ....254
you can change the IPs its gor example
first in the router :
go to interface (that connected to your LAN) for example F0/0
do the configuration :
inter f0/0.1
encp dot1q 1
ip address 192.168.100.1 255.255.255.0
ip helper-address ( DHCP Server IP )
no shut
inter f0/0.2
encap dot1q 2
ip address 192.168.2.1 255.255.255.0
ip helper-address ( DHCP Server IP )
no shut
inter f0/0.3
encp dot1q 3
ip address 192.168.3.1 255.255.255.0
ip helper-address ( DHCP Server IP )
no shut
inter f0/0.4
encp dot1q 4
ip address 192.168.4.1 255.255.255.0
ip helper-address ( DHCP Server IP )
no shut

now the router will do routing between VALNs
all users must have default gateway same the router interface ,, user in VLAN 2 Default gateway 192.168.2.1 .......like this for all
,,,,,,,,,,,,
in switches :
all links between switches configure it as trunk port with encap dot1q
and the link between Router and Switch
,,,,,,,,,,,,
in DHCP :
create scoop for each vlan and make sure about default gateway
and make sure the default gateway for DHCP router as the same in router interface
if DHCP in VLAN 1 the default Gateway Must 192.168.100.1

any question please ask

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Ganesh Hariharan Wed, 07/07/2010 - 05:56

I have a problem to configure a Vlan with windows DHCP server my problem is How to impliment inter-Vlan between Vlans
my exact qosition is what ip address i have to give to each Vlan?
Thanks

Which switch model are you using for intervlan routing ?

Ganesh.H

milan2008 Thu, 07/08/2010 - 07:29

sorry,I'll use for inter-vla

n router 2600  series for the, vlan catalyst 2960 series

Nagaraja Thanthry Thu, 07/08/2010 - 08:30

2960 switches generally do not support routing. You might need a layer 3 device. Here is a good document on intervlan routing for Layer 2 switches.

http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a00800949fd.shtml

You need to configure the Layer 3 device IP address as the default gateway for all the hosts. That will ensure that all traffic is getting routed appropriately.

Hope this helps.

Regards,

NT

milan2008 Fri, 07/09/2010 - 07:27

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

sorry, my problem is how to assign the ip address in my 2600 router for each vlan ,The Windows DHCP server give 192.168.100.1-192.168.100.254

so i will create about 4 vlans what Ip address i will give each vlani n a 2600 router

Nagaraja Thanthry Fri, 07/09/2010 - 08:05

Hello,

You need to give an IP address in the range of 192.168.100.1 -

192.168.100.254. For simplicity, you can assign 192.168.100.1 as the address

as long as that is available. If not, you can assign any other address. I am

assuming for other VLANs you have a separate IP range. You need to follow

the same logic for other VLANs as well. Once you assign the addresses, you

need to go back to your DHCP server and make 192.168.100.1 as reserved

address so it will not be assigned to anybody else. Also, you need to

configure the DHCP server such that the default router option in the DHCP

reply has 192.168.100.1 as the value. This will ensure that every host in

the network that gets DHCP address sees 192.168.100.1 as the default

gateway. You need to repeat the same exercise for other VLANs as well.

Hope this helps.

Regards,

NT

Correct Answer

hi akram

i know what you need , so follow below

you have default vlan that is vlan 1 : ip address : 192.168.100.1 ...254
you need to create 4 vlan
vlan 2 : 192.168.2.0 ....254
vlan 3 : 192.168.3.0 ... 254
vlan 4 : 192.168.4.0 ....254
you can change the IPs its gor example
first in the router :
go to interface (that connected to your LAN) for example F0/0
do the configuration :
inter f0/0.1
encp dot1q 1
ip address 192.168.100.1 255.255.255.0
ip helper-address ( DHCP Server IP )
no shut
inter f0/0.2
encap dot1q 2
ip address 192.168.2.1 255.255.255.0
ip helper-address ( DHCP Server IP )
no shut
inter f0/0.3
encp dot1q 3
ip address 192.168.3.1 255.255.255.0
ip helper-address ( DHCP Server IP )
no shut
inter f0/0.4
encp dot1q 4
ip address 192.168.4.1 255.255.255.0
ip helper-address ( DHCP Server IP )
no shut

now the router will do routing between VALNs
all users must have default gateway same the router interface ,, user in VLAN 2 Default gateway 192.168.2.1 .......like this for all
,,,,,,,,,,,,
in switches :
all links between switches configure it as trunk port with encap dot1q
and the link between Router and Switch
,,,,,,,,,,,,
in DHCP :
create scoop for each vlan and make sure about default gateway
and make sure the default gateway for DHCP router as the same in router interface
if DHCP in VLAN 1 the default Gateway Must 192.168.100.1

any question please ask

Actions

This Discussion