02-08-2012 01:43 PM - edited 03-07-2019 04:49 AM
I've got a C2960 (sw01) and a C2948. (sw02) The sw02 switch is trunked with sw01, and is meant to serve as an extension to the VLANs (1-4) that exist on sw01. It is trunking properly, however, how would I go about giving the sw02 an IP so that I can access it via SSH? Would I have to create a VLAN specifically on sw02 with an ip and switchport an interface to use it? I know that a VLAN can only have a single IP, but I'd like sw02 to have an IP on VLAN1 (192.168.1.0 subnet), is that possible?
Am I explaining this properly?
Solved! Go to Solution.
02-08-2012 02:10 PM
It could be an address in any one of the existing vlans . That looks like a catos switch . I believe it would be like "
set interface sc0 [vlan] [ip_addr[/netmask] [broadcast]] . The add you gateway set ip route default
02-08-2012 02:04 PM
Both switches should belong to one management(native) vlan. When you decided which vlan to use, give both swiches an ip address in same subnet. Yes you can use Vlan 1 and have S1 configured with 192.168.1.1/24 and S2 with 192.168.1.2/24.
Hope this helps
Eugen
02-08-2012 02:10 PM
It could be an address in any one of the existing vlans . That looks like a catos switch . I believe it would be like "
set interface sc0 [vlan] [ip_addr[/netmask] [broadcast]] . The add you gateway set ip route default
02-08-2012 02:17 PM
So specifying an IP on an existing vlan (vlan1=192.168.1.0 where I want the address) that already has an IP on the other (sw01) switch won't kill the IP on the other switch? Is the restriction of 1 IP per VLAN a switch-based limitation?
02-08-2012 02:29 PM
No it wont kill anything , these are layer 2 switches only and the only reason it has an address is to manage the switch .It just has to be a unique address within vlan 1 that is not being used. Seeing it is to only manage the switch why would you need more than 1 address on it ? A L3 switch you can create as many as you want . It is like any other device in vlan 1 like a server or pc . The switches with an ip address is just another device on vlan 1 .
02-08-2012 02:31 PM
Ok, cool. Unfortunately I left my device off-site in an unmanagable state, so I'll have to go on site and set up the IP on vlan1 on sw02 before I can confirm, but it seems like I'm headed in the right direction.
Thanks glen.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide