CCNP Route Flashcards
List IPv4 Header Fields and their width in bits
Version (4) Header Length (4) Type of Service (8) Total Length (16) Identification (16) IP Flags (3) Fragment Offset (13) Time to Live (8) Protocol (8) Header Checksum (16) Source Address (32) Destination Address (32) IP Option (variable)
What is the IPv4 Identification field?
If the packet is fragmented this field will identify which packet the fragments belong to.
What is the IPv4 IP Flags field?
3 bits
1 - reserved (0)
2 - DF (Don’t Fragment)
3 - MF (More Fragments) - set on all fragmented packets except the last one.
How do IPv4 fragments get put back together?
- MF bit set to 1 on all except the last packet
- Fragment Offset dictates the order
- Identification field dictates which packet the fragments belong to
List common IPv4 protocol numbers
1 - ICMP 2 - IGMP 6 - TCP 17 - UDP 47 - GRE 50 - ESP 51 - AH 88 - EIGRP 89 - OSPF
Describe ARP request and reply. What are the source/destination MAC addresses and source/destination IP addresses.
ARP request - source MAC of requester, broadcast MAC (00:00:00:00:00:00:00) for destination, source IP of requester, destination IP of replier
ARP reply - source MAC of replier, destination MAC of requester, source IP of replier, destination IP of requester
Configure a DHCP server for the 192.168.12.0/24 network which excludes IP 192.168.12.100 and sets the gateway to 192.168.15.1, DNS to 8.8.8.8, and points IP phones to a TFTP server at 92.168.12.200.
hostname DHCP ! interface FastEthernet0/0 ip address 192.168.12.1 255.255.255.0 ! ip dhcp excluded-address 192.168.12.100 ! ip dhcp pool MYPOOL network 192.168.12.0 255.255.255.0 default-router 192.168.12.1 dns-server 8.8.8.8 option 150 ip 192.168.12.200 !
Describe what happens when a DHCP discover packet is relayed.
What is the source and destination IP of the relayed packet?
- The broadcast packet is re-encapsulated sent as a unicast packet to the server.
- When it is sent a field called giaddr (Gateway Address) is added. It adds the IP of the interface on which the DHCP packet was received into this field.
The source is the interface IP and the destination is the IP of the DHCP server.
What show command will let one see if a DHCP relay is configured
‘show ip interface’
Output will have:
Helper address is x.x.x.x
List fields and lengths of UDP header
source port (16) destination port (16) UDP length (16) UDP checksum (16)
List basic UDP bullet points
It operates on the transport layer of the OSI model.
Is a connectionless protocol, does not setup a connection…just sends data.
Limited error correction because we have a checksum.
Best-effort or unreliable protocol.
No data-recovery features.
List TCP header fields in order
Source port (16) Destination port (16) Sequence (32) Acknowledgement (32) Data Offset (4) Reserved (6) Flags (6) Window (16) Checksum (16) Urgent Pointer (16)
Describe the TCP sequence number field and its use.
- 32 bit
- random initial value
- receiver sends back ack based on this value (
Describe the TCP acknowledgement number and its use
- the receiver requests the next segment by increment the last received sequence number by 1 and placing it in this field
Data Offset
Length of TCP header
What is RSV field in TCP used for
Nothing - always set to 0
List TCP flags
URG - urgent pointer ACK - PSH - Tells application to transmit data immediately and don't fill entire segment RST - Used to reset the connection SYN - Used for 3 way handshake FIN - Used for normal end of session
What is the TCP window field and what is it used for?
- 16 bit
- Specifies number of bytes receiver is willing to receive.
What is the urgent pointer field in TCP?
When the URG bit has been set the urgent pointer indicates where the urgent data ends.
How do you calculate the bandwidth delay product?
bandwidth (bits per sec) x round trip time (in seconds)
List basic ICMP header fields
Type (8)
Code (8)
Checksum (16)
List major ICMPv4 type values
0 - echo reply 3 - destination unreachable 5 - redirect 8 - echo 11 - time exceeded 13 - Timestamp 14 - Timestamp reply
List common codes for ICMP destination unreachable
0 - net unreachable 1 - host unreachable 2 - protocol unreachable 3 - port unreachable 4 - fragmentation needed and df set 5 - source route failed 6 - destination network unknown 7 - destination host unknown 8 - source host isolated 9 - communication with destination network is administratively prohibited 10 - communication with destination net is administratively prohibited 13 - Communication administratively prohibited
List 3 problems that may be experienced if routing is asymmetric
- NAT failures
- Stateful inspection failures
- Unicast flooding
What is unicast flooding
This happens when a switch unintentionally floods unicast packets. If routing is asymmetric the switch on the return path may not learn the MAC address from the transmitting host.
What is needed to become an EIGRP feasible successor
- Must not be the successor
- The advertised distance < feasible distance of successor
How does one configure EIGRP unequal cost load balancing?
router mode:
variance <i>multiplier</i>
What protocol does EIGRP use for communication?
RTP (Reliable Transport Protocol) - IP protocol number 88
How are EIGRP hello packets sent on a multi-access network?
Multicast to 224.0.0.10
List EIGRP packet types
Hello Update Query Reply ACK
What are the administrative distances of the major routing protocols?
Directly connected: 0 Static: 1 EIGRP Summary 5 EBGP 20 EIGRP 90 IGRP 100 OSPF 110 IS-IS 115 RIP 120 EGP 140 ODR 160 EX EIGRP 170 iBGP 200 NHRP 250 Floating Static (ex. DHCP-learned) 254 Unknown 255
What is the command to view the EIGRP neighbor table and what information is contained in it?
show ip eigrp neighbors
Lists all directly connected neighbors
- H (Handle) - first neighbor gets 0 - next one 1 - gaps get filled
- Next Hop IP
- Interface
- Hold Time
- Uptime
- SRTT (Smooth round trip time)
- RTO (retransmission timeout)
- Q Count
- Seq Number
List codes in EIGRP topology table
P - Passive A - Active U - Update Q - Query R - Reply r - reply Status s - sia Status
When troubleshooting EIGRP what command shows active routes?
show ip eigrp topology active
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
A 10.100.1.1/32, 1 successors, FD is Inaccessible
1 replies, active 00:00:56, query-origin: Successor Origin
via 10.2.1.2 (Infinity/Infinity), Ethernet1/0
via 172.16.1.5 (Infinity/Infinity), r, Serial2/0, serno 562
via 10.2.1.3 (Infinity/Infinity), Ethernet1/0, serno 560