Solved

Default gateway

Posted on 2014-11-11
3
135 Views
Last Modified: 2014-11-11
We have Cisco 3750 and 4 Cisco 2960 connected to it.
 5 VLan are set on Cisco 3750.
Is it possible to assign a different gateway just for one VLan keeping all others on current one?
Thank you.
0
Comment
Question by:D_Batona
  • 2
3 Comments
 
LVL 18

Expert Comment

by:Akinsd
ID: 40435893
Every vlan (subnet) needs a default gateway otherwise it won't be able to talk to other vlans.
Default gateway and default route are viewed a little differently but mean the same thing.
The conventional default route is the gateway out of the network to the outside world

With that said, you may need to make your  concept a little clearer. A topology sketch will be helpful

Nevertheless, If you have 2 routers on the network within the same vlan eg Main Router 192.168.1.254, and another router or layer 3 switch with SVIs configured, let's say with an address of 192.168.1.253. You can configure the 2nd router or L3 switch with routes and make it the default gateway for some devices.
0
 

Author Comment

by:D_Batona
ID: 40435919
Sorry my bad English..
You are right.
Vlan1 10.10.10.0 gateway   10.10.10.1
Vlan2 10.10.20.0 gateway   10.10.20.1
Vlan3 10.10.30.0. gateway   10.10.30.1
etc...
Default route 0.0.0.0 for all of then is 10.10.2.1
I need to set it to 10.10.2.5 just for one particular Vlan leaving 10.10.2.1 for all others

Thank you!
0
 
LVL 18

Accepted Solution

by:
Akinsd earned 500 total points
ID: 40435942
Your description was correct. It's just that not too many people interchange default gateway with default route.

To answer your question, yes it is possible.

You will need to configure policy based route maps that will inject a default route based on an access list or distribution list.

http://www.networkworld.com/article/2345134/cisco-subnet/how-to-configure-default-routing-so-different-default-routes-are-used-based-on-the-sour.html
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Auto Voice Respond from Pilot no from UC560 1 60
VLAN Question! 9 62
TL-R470T+ and Cisco ASA 2 21
snmp v2 configuration on a switch 3 18
Cisco Pix/ASA hairpinning The term, hairpinning, comes from the fact that the traffic comes from one source into a router or similar device, makes a U-turn, and goes back the same way it came. Visualize this and you will see something that looks …
Have you experienced traffic destined through a Cisco ASA firewall disappears and you do not know if the traffic stops in the firewall or somewhere else? The solution is the capture feature. This feature was released in 6.2(1) and works in all firew…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

821 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