Objectives
The simulator ticks each one as soon as the network meets it.
Create VLAN 10 and VLAN 20.
Put Ethernet1 in VLAN 10 and Ethernet2 in VLAN 20.
Create interface Vlan10 192.168.10.1/24 and Vlan20 192.168.20.1/24.
Turn on ip routing.
Ping PC2 from PC1.
Before you start
interface Vlan10 creates the routed SVI; EOS takes the address in prefix form (ip address 192.168.10.1/24). An SVI is up while an active port is in its VLAN. Without ip routing the switch does not route between them.
Concept
Inter-VLAN routing on a Layer 3 switch (SVI / VLANIF)
A Layer 3 switch can route between its own VLANs. Each VLAN gets a virtual interface (Cisco SVI interface vlan 10, Huawei interface Vlanif 10) holding that VLAN’s gateway address, so no external router or trunk is needed.