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

3rd VLAN interface doesn't add correctly

Hi there,

I'm having some difficulties with a 300 series switch running in L3 mode. I've created two VLANs each with an IP interface both of which are working fine without any problems. The problem I have is when additing a third VLAN and IP interface - for some reason the switch doesn't seem to add the subnet into its routing table as a directly connected route.

The first and second VLANs add correctly. It seems to be the third. I've factory defaulted the switch and still the same. Version is 1.1.2.0.

Setup is as follows:

VLAN1 - 10.20.2.253/24

VLAN2 - 192.168.2.253/24

VLAN3 - 192.168.3.253/24

Ping results are:

switch27b42e#ping 10.20.2.253

Pinging 10.20.2.253 with 18 bytes of data:

18 bytes from 10.20.2.253: icmp_seq=1. time=0 ms

18 bytes from 10.20.2.253: icmp_seq=2. time=0 ms

18 bytes from 10.20.2.253: icmp_seq=3. time=0 ms

18 bytes from 10.20.2.253: icmp_seq=4. time=0 ms

----10.20.2.253 PING Statistics----

4 packets transmitted, 4 packets received, 0% packet loss

round-trip (ms) min/avg/max = 0/0/0

switch27b42e#ping 192.168.2.253

Pinging 192.168.2.253 with 18 bytes of data:

18 bytes from 192.168.2.253: icmp_seq=1. time=0 ms

18 bytes from 192.168.2.253: icmp_seq=2. time=0 ms

18 bytes from 192.168.2.253: icmp_seq=3. time=0 ms

18 bytes from 192.168.2.253: icmp_seq=4. time=0 ms

----192.168.2.253 PING Statistics----

4 packets transmitted, 4 packets received, 0% packet loss

round-trip (ms) min/avg/max = 0/0/0

switch27b42e#ping 192.168.3.253

Pinging 192.168.3.253 with 18 bytes of data:

PING: net-unreachable

PING: net-unreachable

PING: net-unreachable

PING: net-unreachable

----192.168.3.253 PING Statistics----

4 packets transmitted, 0 packets received, 100% packet loss

Further output that may be of interest:

switch27b42e#show ip int vlan 1

    IP Address         Type     Directed   Precedence   Status

                                Broadcast

------------------- ----------- ---------- ---------- -----------

10.20.2.253/24      Static      disable    No         Valid

switch27b42e#show ip int vlan 2

    IP Address         Type     Directed   Precedence   Status

                                Broadcast

------------------- ----------- ---------- ---------- -----------

192.168.2.253/24    Static      disable    No         Valid

switch27b42e#show ip int vlan 3

    IP Address         Type     Directed   Precedence   Status

                                Broadcast

------------------- ----------- ---------- ---------- -----------

192.168.3.253/24    Static      disable    No         Valid

switch27b42e#show ip route

Maximum Parallel Paths: 1 (1 after reset)

IP Forwarding:          enabled

Codes: C - connected, S - static, D - DHCP

C  10.20.2.0/24       is directly connected                        vlan 1

C  192.168.2.0/24     is directly connected                        vlan 2

What am I doing wrong?

Thank you in advance.

Craig

1 ACCEPTED SOLUTION

Accepted Solutions

3rd VLAN interface doesn't add correctly

Hi Craig,

I don't think your doing anything wrong.

The route command shows that that IP interface for  VLAN3 is not connected, or at least nothing is physically plugged into VLAN3.

Plug a PC into VLAN3 and see if the interface route comes up.

I am just guessing that nothing is physically plugged into vlan3.

regards Dave.

2 REPLIES

3rd VLAN interface doesn't add correctly

Hi Craig,

I don't think your doing anything wrong.

The route command shows that that IP interface for  VLAN3 is not connected, or at least nothing is physically plugged into VLAN3.

Plug a PC into VLAN3 and see if the interface route comes up.

I am just guessing that nothing is physically plugged into vlan3.

regards Dave.

New Member

3rd VLAN interface doesn't add correctly

Simple as that!

I've just set a port into the VLAN and it now appears in the routing table. I'm kicking myself for not spotting it!

Thanks for your help.

925
Views
0
Helpful
2
Replies
CreatePlease login to create content