cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
950
Views
0
Helpful
8
Replies

Changing Management Vlan

jlong186
Level 1
Level 1

I'm new to networking and using Packet Tracer to setup a simple network.  When I changed the management vlan from vlan1, I no longer can ping the management vlan.

 

The network comprises of:

- 1941 router

-  2960 switch

- PC

 

First, I configured the vlan 1 with an IP address to act as the management vlan.  Below are the IP addresses/info:

- 1941 router, g0/0 = 10.10.10.30/8

   -- connected to switch f0/24

- 2960 switch:

   -- vlan 1 = 10.10.10.20/8

   -- native vlan = vlan 1

   -- f0/24, switchport trunk, dot1q

   -- f0/1, switchport access, vlan 1

- PC = 10.10.10.10/8

   -- gateway: 10.10.10.30

   -- connected to f0/1

 

From PC, successfully pinged vlan 1(10.10.10.20) & router (10.10.10.30), & vice versa.

 

Then, I shutdown vlan1 & no ip address.  Native vlan is still vlan 1.  I then created a new management vlan, (vlan 186 = 10.10.10.20) & created vlan 186.  From PC & router, unsuccessfully pinged vlan 186.

 

Below is the output of "sh int trunk":

Switch#sh int tr

Port        Mode    Encapsulation    Status       Native vlan

Fa0/24    on        802.1q              trunking    1

 

Port        Vlans allowed on trunk

Fa0/24   1-1005

 

Port        Vlans allowed and active in management domain

Fa0/24   1,186

 

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/24    1,186

 

Can someone please help me figure out  why I can't ping the new management vlan?

8 Replies 8

sathvik k v
Level 3
Level 3

Can you share configuration of port in router and VLAN configuration. Also show vlan.

 

-Sathvik

Switch#sh vlan br

 

VLAN Name Status Ports

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

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Gig0/1

Gig0/2

186 VLAN0186 active

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

why is the trunk port not showing up in VLAN 186? 

I hope to understand your question.  The trunk port will not show under vlan 186 using the "sh vlan" command.  Trunk ports will show up using "show interface trunk" command.

Router#sh ip route

 

 

Gateway of last resort is not set

 

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.0.0.0/8 is directly connected, GigabitEthernet0/0

L 10.10.10.30/32 is directly connected, GigabitEthernet0/0

Dennis Mink
VIP Alumni
VIP Alumni

No need to use native vlan.

 

use for instance vlan 100, add vlan100 as the access port vlan. and put an SVI on your router, using vlan 100.

 

native vlan's confuse most people and 99.99% of the time are used for no good reason.

Please remember to rate useful posts, by clicking on the stars below.

Please bear in mind, I am using Packet Tracer and the setup is very simple network.  The configuration are mostly default setting.  I did not changed nor played with the native vlan.  

jlong186
Level 1
Level 1

Router#sh run

Building configuration...

 

Current configuration : 616 bytes

!

version 15.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Router

!

!

!

!

!

!

!

!

ip cef

no ipv6 cef

!

!

!

!

license udi pid CISCO1941/K9 sn FTX1524Y77V

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface GigabitEthernet0/0

ip address 10.10.10.30 255.0.0.0

duplex auto

speed auto

!

interface GigabitEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

 

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

 

Switch#sh run

Building configuration...

 

Current configuration : 1150 bytes

!

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Switch

!

!

!

!

!

spanning-tree mode pvst

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

switchport mode trunk

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

no ip address

shutdown

!

interface Vlan186

mac-address 0001.c958.d601

ip address 10.10.10.20 255.0.0.0

!

!

!

!

line con 0

!

line vty 0 4

login

line vty 5 15

login

!

!

!

end

 

 

Review Cisco Networking products for a $25 gift card