Motivation and Study Techniques to help you learn, remember, and pass your technical exams!
Cisco CISSP CEH More coming soon...
Visit us
www.mindcert.com
Routing between VLANS Can use Router on a stick
Common on L3 switches VLAN Interfaces are represented as interface vlan # where # is the VLAN number This is the gateway for hosts on the VLAN Give the VLAN interface an IP Address
Subscribe via RSS
Inter VLAN Routing Connected Interface
Administrative Distance of 0
Can use VLAN interfaces
Where a single interface routes between different networks
Can use ISL or 802.1q
Administrative Distance of 1
Apart from a static route to a connected interface - AD of 0 To get to 1.1.10/24 go via 2.2.2.2
Congures a Fast Ethernet port on a router as a trunk
Static Routing
Router(config)ip route 1.1.1.0 255.255.255.0 2.2.2.2
Administrative Distance of 110 Uses Areas Area 0 is the backbone
Have to create sub interfaces and tag these with the correct VLAN
First select fa0/1 No L3 info is needed Ensure the interface is up Congure the sub interface Not essential It is good practice to match the sub interface number with the VLAN number
Router(config)#interface fa0/1 Router(config-if)#no ip-address Router(config-if)#no shutdown
Router(config)#router ospf 1
1 is the process ID Sets the Router ID Places host 1.1.1.1 into the OSPF process Places network 192.168.1.0 into the OSPF process Network is a wildcard entry
Router(config-router)#router-id 192.168.1.1
Router(config-if)#interface fa0/1.1
CCNA Level IP Routing Routing on a Stick
Conguration
OSPF
Conguration
Router(config-router)#network 1.1.1.1 0.0.0.0 area 0
Congure L3 on the interface This will become the gateway for the VLAN You can use dot1q or ISL
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0 Router#show ip ospf database Router#show ip ospf neighbor
Router(config-subif)#ip address 10.0.0.1 255.255.255.0
As this is a trunk, the encapsulation must be set This is where the VLAN is mapped
Show Commands
Router(config-subif)#encapsulation dot1q 1 native
Administrative Distance of 120
In this case it is VLAN 1
It is a good idea to identify the native VLAN
Router(config)#router rip Router(config-subif)#exit
Dynamic Routing
RIP
Conguration
Router(config-router)#version 2 Router(config-router)#no auto-summary Router(config-router)#network 2.2.2.2 Router(config-router)#network 192.168.1.0
Show commands
Congure the sub interface for VLAN 2 Congure L3 on the interface
Router(config-if)#interface fa0/1.2
Router(config-subif)#ip address 10.1.0.1 255.255.255.0 Router(config-subif)#encapsulation dot1q 2
Sets dot1q encapsulation for VLAN 2
Router#show ip rip database
Administrative Distance of 90
Router(config)#router eigrp 1
Conguration
1 is the Autonomous System ID Places host 1.1.1.1 into EIGRP Places network 192.168.1.0 into EIGRP Network is a wildcard entry
Router(config-router)#network 1.1.1.1 0.0.0.0
EIGRP
Router(config-router)#network 192.168.1.0 0.0.0.255 Router#show ip eigrp neighbors Router#show ip eigrp topology
Show commands