Reply to Message

Reply to Message

View discussion in a popup

Replying to:
Moderator
Moderator

Re: VLAN Routing and Config

Lets get rid of the vlan association commands

• vlan association subnet 192.168.10.0 255.255.255.0 2

vlan association subnet 192.168.16.0 255.255.255.0 3

I just want to double check and confirm that when you are setting a static IP address for a computer, it would similar to this.

Example for VLAN 2.

IP address = 192.168.10.1

Subnet=255.255.255.0

Gateway = 192.168.10.210

Example for VLAN 3.

IP address = 192.168.16.1

Subnet=255.255.255.0

Gateway = 192.168.16.210

The thing that is important here is that the gateway is set to the IP address of whatever VLAN the computer is accessing.  And not the 192.168.11.254 default gateway.

We can also look and see if the VLANs are showing up on the routing table with the command.

Show ip route.

Thanks

Daniel Covey
Dell EMC| Enterprise Support Services
Get support on Twitter:@DellCaresPRO
Download our QRL app:iOS, Android, Windows
Dell Networking Resources

0 Kudos