Switches, Hubs, and Modems
1753970 Members
7260 Online
108811 Solutions
New Discussion юеВ

Basic switch configuration

 
Hobbymenneke
Occasional Visitor

Basic switch configuration

I am trying to get an old hp 2524 to work

i configured my laptop with address 192.168.67.221/24 and connected it to port 2 of the switch

I configured a vlan 2 on the switch with ip address 192.168.67.220/24.

I tagged port 2 in vlan 2

I tried to ping the switch from the laptop and vice versa but get no respons.

Can anybody tel me what is missing in my HP switch config??

This is the current switch config

switch# sh runn

Running configuration:

; J4813A Configuration Editor; Created on release #F.05.17

hostname "switch"
cdp run
ip default-gateway 192.168.67.251
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 2,25
ip address dhcp-bootp
tagged 1,3-24,26
exit
vlan 2
name "VLAN2"
untagged 1,3-24,26
ip address 192.168.67.220 255.255.255.0
tagged 2,25
exit
no aaa port-access authenticator active

switch#

Kind regards
Gerard

2 REPLIES 2
LorenzoCastro
Frequent Advisor

Re: Basic switch configuration

Hello, you will need to configure your switchport as an untagged member of vlan 2.  If the port will only connect to devices that send traffic on a single vlan (a laptop/pc) then it needs to be an untagged member of the vlan.

Hobbymenneke
Occasional Visitor

Re: Basic switch configuration

Tnx, that did the trick, i misunderstood the meaning of tagged & untagged