Sie sind auf Seite 1von 5

Hands on Final Study Guide

Addressing Scheme
Subnetting

Cable the Network

Basic Router Configuration

Assign IP Addresses to Interfaces

Default and Static Routing


Advertise the directly connected networks using the next hop address instead of using the exit interface. Exit interface does not work frame-relay. Example: use 0.0.0.0 0.0.0.0 200.100.50.25 instead of 0.0.0.0 0.0.0.0 s0/0/0

Frame Relay
Router#configure terminal Router (config)#interface (type interface ex: s0/0/0) Router (config-if)#encapsulation frame-relay ietf Router (config-if)#no keepalive Router (config-if)#ip address (type ip address and mask ex: 192.168.1.2 255.255.255.0) Router (config-if)#no shutdown Router (config-if)#frame-relay map ip (type ip address of other router ex: 192.168.1.1 201) ietf broadcast Router (config-if)#clock rate 64000 (on the DCE interface only!) Router (config-if)#bandwidth (type bandwidth desired ex: 64) Router (config-if)#description (type a description ex: PVC to Washington)

Hands on Final Study Guide


Check using: Router# show frame-relay pvc Router# show frame-relay map Ping from one router to the other

PPP with Chap or pap


Router(config)# interface (type interface ex: s0/0/0) Router(config-if)# encapsulation ppp Router(config-if)# exit Router(config)#username (the opposite router name) password (type password) Router(config)# interface (type interface ex: s0/0/0) Router(config-if)# ppp authentication (type either chap or pap)

EIGRP
Router(config)# router eigrp 1 Router(config-router)# network (the ip add for the network)(wildcard mask) Router(config-router)# no auto-summary (because of discontiguous subnets) Router(config-router)# redistribute static

OSPF
Router(config)# router ospf 1 Router(config-router)# network (the ip add for the network)(wildcard mask) area (area number) Router(config-router)# default-information originate

Hands on Final Study Guide


NAT
Task 7: Configure Dynamic NAT with a Pool of Addresses (WHEN USING PAT, DO NOT CREATE A POOL OF ADDRESSES) Step 1. Define a pool of global addresses. R2(config)# ip nat pool MY-NAT-POOL (type ip range ex: 209.165.200.241 209.165.200.246) netmask (type subnet mask of ip range ex: 255.255.255.248) Step 2. Create an extended access control list to identify which inside addresses are translated: R2(config)# ip access-list extended (type a name for the ACL ex: NAT) R2(config-ext-nacl)# permit ip (type ip and wildcard of subnet ex: 192.168.10.0 0.0.0.255) any R2(config-ext-nacl)# permit ip (type ip and wildcard of subnet ex: 192.168.11.0 0.0.0.255) any Step 3. Establish dynamic source translation by binding the pool with the access control list. R2(config)# ip nat inside source list (type ACL name ex: NAT) pool (type pool name ex: MYNAT-POOL) When using PAT R2(config)# ip nat inside source list (type ACL name ex: NAT) (use an interface instead of a pool of addresses) interface (type outside interface ex:S0/0/1) overload Step 4. Specify inside and outside NAT interfaces. R2(config)# interface (type interface ex: s0/0/1) R2(config-if)# ip nat outside R2(config-if)# interface (type interface ex: fa0/0) R2(config-if)# ip nat inside R2(config)# interface (type interface ex: s0/0/0) R2(config-if)# ip nat inside Step 5. Verify the configuration. Ping ISP from PC1 or the Fast Ethernet interface on R1 using extended ping. Then use the show ip nat translations and show ip nat statistics commands on R2 to verify NAT.

Hands on Final Study Guide

DHCP
Step 1. Exclude statically assigned addresses. R2(config)# ip dhcp excluded-address (type range of addresses to be used for static addresses in each subnet ex: 192.168.10.1 192.168.10.10) R2(config)# ip dhcp excluded-address (type range of addresses to be used for static addresses in each subnet ex: 192.168.11.1 192.168.11.10 Step 2. Configure the pool. Create the DHCP pool using the ip dhcp pool command: R2(config)# ip dhcp pool (pool name ex: R1Fa0) Specify the subnet to use when assigning IP addresses R2(dhcp-config)# network (type network address and mask for each subnet on router ex: 192.168.10.0 255.255.255.0) Configure the default router and domain name server for the network. R2(dhcp-config)# dns-server (type ip address of the dns server ex: 192.168.11.5) R2(dhcp-config)# default-router (type ip address of the default router ex: 192.168.10.1) Because devices from different networks may also request addresses from R2, a separate pool must be created to serve devices on that network. R2(config)# ip dhcp pool (pool name ex: R1Fa1) R2(dhcp-config)# network (type network address and mask for each subnet on router ex: 192.168.11.0 255.255.255.0) R2(dhcp-config)# dns-server (type ip address of the dns server ex: 192.168.11.5) R2(dhcp-config)# default-router (type ip address of the default router ex: 192.168.11.1)

Hands on Final Study Guide

Configure a helper address. Network services such as DHCP rely on Layer 2 broadcasts to function. When the devices providing these services exist on a different subnet than the clients, they cannot receive the broadcast packets. Because the DHCP server and the DHCP clients are not on the same subnet, configure R1 to forward DHCP broadcasts to R2, which is the DHCP server, using the ip helperaddress interface configuration command. Notice that ip helper-address must be configured on each interface involved. R1(config)# interface (type interface for each subnet on router ex: fa0/0) R1(config-if)# ip helper-address (type ip address of the inside interface on DHCP router ex: 10.1.1.2) R1(config)# interface (type interface for each subnet on router ex: fa0/1) R1(config-if)# ip helper-address (type ip address of the inside interface on DHCP router ex: 10.1.1.2)

Das könnte Ihnen auch gefallen