Each VLAN in the network required a unique IP subnet because two devices in the same VLAN with different subnet addresses, cannot communicate. During the VLAN configuration this a common problem, and we can solve this problem by identifying the incorrect IP address configuration and changing the address to the correct one. For example, when you want to connect a client anywhere in the VLAN 10. You must require the valid subnet configuration. If you want to communicate outside the VLAN you must require valid default gateway. The default gateway must be the VLAN 10 SVI address. In the figure below, the host 1 cannot connect to the Web server shown.
A check of the IP configuration settings of host 1 shown in figure 2, reveals the most common error in configuring VLANs a wrongly configured IP address. Host 1 is configured with an IP address of 188.8.131.52, but it should have been configured with 192.168.10.55.
Change the host 1 IP address to correct IP address 192.168.10.55. The host 1 Ethernet configuration now shows the updated IP address of 192.168.10.55. The Figure below illustrates the output on the bottom reveals that host 1 has regained connectivity to the Web server found at IP address 192.168.10.250.
SVI is standing for Switched Virtual Interface. It is routed interface in IOS representing the IP addressing space for VLAN connected to this interface. The VLAN has no physical interface so, the SVI provides the Layer 3 processing for packets from all switch ports associated with the VLAN. With SVIs the switch uses virtual layer 3 interfaces to route traffic to another layer 3 interfaces which eliminate the need of the physical router.
For SVI configuration, ensure your switch has a VLAN represented by the SVI you want to create. The command for SVI configuration is following:
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config-if)#ip address 192.168.10.250 255.255.255.0