Lab # 12 Data communication & Networking
Lab
TASK 1:
Configure EIGRP on the following network and show all necessary configuration steps
for each router.
192.168.1.5 172.16.0.5
100.0.0.1 100.0.0.2
`
Router 1 Router 2
192.168.1.0 172.16.0.0
Solution:
Topology:
Setting Ips and default gateway:
QAISER ABBAS (57245) Page no 1
Lab # 12 Data communication & Networking
Lab
Configuring EIGRP routing on router 1:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#Hostname R1
R1(config)#INT gig0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state
to up
R1(config-if)#exit
R1(config)#int se0/0/0
R1(config-if)#ip add 100.0.0.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
QAISER ABBAS (57245) Page no 2
Lab # 12 Data communication & Networking
Lab
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R1(config-if)#exit
Configuring EIGRP routing on router 2:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int gig0/0
R2(config-if)#ip add 172.16.0.1 255.255.0.0
R2(config-if)#no shutdown
R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state
to up
R2(config-if)#exit
R2(config)#int se0/0/0
R2(config-if)#ip add 100.0.0.2 255.0.0.0
R2(config-if)#clock rate 64000
This command applies only to DCE interfaces
R2(config-if)#no shutdown
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config-if)#
R2(config-if)#exit
Enabling EIGRP (R1):
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router eigrp 10
R1(config-router)#network 192.168.1.0 255.255.255.0
R1(config-router)#network 100.0.0.0 255.0.0.0
R1(config-router)#exit
R1(config)#
R1#
Enabling EIGRP (R2):
QAISER ABBAS (57245) Page no 3
Lab # 12 Data communication & Networking
Lab
R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router eigrp 10
R2(config-router)#network 100.0.0.0 255.0.0.0
R2(config-router)#network 172.16.0.0 255.255.0.0
R2(config-router)#exit
R2(config)#
Digital Ping test:
R1#show ip eigrp neighbors
Verify the route by pinging from PC 3 to PC 1:
QAISER ABBAS (57245) Page no 4
Lab # 12 Data communication & Networking
Lab
Verify the route by pinging from PC0 to PC2
Verify the route by pinging from PC2 to Router1:
QAISER ABBAS (57245) Page no 5
Lab # 12 Data communication & Networking
Lab
TASK 2
Configure EIGRP on the following network and show all necessary configuration steps
for each router.
Router 2
15.0.0.2 16.0.0.2
16.0.0.1
15.0.0.1
Router 1 Router 3
10.0.0.3 20.0.0.3
10.0.0.0 20.0.0.0
Solution:
QAISER ABBAS (57245) Page no 6
Lab # 12 Data communication & Networking
Lab
Topology:
Availing extra ports on all routers:
QAISER ABBAS (57245) Page no 7
Lab # 12 Data communication & Networking
Lab
Adding default gateway and ip add. to every pc:
Router 1:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R1
R1(config)#Int gig0/0
R1(config-if)#ip add 10.0.0.1 255.0.0.0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state
to up
R1(config-if)#exit
R1(config)#int se0/0/0
QAISER ABBAS (57245) Page no 8
Lab # 12 Data communication & Networking
Lab
R1(config-if)#ip add 15.0.0.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R1(config-if)#exit
R1(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1(config)#
Router2:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#INT se0/0/0
R2(config-if)#ip add 15.0.0.2 255.0.0.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#int se0/0/1
R2(config-if)#clock rate 64000
R2(config-if)#ip add 16.0.0.2 255.0.0.0
R2(config-if)#no shut
R2(config-if)#
R2(config-if)#exit
R2(config)#
Router3:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3
R3(config)#int gig0/0
R3(config-if)#ip address 20.0.0.1 255.0.0.0
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state
to up
R3(config-if)#ex
R3(config)#
R3>en
QAISER ABBAS (57245) Page no 9
Lab # 12 Data communication & Networking
Lab
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int se0/0/1
R3(config-if)#ip ad 16.0.0.1 255.0.0.0
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
Configuration as per now:
Enabling the EIGRP (For R1):
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router eigrp 10
R1(config-router)#network 10.0.0.0
R1(config-router)#network 15.0.0.0
R1(config-router)#exit
R1(config)#
Enabling the EIGRP (For R2):
R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router eigrp 10
R2(config-router)#network 15.0.0.0
R2(config-router)#network 16.0.0.0
R2(config-router)#
QAISER ABBAS (57245) Page no 10
Lab # 12 Data communication & Networking
Lab
Enabling the EIGRP (For R3):
R3>en
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router eigrp 10
R3(config-router)#network 16.0.0.0
R3(config-router)#network 20.0.0.0
R3(config-router)#exit
R3(config)#
Digital Ping test:
Pinging from PC 0 to PC 2:
Pinging Pc 1 from PC 3:
QAISER ABBAS (57245) Page no 11
Lab # 12 Data communication & Networking
Lab
Pinging Router 3 from Pc1:
QAISER ABBAS (57245) Page no 12