cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
16678
Views
0
Helpful
9
Replies

Vlan with Windows DHCP Server

milan2008
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

9 Replies 9

Ganesh Hariharan
VIP Alumni
VIP Alumni

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

catalyst 2960 series

sorry,I'll use for inter-vla

n router 2600  series for the, vlan catalyst 2960 series

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

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

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

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

I think it's true

The port where is Windows DHCP Server must be configured as Trunk Port in the switch?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: