Sabtu, 26 Oktober 2013

configuration router


 


Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
R1
G0/0 192.168.10.1 255.255.255.0 N/A
G0/1 192.168.11.1 255.255.255.0 N/A
S0/0/0 (DCE) 209.165.200.225 255.255.255.252 N/A
R2
G0/0 10.1.1.1 255.255.255.0 N/A
G0/1 10.1.2.1 255.255.255.0 N/A
S0/0/0 209.165.200.226 255.255.255.252 N/A
PC1 NIC 192.168.10.10 255.255.255.0 192.168.10.1
PC2 NIC 192.168.11.10 255.255.255.0 192.168.11.1
PC3 NIC 10.1.1.10 255.255.255.0 10.1.1.1
PC4 NIC 10.1.2.10 255.255.255.0 10.1.2.1
Objectives

Configure Router Interfaces
Configure the GigabitEthernet 0/0 interface on R1.
i. Enter the following commands to address and activate the GigabitEthernet 0/0 interface on R1:
R1(config)# interface gigabitethernet 0/0
R1(config-if)# ip address 192.168.10.1 255.255.255.0
R1(config-if)# no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed
state to up
j. It is good practice to configure a description for each interface to help document the network information.
Configure an interface description indicating to which device it is connected.
R1(config-if)# description LAN connection to S1
k. R1 should now be able to ping PC1.
R1(config-if)# end
%SYS-5-CONFIG_I: Configured from console by console
R1# ping 192.168.10.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/2/8 ms