Link to home
Start Free TrialLog in
Avatar of sysnimda
sysnimda

asked on

How to configure a new subnet on a cisco switch

Hello -

I have 4 switched stacked WS-C2960S-48FPS-L and I am needing to setup a new IP address range for some new devices. This range will be a class C /24 (172.22.23.1-172.22.23.254). How would I go about doing that on the switches? We also have a wireless network, so I need to ensure this is working with that network as well. I truly appreciate all your help!

Thank you!
Avatar of David Sankovsky
David Sankovsky
Flag of Israel image

That depends on how your other networks are configured.
Is this going to be a separate VLAN with a defined VLAN ID?
Do you need the switch to have an address on this network?

If the answer to both questions "no" then you probably don't have to configure anything at all.. If you do have VLANs or you need the switch to hold an IP address from that range, that's a different story
Avatar of sysnimda
sysnimda

ASKER

yes I need switch to hold IP address from that range
separate VLANs
You do realize that 172.22 is a public not private ip subnet ?
Can it be used Mr. Johnson?
actually I was wrong.. 172.16.xx - 172.31.255.255 xx is private  address space
Ignore my previous comment
No worries, thanks for checking.
ASKER CERTIFIED SOLUTION
Avatar of kevinhsieh
kevinhsieh
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Nice, thank you! Now, I have a wireless VLAN already and I want this new VLAN to communicate with that VLAN, how do I set that up? THANKS!
What does your routing?

Do you know the difference between a L2 VLAN and an L3 IP subnet?
L3 IP Subnet is used to route and a L2 VLAN is just to segment my LAN.

On my core router I have these routes.

 172.22.0.0/16 is variably subnetted, 11 subnets, 2 masks
C       172.22.24.0/24 is directly connected, Vlan124
C       172.22.31.0/24 is directly connected, Vlan131
C       172.22.20.0/22 is directly connected, Vlan120
C       172.22.10.0/24 is directly connected, Vlan110
C       172.22.11.0/24 is directly connected, Vlan111
C       172.22.8.0/24 is directly connected, Vlan108
C       172.22.9.0/24 is directly connected, Vlan109
C       172.22.14.0/24 is directly connected, Vlan114
C       172.22.13.0/24 is directly connected, Vlan113
C       172.22.1.0/24 is directly connected, Vlan101
C       172.22.7.0/24 is directly connected, Vlan107
S*   0.0.0.0/0 [1/0] via 172.22.7.1
On the core switch you need to create the L2 and L3 interfaces. On the L3 interface set the IP address.
To get an idea of how the interfaces are configured in your network, look at the running configuration.