Solved

Default gateway

Posted on 2014-11-11
3
132 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
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…

777 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