User Tools

Site Tools


cisco_inter_vlan_routing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
cisco_inter_vlan_routing [2024/01/21 00:23] – [Logical Interfaces] walkeradmincisco_inter_vlan_routing [2024/01/21 13:35] walkeradmin
Line 1: Line 1:
 ====== Cisco Inter VLAN Routing ====== ====== Cisco Inter VLAN Routing ======
 +==== aka Switch Virtual Interfaces (SVIs) or Management Interface ====
 <color #db5f0b>Jan 2024</color> <color #db5f0b>Jan 2024</color>
 \\  \\ 
Line 149: Line 150:
 Now that we have two devices connected to our VLAN and each VLAN has an IP Address in each Subnet, we can Ping our two devices from the Switch Interface: Now that we have two devices connected to our VLAN and each VLAN has an IP Address in each Subnet, we can Ping our two devices from the Switch Interface:
 \\  \\ 
 +\\ 
 +<color #ed1c24>**** If you set the VLAN address for example to 192.168.1.1 then this must be the gateway on your device ****</color>
 <file> <file>
 ping 192.168.1.38 ping 192.168.1.38
Line 192: Line 195:
 \\  \\ 
 \\  \\ 
-To enable IP Routing on the switch, we will use the following:+To enable <color #ed1c24>IP Routing</color> on the switch, we will use the following:
 \\  \\ 
 +  en
 +  conf t
 +  ip routing
 +  end
 +There is no text return from running this command.
 \\  \\ 
 +\\ 
 +No we can test to see the routes by using the following:
 <file> <file>
 sh ip route sh ip route
 +
 Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
        D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area        D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
Line 211: Line 222:
 C    192.168.1.0/24 is directly connected, Vlan10 C    192.168.1.0/24 is directly connected, Vlan10
 </file> </file>
 +\\
 +We can see that the two <color #ed1c24>interface VLANs</color> are shown (10.43.30.0 is directly connected, Vlan20 and 192.168.1.0/24 is directly connected, Vlan10).
 \\  \\ 
 \\  \\ 
-<color #ed1c24>**** seems my switch doesn't support this..... please standby while I source another.. ****</color>+Now try to ping from Device A (192.168.1.38) to Device B (10.43.30.100). Remember, the gateway of Device A must be the IP Address of VLAN 10 (192.168.1.1 in this example). 
 +\\  
 +<file> 
 +Pinging 10.43.30.100 with 32 bytes of data: 
 +Reply from 10.43.30.100: bytes=32 time<1ms TTL=127 
 +Reply from 10.43.30.100: bytes=32 time=1ms TTL=127 
 +Reply from 10.43.30.100: bytes=32 time=1ms TTL=127 
 +Reply from 10.43.30.100: bytes=32 time<1ms TTL=127 
 +</file> 
 +Now we can communicate with devices in VLAN 20 from VLAN 10.
 \\  \\ 
 \\  \\ 
  
  
cisco_inter_vlan_routing.txt · Last modified: 2024/01/21 13:36 by walkeradmin