• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 381
  • Last Modified:

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.
0
cfcu_is
Asked:
cfcu_is
1 Solution
 
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
 
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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:
Thanks for the advice. Nothing solved our issue. Maybe next time.
0
 
cfcu_isAuthor Commented:
Closed question. No answer provided.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now