www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNA LABS / IP Routing Solutions / Lab 42 Solution: Configuring EIGRP Routing Using Wildcard Masks

Lab 42 Solution: Configuring EIGRP Routing Using Wildcard Masks

Task 1:

For reference information on configuring hostnames, please refer to:

Lab 35 Configuration and Verification Task 1

Task 2:

Sw1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Sw1(config)#vlan 10

Sw1(config-vlan)#name EIGRP_10

Sw1(config-vlan)#exit

Sw1(config)#vlan 20

Sw1(config-vlan)#name EIGRP_20

Sw1(config-vlan)#exit

Sw1(config)#int f0/2

Sw1(config-if)#switchport mode trunk

Sw1(config-if)#no shut

Sw1(config-if)#exit

Sw1(config)#int f0/3

Sw1(config-if)#switchport mode trunk

Sw1(config-if)#no shut

Sw1(config-if)#^Z

Sw1#show interfaces trunk

Port        Mode         Encapsulation  Status        Native vlan

Fa0/2       on           802.1q         trunking      1

Fa0/3       on           802.1q         trunking      1

Port        Vlans allowed on trunk

Fa0/2       1-4094

Fa0/3       1-4094

Port        Vlans allowed and active in management domain

Fa0/2       1,10,20

Fa0/3       1,10,20

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/2       1,10,20

Fa0/3       1,10,20

Sw1#show vlan id 10

VLAN Name                             Status    Ports

—- ——————————– ——— ——————————-

10   EIGRP_10                         active    Fa0/2, Fa0/3

Sw1#show vlan id 20

VLAN Name                             Status    Ports

—- ——————————– ——— ——————————-

20   EIGRP_20                         active    Fa0/2, Fa0/3

Task 3:

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#int fa0/0

R1(config-if)#no shutdown

R1(config-if)#int fa0/0.10

R1(config-subif)#encapsulation dot1q 10

R1(config-subif)#ip address 192.168.10.1 255.255.255.252

R1(config-subif)#exit

R1(config)#int fa0/0.20

R1(config-subif)#encapsulation dot1q 20

R1(config-subif)#ip address 192.168.20.1 255.255.255.252

R1(config-subif)#end

R1#

R1#show ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0              unassigned      YES manual up                    up

FastEthernet0/0.10         192.168.10.1    YES manual up                    up

FastEthernet0/0.20         192.168.20.1    YES manual up                    up

Serial0/0                  unassigned      YES NVRAM  administratively down down

Serial0/1                  unassigned      YES NVRAM  administratively down down

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#int fa0/0

R2(config-if)#no shutdown

R2(config-if)#int fa0/0.10

R2(config-subif)#encapsulation dot1q 10

R2(config-subif)#ip address 192.168.10.2 255.255.255.252

R2(config-subif)#exit

R2(config)#int fa0/0.20

R2(config-subif)#encapsulation dot1q 20

R2(config-subif)#ip address 192.168.20.2 255.255.255.252

R2(config-subif)#end

R2#

R2#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0              unassigned      YES manual up                    up

FastEthernet0/0.10         192.168.10.2    YES manual up                    up

FastEthernet0/0.20         192.168.20.2    YES manual up                    up

Serial0/0                  unassigned      YES NVRAM  administratively down down

Serial0/1                  unassigned      YES NVRAM  administratively down down

Task 4:

R1#ping 192.168.10.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 ms

R1#ping 192.168.20.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.20.2, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 ms

Task 5:

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#router eigrp 10

R1(config-router)#network 192.168.10.0 0.0.0.3

R1(config-router)#end

R1#

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#router eigrp 10

R2(config-router)#network 192.168.10.0 0.0.0.3

R2(config-router)#^Z

*Mar  1 00:52:23.436: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 10: Neighbor 192.168.10.1 (FastEthernet0/0.10) is up: new adjacency

R2#

NOTE: Understanding wildcard masks is an essential requirement for both the purposes of the CCNA certification as well as in the real world. To determine the wildcard mask, you can simply subtract the network mask for the network on which you want to enable a specific EIGRP Autonomous System from the Broadcast mask. This concept is illustrated in the subtraction table shown below:

 

 

Broadcast Mask 255 255 255 255
[minus] Subnet Mask 255 255 255 252
[equals] Wildcard Mask 0 0 0 3

 

In our example, the subnet mask of the 192.168.1.0/30 subnet is 255.255.255.252. If this is subtracted from the Broadcast mask of 255.255.255.255 the result is 0.0.0.3, which is the wildcard mask we use to enable EIGRP for this subnet. Take some time to practice configuring wildcard masks for different subnetted networks.

 

Task 6:

R1#config t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#router eigrp 20

R1(config-router)#net 192.168.20.0 0.0.0.3

R1(config-router)#end

R1#

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#router eigrp 20

R2(config-router)#network 192.168.20.0 0.0.0.3

R2(config-router)#^Z

*Mar  1 01:08:55.887: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 20: Neighbor 192.168.20.1 (FastEthernet0/0.20) is up: new adjacency

R2#

Task 7:

R1#show ip eigrp neighbors

IP-EIGRP neighbors for process 10

H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq

(sec)         (ms)       Cnt Num

0   192.168.10.2            Fa0/0.10          12 00:18:51    1  4500  0  1

IP-EIGRP neighbors for process 20

H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq

(sec)         (ms)       Cnt Num

0   192.168.20.2            Fa0/0.20          12 00:02:20    1  4500  0  1

R2#show ip eigrp neighbors

IP-EIGRP neighbors for process 10

H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq

(sec)         (ms)       Cnt Num

0   192.168.10.1            Fa0/0.10          10 00:17:58 1907  5000  0  1

IP-EIGRP neighbors for process 20

H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq

(sec)         (ms)       Cnt Num

0   192.168.20.1            Fa0/0.20          11 00:01:26  452  2712  0  1

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.