Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Management Vlan Routing

Hi,

I was building a small network in Cisco Packet Tracer and ran in to an issue.  I have 4 routers running OSPF, and off one of the routers I have 5 3560 Multilayer switches.  The router that the switches hang off of, I have a sub-interface with dot1q encapsulation, set for vlan 10 and an IP Address. 10.14.16.1/24.  The switches have interface vlan 10 configures, and have IPs in the same subnet.  From that router, I can ping/telnet to all the switches without issue.  My problem arises when I try and reach those switches from any other router.  OSPF is set to redistribute static and connected subnets.The routing table is populated correctly on all the routers.  When I ping and trace the packet, it looks like it makes it all the way to the respective switch, but the packet never makes it back.  I've played with the default route on the switches to no avail.  Am I trying to implement this incorrectly, or am I just missing something?

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: Management Vlan Routing

Hi Chris,

the problem is that you are missing the default gateway.

When you are configuring L2 switch (or L3 switch with no ip routing command) you need to set up default gateway (such as when configuring PC's) so that switch will know where to send packets that are destined for other networks, outside LAN.

So the problem lays in your switches configuration.

The problem in packet tracer is that you can't issue ip default-gateway command on Multilayer switches.

The only solution is to use either L2 switches instead of Multilayer switches or to enable ip routing with command ip routing and then you have two possibilities:

static default route, ip route 0.0.0.0 0.0.0.0 10.14.16.1

or to use ip default-network command, but I am not aware how this command works, you can study more here if you want to :

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094374.shtml#ipnetwork

Best regards,

Jan

4 REPLIES
Silver

Management Vlan Routing

Hi Chris,

can you please attach the packet tracer file so we can take a closer look at it?

Best regards,

Jan

New Member

Re: Management Vlan Routing

Here is the Cisco packet tracer file.  (Version 5.3.3)                  

Silver

Re: Management Vlan Routing

Hi Chris,

the problem is that you are missing the default gateway.

When you are configuring L2 switch (or L3 switch with no ip routing command) you need to set up default gateway (such as when configuring PC's) so that switch will know where to send packets that are destined for other networks, outside LAN.

So the problem lays in your switches configuration.

The problem in packet tracer is that you can't issue ip default-gateway command on Multilayer switches.

The only solution is to use either L2 switches instead of Multilayer switches or to enable ip routing with command ip routing and then you have two possibilities:

static default route, ip route 0.0.0.0 0.0.0.0 10.14.16.1

or to use ip default-network command, but I am not aware how this command works, you can study more here if you want to :

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094374.shtml#ipnetwork

Best regards,

Jan

New Member

Re: Management Vlan Routing

Thanks Jan.  I originally had the default route of "0.0.0.0 0.0.0.0 10.14.16.1" however I was missing the ip routing statement.  Once added, everything works perfectly.  Thanks again.

1800
Views
0
Helpful
4
Replies
CreatePlease to create content