Link to home
Start Free TrialLog in
Avatar of PCF IT
PCF ITFlag for Canada

asked on

Default gateway

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.
Avatar of David Akinsanya
David Akinsanya
Flag of United States of America image

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.
Avatar of PCF IT

ASKER

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!
ASKER CERTIFIED SOLUTION
Avatar of David Akinsanya
David Akinsanya
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial