R1
int f0/0
ip add 192.168.1.1 255.255.255.0
no shut
speed 100
duplex full
int s0/0
ip add 68.110.171.97 255.255.255.224
no shut
R2
int f0/0
ip add
192.168.1.2 255.255.255.0
no shut
speed 100
duplex full
int s0/0
ip add
192.168.2.2 255.255.255.0
no shut
int f0/0.10
encapsulation
dot1q 10
ip add
192.168.10.1 255.255.255.0
no shut
int f0/0.20
encapsulation
dot1q 20
ip add
192.168.20.1 255.255.255.0
no shut
R3
int
s0/0
ip add
192.168.2.1 255.255.255.0
no shut
int
f0/0
ip add
192.168.3.1 255.255.255.0
no shut
speed
100
duplex
full
int lo
0
ip add
172.16.0.1 255.255.255.0
no shut
int lo
1
ip add
172.16.1.1 255.255.255.0
no shut
int lo
2
ip add
172.16.2.1 255.255.255.0
no shut
int lo
3
ip add
172.16.3.1 255.255.255.0
no shut
int lo
4
ip add
172.16.4.1 255.255.255.0
no shut
int lo
5
ip add
172.16.5.1 255.255.255.0
no shut
int lo
6
ip add
172.16.6.1 255.255.255.0
no shut
int lo
7
ip add
172.16.7.1 255.255.255.0
no shut
ISP
int s0/0
ip add 68.110.171.98 255.255.255.224
no shut
int lo 0
ip add 1.1.1.1 255.255.255.255
no shut
S1
int vlan 1
ip add
192.168.1.11 255.255.255.0
no shut
exit
int range
f0/0 - 2
switchport
trunk encapsulation dot1q
switchport mode trunk
S2
int vlan 1
ip add 192.168.1.12
255.255.255.0
no shut
exit
int f1/0
switchport trunk
encapsulation dot1q
switchport mode
trunk
int range f1/1 - 2
switchport mode
access
S3
int vlan 1
ip add
192.168.1.13 255.255.255.0
no shut
exit
int range f2/0
- 1
switchport
trunk encapsulation dot1q
switchport mode
trunk
int f2/2
switchport mode
access
We cfged
vlans 10 and vlan 20 in vlan databse mode which I wouldn’t show
WE WOULD ASSUME THAT IP ADDRESSES, VLANS,
VLAN-ROUTING(ROUTER ON A STICK) HAVE BEEN CONFIGURED.
TASKS
1 1) Configure eigrp
so that R1,R2 and R3 can communicate
R1(conf)#router
eigrp 1 R3(conf)#
router eigrp 1
##network 192.168.1.0 0.0.0.255 network
172.16.0.0 0.0.7.255
network
192.168.2.0 0.0.0.255
network
192.168.3.0 0.0.0.255
R2(conf)# router
eigrp 1
#network
192.168.10.0 0.0.0.255
#network 192.168.20.0 0.0.0.255
2 2)
cfg s2 f1/1 as vlan 10 and let it ping all ip
addresses in the network
S2(conf)# int
f1/1
#switchport mode access
#switchport access vlan 10
PINGS FROM
C5 TO 192.168.10.1 & 192.168.20.1 WOULD BE SUCCESSFUL.
FOR C5 TO BE
ABLE TO REACH 192.168.1.0,192.168.2.0, WE WLD NEED TO CONFIGURE
R2(conf)# router
eigrp 1
#network
192.168.1.0 0.0.0.255
#network 192.168.2.0 0.0.0.255
3 3)
tune eigrp so sat it doesnt summarize thr routes
lets do a sh
ip route on R2
R2#sh ip
route
D 172.16.0.0/16 [90/2297856] via 192.168.2.1,
00:00:07, Serial0/0 [filtering out only 172.16.0.0 network]
We see that
eigrp automatically summarizes this network because it notices it is a
discontigous network [a class B ntwk unlike 192.168.X.0 ntwk]. To fix this
issue
R3(conf
t)#router eigrp 1
#no auto-summary
R2#sh ip
route
172.16.0.0/24
is subnetted, 8 subnets
D 172.16.4.0 [90/2297856] via 192.168.2.1,
00:00:07, Serial0/0
D 172.16.5.0 [90/2297856] via 192.168.2.1,
00:00:07, Serial0/0
D 172.16.6.0 [90/2297856] via 192.168.2.1,
00:00:07, Serial0/0
D 172.16.7.0 [90/2297856] via 192.168.2.1,
00:00:07, Serial0/0
D 172.16.0.0 [90/2297856] via 192.168.2.1,
00:00:07, Serial0/0
D 172.16.1.0 [90/2297856] via 192.168.2.1,
00:00:07, Serial0/0
D 172.16.2.0 [90/2297856] via 192.168.2.1,
00:00:09, Serial0/0
D 172.16.3.0 [90/2297856] via 192.168.2.1,
00:00:09, Serial0/0
4 4)
summarize the lo back using the best possible
summary
Note that
auto-summarization wld summarize to 172.16.0.0/16. This is not the best
summary.it shld be 172.16.0.0/21. Neva mind , we would talk about this later.Take
note tha eigrp summary is done on the interface.
R3(conf)#int
s0/0
# ip summary-address eigrp 1
172.16.0.0 255.255.248.0
R2#sh ip
route
Gateway of
last resort is not set
172.16.0.0/21 is subnetted, 1 subnets
D 172.16.0.0 [90/2297856] via 192.168.2.1,
00:00:10, Serial0/0
THANK YOU VERY MUCH!!! I HAVE BEEN AWAY FOR QUITE A WHILE. I ACTUALLY WORK IN A LAYER 2 COMPANY NAU. THEY BASICALLY SELL FIBER LINKS TO SERVICE PROVIDERS. HOPEFULLY I GET A CORE IP BASED COMPANY SOON.
I WILL UPDATE THIS MORE OFTEN NOW
No comments:
Post a Comment