Posted on 2013-12-21
Last Modified: 2013-12-21
I need some advice on setting up a network that requires 5 different vlans. I have two layer 2 switches and a layer 3 switch. (The layer 3 switch will then be connected to a firewall which then goes to the ISP router), but I only need help first on the switches and how to configure them.

This is my setup so far

vlan 10- IT -
vlan 20- Wareshouse -
vlan 30-Sales -
vlan 40-Exec -
vlan 50-Servers -

I need to make a default gateway for each network.
Do I make another vlan for management (like and make interface vlan .61 and .62 for the 2 layer 2 switches to login and manage?
Where do I set the default gateways for all 5 subnets, on the layer 3 switch? On the layer 3 switch do I use the interface vlan id ip address for each subnet? The default gateway for the entire network will be the inside interface of the firewall.
Just need some guidance on this.
Question by:tolinrome
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
  • 4
LVL 57

Accepted Solution

giltjr earned 500 total points
ID: 39734189
To make things easier you will need at least one more VLAN that is for a small network between the L3 switch and the firewall.

The connection between the L2 and the L3 switch will need to be configured to support multiple tagged VLAN's (on Cisco devices this is known as a trunked  connection).

The L3 switch will need to have an IP address on each VLAN and this will be the default gateway for each of the VLAN's.

For only 3 devices I don't think you need a management VLAN.  I would assign address to the 3 devices in the "IT" VLAN.

Author Comment

ID: 39734198
ok so, since the L3 switch will have all the default gateways, how do I actually enter them in the switch?

I think I wouldn't use ip default-gateway command since that will be the actual devices default gateway (inside interface firewall). Which command do I use on the L3 switch for setting up the L3 gateways?

Trunks I can do, so I go that. I can create the other vlan between the L3 and firewall, so that's good, and the management vlan I'm good.
LVL 57

Expert Comment

ID: 39734209
Well that depends on what type of L2 switch it is.  Not all L3 switches use the same commands.

Example on a Cisco switch it would be something like:

config t
vlan 10
state active
name IT
interface vlan 10
ip address
desc IT
vlan 20
state active
name Wareshouse
interface vlan 20
ip address
desc Wareshouse

and so on.
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.


Author Comment

ID: 39734211
Ok, got it.
One last thing, how do I route all the traffic from the L3 to the inside int of the firewall?
LVL 57

Expert Comment

ID: 39734216
I am assuming that you have another VLAN/IP subnet between your L3 switch and the firewall.

You just make the IP address of the inside interface of the firewall the defualt gateway/route on the L3 switch.

What type of L2 and L3 devices do you have?

Author Comment

ID: 39734219
"You just make the IP address of the inside interface of the firewall the defualt gateway/route on the L3 switch."

How? #ip route command?

All cisco devices 2900's and 3560
LVL 57

Expert Comment

ID: 39734226

ip route x.x.x.x

where x.x.x.x is the inside interface of the firewall.

Don't forget that you need to make the connection between the L2 switches and the L3 switches a trunk with all of your VLAN's allowed.

Author Comment

ID: 39734243

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unable to login to Cisco C800 Ver 15.3(3)M4 8 56
Connecting via HTTP / HTTPS 10 80
VRRP for HP Switch 4 13
3Com 4500G doesn't keep IP configuration 4 13
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (, 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…

739 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