Sunday, May 16, 2021

devices connected to vlan doesn't receive ip address and can't access internet

Hi Everyone !

I'm struggling about those VLAN things. It's my first time to create VLAN in real network. I have always used Packet tracer. When i connect a laptop to my VLAN, none ip address is assigned to the laptop and it can't access internet. There's my set up:

I have a Nokia router with this IP : 192.168.1.254 .

A Layer 2 Switch planet WGSW-24040 with this configuration:

The swicth port GigabitEthernet 1/1 is in TRUNK mode and connected to the router.

When i connected my laptop to any port of VLAN 1, my laptop get a correct ip like 192.168.1.X with gateway 192.168.1.254 and my laptop can access to internet. But when i connect my laptop to any port of VLAN 2 or VLAN 3, the device doesn't get ip address and lose internet access.

I would like to achieve this:

Any device connected to VLAN 2 should get ip addresse like 192.168.2.X and 192.168.3.X for VLAN 3.

Please help me, i have watched a lot of youtube videos but can't find what i'm missing.



No comments:

Post a Comment