Routing a Network to a Vlan

We have a router that is located in a Vlan that is configured on our main layer 3 switch (Cisco 3750). Is it possible to set up a network route on the core switch that will pass traffic to the router in the Vlan?

Details:
Core switch IP 10.10.10.1
Vlan 10.11.11.1
Router in Vlan 10.11.11.254.

We need to route this network: 10.80.100.0 255.255.255.0 to the router that is located in the Vlan.

Added ip route 10.80.100.0 255.255.255.0 10.11.11.254 to the core switch but anything located outside of the Vlan does not get routed by the core switch.

Thanks.
cfcu_isAsked:
Who is Participating?
 
cfcu_isConnect With a Mentor Author Commented:
Thanks for the advice. Nothing solved our issue. Maybe next time.
0
 
rl3Commented:
try 'ip route 10.80.100.0 0.0.0.255 10.11.11.254'
0
 
cfcu_isAuthor Commented:
No, I get: '%Inconsistent address and mask' message when trying to add that route.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
rl3Commented:
should work for the examples below.  basically you want any devices on this network to be forwarded to 10.11.11.254.  



try 'ip route 10.80.100.0 0.0.0.0 10.11.11.254'
or
try 'ip route 10.80.100.0 255.255.255.255 10.11.11.254'
0
 
Sandeep GuptaConsultantCommented:
since you are not using any dynamic routing protocol then you need to define static route for each network to 10.11.11.254.

you did correct for 10.80.100.0/24 network.

ip route 10.80.100.0 255.255.255.0 10.11.11.254

if you are using dynamic routing protocol then you just need to add this command

redistribute connected

this command advertises all th cascaded network behind 10.80.100.0/24
0
 
pistanuCommented:
please try   (config)#ip route 10.80.100.0 255.255.255.0 vlan XXX
0
 
cfcu_isAuthor Commented:
Closed question. No answer provided.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.