Cannot ping new VLAN interface on Cisco 2960

Hi,

I am setting up some new VLAN's (there are a couple that already exist and are working fine) on a Cisco 2960 switch.

The problem I am having is that I have set-up the new VLAN's.  They exist in the switch and show as active, but before I go live with anyone, I want to test the routing.

This is where I am hitting the problem.  I try to ping the gateway (Interface) IP and instead of responding, it routes it to the next hop, which then routes it back.  I think this is correct as 2960 is a Layer 2 switch, but if I do a traceroute, the traffic just bounces between the switch and the router until it times out.

First I thought that maybe it was because I hadn't assigned that VLAN to any ports, so I looked for a port that didn't have any data on it (this is in a remote office) and quickly switched it across to the new port.  Did the same test and saw the same behaviour.

Now it could be that there is nothing attached to that port.  Would this make a difference or should the interface still respond?  I am doing a site visit tomorrow to move everyone across to the new VLAN, but am concerned that it is not going to work.

I don't want to waste time on a visit if it won't work, but am thinking that I may find that as soon as I move a real device on to the new VLAN that it will all start working.  I am a bit wary about not having tested it properly though.

Does anyone have any thoughts on this?

Here is some information that might help:-

EXTRACTS FROM SWITCH CONFIG:-

!
vlan 40
 name DataNetwork
!

Open in new window


!
interface Vlan40
 description ### DATA NETWORK ###
 ip address 10.20.1.254 255.255.255.0
 ip helper-address 172.16.1.12
!

Open in new window


SH VLAN command:-

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi1/0/11, Gi1/0/12, Gi1/0/13, Gi1/0/14
                                                Gi1/0/15, Gi1/0/18, Gi1/0/20, Gi1/0/21
                                                Gi1/0/26, Gi1/0/28, Gi1/0/30, Gi1/0/34
                                                Gi1/0/36, Gi1/0/39, Gi1/0/48, Te1/0/1
                                                Te1/0/2
3    OldDataNetwork                   active    Gi1/0/1, Gi1/0/3, Gi1/0/4, Gi1/0/9, Gi1/0/10
40   DataNetwork                      active
50   PhoneNetwork                     active    Gi1/0/2, Gi1/0/5, Gi1/0/6, Gi1/0/7, Gi1/0/8
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

Open in new window



SH INT command:-

Vlan1 is administratively down, line protocol is down
  Hardware is EtherSVI, address is 
  Description: [not-used]
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out
Vlan3 is up, line protocol is up
  Hardware is EtherSVI, address is 
  Description: OldDataNetwork
  Internet address is ***.***.***.***/24
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     13598561 packets input, 1030743555 bytes, 0 no buffer
     Received 0 broadcasts (477 IP multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     3213199 packets output, 555070540 bytes, 0 underruns
     0 output errors, 2 interface resets
     0 output buffer failures, 0 output buffers swapped out
Vlan40 is up, line protocol is down
  Hardware is EtherSVI, address is 
  Description: ### DATA NETWORK ###
  Internet address is 10.20.1.254/24
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 01:44:43, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     163 packets output, 14546 bytes, 0 underruns
     0 output errors, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out

Open in new window


Any thoughts?  Will this just work when some kit is plugged in?

I have seen mention online of the no autostate command, but I am not sure how to use it.....

Would that help?  Is there any other way to test this?


Jon
FriendlyITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jody LemoineNetwork ArchitectCommented:
VLANs need at least one active port to be considered "up" for purposes of accessibility, so any VLANs that have only inactive ports won't respond to pings.

One way around this is to put an active device on a port and configure it as a trunk, adding all of your new VLANs to that port. As long as the port is up, all VLANs assigned to the trunk should become active.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jody LemoineNetwork ArchitectCommented:
As for the question of VLANs with inactive ports – yes, they'll come up when a member port becomes active.
0
FriendlyITAuthor Commented:
Thanks for the prompt response Jody, so if I left the native port the same and set the additional VLAN's as allowed, would that be sufficient (without impacting the active device negatively?)

switchport trunk native vlan 3
switchport trunk allowed vlan 3,40

Open in new window

0
Turn Raw Data into a Real Career

There’s a growing demand for qualified analysts who can make sense of Big Data. With an MS in Data Analytics, you can become the data mining, management, mapping, and munging expert that today’s leading corporations desperately need.

Jody LemoineNetwork ArchitectCommented:
That should do it.
0
FriendlyITAuthor Commented:
Thanks.  I'll give that a try.
0
eeRootCommented:
On line #46 of the sh int command, it shows "Vlan40 is up, line protocol is down"  This is normal behavior for a newly created VLAN that does not have any physical connections yet.  Also, does the switch have a default gateway defined?
0
FriendlyITAuthor Commented:
Thanks Jody - that worked a treat.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.

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.