Establishing Internet Connectivity: Interconnecting Cisco Networking Devices, Part 1 (ICND1) v2.0
Establishing Internet Connectivity: Interconnecting Cisco Networking Devices, Part 1 (ICND1) v2.0
Establishing Internet Connectivity: Interconnecting Cisco Networking Devices, Part 1 (ICND1) v2.0
*127 (01111111) is a Class A address reserved for loopback testing and cannot be
assigned to a network.
RouterA#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
<output omitted>
Gateway of last resort is not set
RouterX>
• A configured router with an existing configuration displays a user EXEC mode prompt.
• Enters Serial 0/0/0 interface configuration mode and adds descriptive text
RouterX#configure terminal
RouterX(config)#interface Serial 0/0/0
RouterX(config-if)#shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to
administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed
state to down
RouterX#configure terminal
RouterX(config)#interface Serial 0/0/0
RouterX(config-if)#ip address 172.18.0.1 255.255.0.0
• Verifies the statistics for all interfaces that are configured on the router
© 2013 Cisco Systems, Inc. ICND1 — 2-77
What are the neighboring devices of the router?
• Displays information about neighboring devices discovered with Cisco Discovery Protocol
L2 = Layer 2
Routing Table
192.168.3.0/24 Interface Gi0/0
192.168.4.0/24 Interface Gi0/1
L3 = Layer 3
© 2013 Cisco Systems, Inc. ICND1 — 2-90
ARP provides two
basic functions:
• Resolving IP
addresses to MAC
addresses
• Maintaining a
cache of mappings
On the PC:
C:\Windows\system32>arp -a
Interface: 192.168.250.11 --- 0xb
Internet Address Physical Address Type
192.168.250.1 00-1b-0c-5d-91-0f dynamic
192.168.250.12 00-0c-29-13-cc-bf dynamic
On the router:
Branch#show ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.1.1.100 5 000c.2993.6a84 ARPA
GigabitEthernet0/0
Internet 10.1.1.101 4 000c.2913.ccc9 ARPA
GigabitEthernet0/0
<output omitted>
<output omitted>
RouterX#show access-lists
Standard IP access list 1
10 permit 172.16.0.0, wildcard bits 0.0.255.255
• Router automatically injects default route based on optional default gateway parameter
received with assigned IP address
Router#show access-list
access-list 1 permit 10.1.1.100 0.0.0.255
Router#debug ip nat
NAT*: s=10.1.1.100->209.165.201.1, d=172.16.1.100 [103]
NAT*: s=172.16.1.100, d=209.165.201.1->10.1.1.100 [103]
NAT*: s=10.1.1.100->209.165.201.1, d=172.16.1.100 [104]
NAT*: s=172.16.1.100, d=209.165.201.1->10.1.1.100 [104]
<output omitted>
Branch#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, + - replicated route
Gateway of last resort is 209.165.201.1 to network 0.0.0.0
C 10.1.1.0/24 is directly connected, GigabitEthernet0/0
L 10.1.1.2/32 is directly connected, GigabitEthernet0/0
C 209.165.201.0/27 is directly connected, GigabitEthernet0/1
S* 0.0.0.0/0 [1/0] via 209.165.201.1
RouterA#show access-list
Router#config terminal
Router(config)#no access-list 20
Router(config)#access-list 20 permit 10.1.1.0 0.0.0.255
C:\>ping 209.165.202.131
Pinging 209.165.202.131 with 32 bytes of data:
Reply from 209.165.202.131: bytes=32 time=107ms TTL=127
Reply from 209.165.202.131: bytes=32 time=70ms TTL=127
<output omitted>