This time there 9 routers with one acting as a dedicated Frame Relay switch, and plenty of links to create anything that I've come across in my CCIE studies so far. To get this bad boy up and running you'll need the NETMAP file:
1:0/0 3:0/0And since I already have it here is the necessary configuration for the Frame Switch to match the DLCI legend on my diagram:
1:0/1 2:0/1
2:0/2 3:0/2
2:0/3 6:0/3
3:0/1 7:0/1
1:0/2 4:0/2
4:0/3 8:0/3
2:1/0 100:0/0
2:0/0 4:0/0 6:0/0
3:1/0 100:0/1
3:1/2 5:0/2
3:1/1 5:0/1
5:1/1 7:1/1
6:0/2 7:0/2
5:1/2 7:1/2
6:1/0 100:0/2
6:0/1 8:0/1
7:0/0 8:0/0
7:1/0 100:0/3
frame-relay switchingOne last thing on this. Since there are different combinations of interfaces on the different routers in the topology I created myself a little Bash script that i use to start up each router. I usually run things inside a Gnu Screen session with one window for each router, and I use this script to get things running. It's pretty self explanatory, and you may need to edit the paths to make it work for you environment.
!
interface Serial0/0
no ip address
encapsulation frame-relay
logging event subif-link-status
logging event dlci-status-change
serial restart-delay 0
frame-relay intf-type dce
frame-relay route 203 interface Serial0/1 302
frame-relay route 206 interface Serial0/2 602
frame-relay route 207 interface Serial0/3 702
frame-relay route 213 interface Serial0/1 312
frame-relay route 216 interface Serial0/2 612
frame-relay route 217 interface Serial0/3 712
frame-relay route 223 interface Serial0/1 322
frame-relay route 226 interface Serial0/2 622
frame-relay route 227 interface Serial0/3 722
!
interface Serial0/1
no ip address
encapsulation frame-relay
logging event subif-link-status
logging event dlci-status-change
serial restart-delay 0
frame-relay intf-type dce
frame-relay route 302 interface Serial0/0 203
frame-relay route 306 interface Serial0/2 603
frame-relay route 307 interface Serial0/3 703
frame-relay route 312 interface Serial0/0 213
frame-relay route 316 interface Serial0/2 613
frame-relay route 317 interface Serial0/3 713
frame-relay route 322 interface Serial0/0 223
frame-relay route 326 interface Serial0/2 623
frame-relay route 327 interface Serial0/3 723
!
interface Serial0/2
no ip address
encapsulation frame-relay
logging event subif-link-status
logging event dlci-status-change
serial restart-delay 0
frame-relay intf-type dce
frame-relay route 602 interface Serial0/0 206
frame-relay route 603 interface Serial0/1 306
frame-relay route 607 interface Serial0/3 706
frame-relay route 612 interface Serial0/0 216
frame-relay route 613 interface Serial0/1 316
frame-relay route 617 interface Serial0/3 716
frame-relay route 622 interface Serial0/0 226
frame-relay route 623 interface Serial0/1 326
frame-relay route 627 interface Serial0/3 726
!
interface Serial0/3
no ip address
encapsulation frame-relay
logging event subif-link-status
logging event dlci-status-change
serial restart-delay 0
frame-relay intf-type dce
frame-relay route 702 interface Serial0/0 207
frame-relay route 703 interface Serial0/1 307
frame-relay route 706 interface Serial0/2 607
frame-relay route 712 interface Serial0/0 217
frame-relay route 713 interface Serial0/1 317
frame-relay route 716 interface Serial0/2 617
frame-relay route 722 interface Serial0/0 227
frame-relay route 723 interface Serial0/1 327
frame-relay route 726 interface Serial0/2 627
#!/bin/bash
That about covers it. If you use this and like it please let me know.
#################################
# #
# Simple startup script for IOU #
# #
#################################
if [ $# = 0 ]; then
echo "usage: ./iou_start_up" path_to/i86bi_linux-adventerprisek9-ms -e 1 -s 1 2 ;;
echo " "
echo "Valid routers to start are 1 - 9 or frs"
echo ""
exit 1
fi
case $1 in
1 ) /path_to/i86bi_linux-adventerprisek9-ms -e 1 -s 0 1 ;;
2 ) /
3 ) /path_to/i86bi_linux-adventerprisek9-ms -e 1 -s 1 3 ;;
4 ) /path_to/i86bi_linux-adventerprisek9-ms -e 1 -s 0 4 ;;
5 ) /path_to/i86bi_linux-adventerprisek9-ms -e 0 -s 2 5 ;;
6 ) /path_to/i86bi_linux-adventerprisek9-ms -e 1 -s 1 6 ;;
7 ) /path_to/i86bi_linux-adventerprisek9-ms -e 1 -s 1 7 ;;
8 ) /path_to/i86bi_linux-adventerprisek9-ms -e 1 -s 0 8 ;;
frs ) /path_to/i86bi_linux-adventerprisek9-ms -e 0 -s 1 100 ;;
* ) echo "invalid selection" ;;
esac
*UPDATE*
I've added a few more links in, and the NETMAP and diagram have been updated.
Hi,
ReplyDeleteGreetings of the day,
Can you please let me know,how t add more routers in IOU.
Thanks,
skd.dks@gmail.com
thanks for sharing!
ReplyDelete