LearnerCryer

updated

1 year ago

L

LearnerCryer

1 Rookie

1 Message

2 Points

0

149

August 14th, 2025 08:44

Dell N2048P

Hi,

 

I would appreciate any assistance.

 

I'm currently learning how to set up VLANs, but things aren't working as expected.

 

My plan was to create four VLANs:

 

ports 1-12: VLAN 10

ports 13-24: VLAN 20

ports 25-36: VLAN 30

ports 37-48: VLAN 40

 

VLAN 10 should be able to communicate with all other VLANs, but the other VLANs shouldn't communicate with each other.

 

Is it possible to achieve this setup using just one Dell N2048P?

 

Even with a basic configuration like the one above, I couldn't get devices in one VLAN to ping devices in another.

ip routing
interface vlan 1 1
ip address 192.168.0.250 255.255.255.0
exit
interface vlan 10 2
ip address 192.168.4.1 255.255.255.0
exit
interface vlan 20 3
ip address 192.168.5.1 255.255.255.0
exit

interface vlan 30 3
ip address 172.16.0.1 255.255.252.0
exit
interface vlan 40 4
ip address 172.16.4.1 255.255.252.0
exit
ip default-gateway 192.168.0.1