03-01-2009 03:38 AM - edited 03-06-2019 04:19 AM
Hi Everybody,
I am working on a project which involve creating/implementing VLANs in my organization but I'm a little confuse/messed-up. we have around 10 floors and each flr has 3650-E connected to core 6509-E over fiber, our internal subnet through out is 172.20.0.0/16.
What I intend to do is to create VLANs per flr and each flr will have it's own subnet e.g. organization subnet is 172.20.0.0/16 so each flr will be 172.16.1.0 - 254/24 respectively.
Now, how do I configure the switches that when the client workstation e.g. on flr 3 request for an IP from dhcp which will be on subnet 172.20.0.0/16 the workstation should get an IP corresponding to that VLAN i.e. 172.16.3.0/24
I hope my point of view is completely understand and any help would be great
03-01-2009 03:58 AM
Configure an ip helper address with the IP address of the remote DHCP server on each VLAN interface.
03-01-2009 04:08 AM
well I tired that but what happens after adding the ports into the newly created VLAN, also configuring the ip helper-address. the workstation are totally not able to contact the DHCP server or you can say the switch itself cannot reach the gateway which is the router.
03-01-2009 04:37 AM
Are your switches on the floors connected to the 6500 with a L3 or L2 link ie. is it a routed link or a switched link from each floor.
The vlans you are creating where are the L3 vlan interfaces for these vlans, are they on the 3560's or the 6500.
Jon
03-01-2009 11:38 AM
Floors are connected to the 6500 over fiber all switches on flr and 6500 are in vlan 1 (172.20.0.0/16) the internal routing at the moment is done by a router which is also the default gateway of all workstations & servers on the LAN, I intend to shift the routing on the 6500 once VLANs are in place.
since 172.20.0.0/16 is the subnet I wanted to configure VLANs 172.20.1.0/24 (1st flor), 172.20.2.0/24 (2nd flr), 172.20.3.0 (3rd flr) and so on for all flrs and leave the servers on 172.20.4.0/16
please advice if this is achievable and do-able.
03-01-2009 12:01 PM
Yes it is completely do-able.
If you are proposing to use the 6500 to route all the vlans then i would do the following
1) Select a 172.16.x.0 subnet for management of the switches. This is so you can remotely log into the switches. So lets say -
172.16.20.0/25 - vlan 20
2) On the 6500 create all your vlans including vlan 20 ie.
6500(config)# vlan 2
6500(config-vlan)# name
6500(config)# vlan 3
6500(config-vlan)# name
etc... for all vlans
3) On the 6500 create the L3 SVI's for each vlan ie.
6500(config)# int vlan 2
6500(config-if) ip address 172.16.2.1 255.255.255.0
etc... for all vlans
4) Make the 6500 STP root for all vlans
5) Make the 6500 a VTP server and all the 3560 switches VTP clients so that the new vlans you have created on the 6500 are propogated to the 3560 switches
6) Each uplink from a 3560 to the 6500 needs to be a trunk link and you can allow only the vlan per floor and the management vlan on this trunk
7) On each L3 SVI on the 6500 you need an IP helper-address pointing to the DHCP server.
This is a standard L2 edge to L3 distribution design. Because you have 3560 switches you could use L3 in the edge but then the config changes considerably.
Jon
03-01-2009 08:49 PM
Hi Jon,
Thanks for the great help, just I couldn't understand the last phrase
"This is a standard L2 edge to L3 distribution design. Because you have 3560 switches you could use L3 in the edge but then the config changes considerably. "
I have 3560 switches on flrs and what changes in config are we talking about.
03-02-2009 02:26 AM
"I have 3560 switches on flrs and what changes in config are we talking about"
Do you want to use L3 routed links from the edge switches ??. Do you know what IOS feature set your 3560 switches are running ?
Jon
03-01-2009 09:25 PM
jon,
I was just trying the suggested steps and I faced an issue which is when I created a VLAN 20 i.e.
172.16.20.0/16 - vlan 20
and then when tried to create VLAN 2 i.e
172.16.2.1 255.255.255.0 it gave me a message 172.16.2.0 overlaps with VLAN 20
03-02-2009 02:42 AM
why are creating vlan 20 with x.x.x.x /16,
you can assing 172.16.x.x/16 on one vlan and 172.16.2.x/24 on another vlan.
i think steps are to assign each vlan /24.
Thank,
Asim.
03-02-2009 02:43 AM
i mean you cant assing /16 on one vlan from the same subnet and then /24 on another vlan on the same subnet.
Thanks,
03-02-2009 02:48 AM
Yes it will because it does overlap. You need to change the mask on vlan 20 to 255.255.255.0 as suggested by other poster.
All your subnets need a /24 ie. 255.255.255.0 subnet mask.
Jon
03-02-2009 03:38 AM
yeah thanks I did figured that out, my mistake.
But now I face another problem which is after adding the ports to appropriate VLANs, the workstations cannot reach the DHCP server "Request has timed out"
so any advise please
03-02-2009 03:42 AM
What IP address is the DHCP server and what vlan is it on.
Which vlan is the client in ?.
Does the switch which the client is connected into have a trunk link to the 6500.
Have you created a L3 vlan interface on the 6500 for the client vlan.
Does the 6500 know how to get to the DHCP server subnet - ie. where is the L3 interface for the DHCP server subnet.
Have you configured an IP helper address under the L3 vlan interface for the client vlan ?
Jon
03-02-2009 03:56 AM
that's a lot of questions :) but before I answer any of these let me tell you that I have configured a 3560-E in a test lab to stimulate the 6509-E, 3560-E switch ruuning IOS 12.2(35)SE2 version with SW image C3560E-UNIVERSAL-M
On this SW I have configured 4 VLANs as following
VLAN 1 (172.20.1.254 255.255.255.0)
VLAN 2 (172.20.2.254 255.255.255.0)
VLAN 3 (172.20.3.254 255.255.255.0)
VLAN 4 (172.20.4.254 255.255.255.0)
VLAN 1 has one workstation connected
VLAN 2 has one workstaion connected
VLAN 3 has none at the moment, but I will and wanted to use it for management
VLAN 4 has one server connected running DHCP)
DHCP IP 172.20.4.64/24
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: