cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1411
Views
0
Helpful
2
Replies

3rd VLAN interface doesn't add correctly

craig.letheren
Level 1
Level 1

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

David Hornstein
Level 7
Level 7

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.

View solution in original post

2 Replies 2

David Hornstein
Level 7
Level 7

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.

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X