Solved

Default gateway

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now