interface range f0/1-2 channel-group 1 mode active interface port-channel 1 switchport mode trunk Topology : PC-VLAN10 — SW1 (Trunk) — R1 (subinterfaces) — PC-VLAN20
interface g0/0.10 encapsulation dot1Q 10 ip address 192.168.10.1 255.255.255.0 interface g0/0.20 encapsulation dot1Q 20 ip address 192.168.20.1 255.255.255.0 : ping from PC in VLAN10 to PC in VLAN20 Lab 5 – Static & Default Routing Topology : R1 — R2 — R3 interface range f0/1-2 channel-group 1 mode active interface
ip dns server ip host www.ccnalab.com 192.168.1.100 Topology : WLC – Switch – AP – Laptop (wireless) interface range f0/1-2 channel-group 1 mode active interface
:
access-list 100 deny tcp any any eq telnet access-list 100 permit ip any any interface g0/1 ip access-group 100 in Static NAT : interface range f0/1-2 channel-group 1 mode active interface
spanning-tree vlan 1 root primary show spanning-tree :
ip nat inside source static 192.168.1.10 200.1.1.10 interface g0/0 (inside) ip nat inside interface s0/1/0 (outside) ip nat outside :