Here is a router config that I am practicing on.
The excersize comes from"CCIE Practical Studies Vol 1"
Its called Skylab.
!
hostname r5
!
!
no ip dhcp-client network-discovery
ipx routing 0000.0000.0005
ipx internal-network A5
call rsvp-sync
!
!
interface Loopback0
ip address 140.100.5.5 255.255.255.0
ipx network 5
!
interface Loopback1
ip address 172.16.1.1 255.255.255.0
!
interface Loopback2
ip address 151.100.1.1 255.255.255.0
!
interface Loopback3
ip address 151.101.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 140.100.55.5 255.255.255.0
duplex auto
speed auto
ipx network 55
!
!
interface Serial0/1
ip address 140.100.35.5 255.255.255.252
ip summary-address eigrp 2020 151.100.0.0 255.254.0.0 5
ipx network 35
ipx nlsp 1 enable
ipx nlsp 1 rip off
!
router eigrp 2020
network 140.100.0.0
network 151.101.0.0
distribute-list 5 out Serial0/1
distribute-list 1 in Serial0/1
no auto-summary
no eigrp log-neighbor-changes
!
!
access-list 1 deny 199.199.1.0 0.0.254.255
access-list 1 permit any
access-list 5 deny 151.101.0.0 0.0.255.255
access-list 5 permit any
!
!
!
ipx router nlsp 1
area-address 35 FFFFFFFF
!
If you read through the extranious BS, you will notice a couple of things.
1: interface serial 0/1 has a different subnet mask than the rest of the interfaces.
Its an example of VLSM.
2: Int S0/1 is summerizing the 151.100.0.0/16 and the 151.101.0.0/16 into 151.100.0.0/15
Its an example of a CIDR route.
R3 is on the other end of int s0/1. Here is its IP routing table:
r3#sh ip rou
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
Gateway of last resort is not set
C 192.128.128.0/24 is directly connected, Ethernet0/0
140.100.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 140.100.35.4/30 is directly connected, Serial0/1
D 140.100.55.0/24 [90/2172416] via 140.100.35.5, 01:38:32, Serial0/1
C 140.100.3.0/24 is directly connected, Loopback0
D 140.100.5.0/24 [90/2297856] via 140.100.35.5, 01:38:32, Serial0/1
128.200.0.0/24 is subnetted, 1 subnets
R 128.200.1.0 [120/1] via 192.128.128.1, 00:00:20, Ethernet0/0
128.201.0.0/24 is subnetted, 1 subnets
R 128.201.1.0 [120/1] via 192.128.128.1, 00:00:21, Ethernet0/0
128.202.0.0/24 is subnetted, 1 subnets
R 128.202.1.0 [120/1] via 192.128.128.1, 00:00:21, Ethernet0/0
D 151.100.0.0/15 [90/2297856] via 140.100.35.5, 01:38:34, Serial0/1
r3#
hope this helps;
Doug