Solved

vlans

Posted on 2013-01-13
4
172 Views
Last Modified: 2013-02-11
Hi experts,

I am using two routers on board (RB) and i have cisco switch 2960 which more than 9 departments connected to this switch also i have two wan cable connected to same switch right now i created two vlan vlan2 for wan1 and vlan3 for wan2 i am using 192.168.20.1-255 and 192.168.8.1-255 on both lines.
I want to create more than one vlan on the switch for each wan without inter vlan as i don't want vlans reach each other.
I created vlan4 on each wan line but when i connect pc to this vlan cannot get ip address,

Thanks in advance
0
Comment
Question by:lexmark1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 18

Expert Comment

by:Akinsd
ID: 38772137
WAN is only possible between routers. L2 Switch connections are strictly "Intranet" and can only be LANs.

2960 is a layer 2 switch meaning it is not capable of routing packets. When you create vlans, the traffic can only traverse one vlan to another through their gateways on a routable port.

You either need a Layer 3 switch and disable switchport on one of the ports or use the interfaces on your routers. You will then configure "router-on-a-stick" unless you have enough ports on the router to dedicate to each vlan. Router-On-A-Stick is the most common method anyways due to its cost savings benefit.

Eg
vlan 1 192.168.1.0 /24
An interface on the router would be 192.168.1.1 for example. That becomes the gateway for vlan 1.

vlan 2 192.168.2.0 /24
An interface on the router would be 192.168.2.1 for example. That becomes the gateway for vlan 2.

Each device in a vlan would have to go through the door (its gateway) to reach other devices that are not in its subnet (vlan) including the internet.

For multiple vlan structure and dhcp, you need to configure ip helper on each gateway poiting to a dhcp server. DHCP requests are broadcasts (arp messages) and those do not naturally travel outside a subnet.
0
 
LVL 9

Expert Comment

by:Sandeep Gupta
ID: 38773636
create two vtp domains for each WAN and put your multiples VALNS in each VTP domain.
0
 

Author Comment

by:lexmark1
ID: 38773726
Hi guptasan26 and akinsd, thank you for your answers
But could you guide me step by step how to do and what do you mean by create two vtp domains for each WAN and put multiples VLANS in each VTP domain.

More appreciate
0
 
LVL 16

Accepted Solution

by:
vivigatt earned 500 total points
ID: 38774432
If you want to have a single DHCP server for all the VLANs, you need to add an "IP helper" on your router (or Layer-3 switch). And scopes for all the VLANs in the DHCP configuration.

As far as I am concerned, I would use a Layer-3 switch instead of your 2960 switch. It will be much easier to configure and understand (and you do might some routing capabilities)
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As dyndns has reduced the capabilities of the free service, I looked around for other free providers of Dynamic DNS service. After testing several I decided to move my DNS hosting to Hurricane Electric as then domains that require dynamic hostnam…
If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question