cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wjalex4
New Contributor

Cannot ping IP address of switch unless it's assigned to VLAN 1.

I am learning.  I have a NetVanta 1531P with port Gigabit 0/10 connected to my Windows laptop.  The laptop Ethernet port is static assigned 100.100.60.199/24.

(I have attached my 1531P config to this post.)

If I assign IP address 100.100.60.97/24 to "VLAN 1", I can ping it from the laptop.

However, if I instead assign the IP address 100.100.60.97 to "VLAN 901", I cannot ping it.  Even setting "switchport mode trunk" on port Gigabit 0/10 makes no difference.

What am I missing?  Thanks so much. --Walter

Walter J. Alexander, IV
0 Kudos
1 Reply
lpomatto
New Contributor

Re: Cannot ping IP address of switch unless it's assigned to VLAN 1.

you need to add to your command the default vlan to the commands

switchport mode trunk

switchport trunk native vlan 901.  this will cause untagged data to be processed by adding a vlan on it.

another approach would be to issue the following commands

switchport mode access

switchport access vlan 901.

hope that this helps.