An administrative distance of 0 is most preferred so

Info icon This preview shows pages 24–27. Sign up to view the full content.

View Full Document Right Arrow Icon
An administrative distance of 0 is most preferred, so a router running RIP and OSPF will prefer the OSPF routes most and install these in the routing table. Cisco routers use the longest prefix match rule when determining which of the routes placed into the routing table should be used to forward traffic to a destination network or node so the longest match from RIP will be preferred over a shorter match from OSPF (for example). Routing protocols maintain a table of networks and which interface they can be reached by. Examples RIP, OSPF. Routed protocols are used to transport traffic from source to destination. Examples: IP, IPX, Appletalk. BGP is an exterior gateway protocol. It is used to connect autonomous systems together. When a packet traverses the network from device to device (hop to hop) the IP address remains constant, the hardware (MAC) address changes. You may wish to stop routing updates from being sent on a certain interface. The command for accomplishing this is usually passive-interface [interface number] . You will still receive routing updates on this interface. Inter-VLAN Routing Using a layer 3 switch with SVIs (ICND2) or Router, with a VLAN trunk connecting switch. Create sub-interface for each VLAN that is required to be routed. Use 802.1Q and associate VLAN with sub-interface. Configure IP address for each. Also called router-on-a-stick Example: 23 R1(config)#interface fast 0/0.10 encapsulation dot1q 10 ip address 10.1.1.1 255.255.255.0 ! interface fast 0/0.20 encapsulation dot1q 20 ip address 20.1.1.1 255.255.255.0
Image of page 24

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Cisco CCENT Cram Guide v3.0 © Paul Browning 2017 The switch will need to have VLANs created, ports put into the relevant VLANs and a trunk link configured to the switch and the router interface. Add a default gateway to the router which will be VLAN 30 in the above config. RIP RIP is a distance vector protocol which UDP for transport and port 520. RIPv1 is classful and v2 is classless (so it sends subnet mask information in routing updates) and supports MD5 authentication. RIP will load balance over a maximum of 16 equal cost paths but the default is four (see below). RIPv1 broadcasts updates where as v2 updates via broadcasts were changed to multicasts on 224.0.0.9. RIP will summarize a network address at a network boundary, the no auto-summary command will disable this feature. A sample configuration is: 24 ! interface fast 0/0.30 encapsulation dot1q 30 ip address 30.1.1.1 255.255.255.0 R1(config-if)#router rip R1(config-router)#network 172.16.0.0 R1(config-router)#net 192.168.1.0 R1(config-router)#version 2 R1(config-router)#no auto-summary R1(config-router)#passive-interface f0/1 R1#show ip protocols Routing Protocol is “rip” Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Sending updates every 30 seconds, next due in 10 seconds Invalid after 180 seconds, holddown 180, flushed after 240
Image of page 25
Cisco CCENT Cram Guide v3.0 © Paul Browning 2017 NAT Network Address Translation will convert and address from the inside of your network to another address on the outside of your network and vice versa. It is most commonly used to convert a non-
Image of page 26

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 27
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern