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

Manage 2 vlan with a single PC

julio4546
Level 1
Level 1

I have a lab with 2 interconnected switches and 2 vlan: vlan 10 and vlan 14. I would like to manage both vlan from a single PC connected to a free port of one of the switches. How can I configure the switch and the PC? Attached image...

 

2 Replies 2

Martin L
VIP
VIP

 

managing networking gear is from reserved vlan x for such purpose; then you can manage all networking devices.  those L2 switches can have 1 SVI interface up, aka interface vlan x with ip address. and such interface is used to connect to switches via telnet or ssh.  also, L2 switches must have ip default gateway x.x.x.x to be able to reach outside network

otherwise, you would have to have PC in IT closet connecting to gear via console cable.

 

Regards, ML
**Please Rate All Helpful Responses **

Reza Sharifi
Hall of Fame
Hall of Fame

Pick a free port of one of the switches

Connect your pc/laptop to it.

add that port to one of the vlans (10 or 14). see config below for vlan 10 as an example.

Create an SVI on each switch for that vlan if there is none already. There should already be at least one SVI for each vlan so, you can route traffic between therm. If that is the case add another SVI to the other switch and put it in the same subnet as the other switch:

example for vlan 10 and IP range of 10.10.10.0/24

sw1 

interface vlan 10

ip address 10.10.10.1

no sh

sw2 

interface vlan 10

ip address 10.10.10.2

no sh

 

add the pc to vlan 10

interface x/x

switchport

switchport mode access

switch access vlan 10

 

on the pc

ip 10.10.10.100

gateway 10.10.10.1

 

Now ping 10.10.10.1 and 10.10.10.2 from that pc.

If ping is good, try accessing one of the switches via telnet and test.

HTH

Review Cisco Networking for a $25 gift card