Scalable Network Infrastructure
This is part of the
AFNOG 2001 Workshop,
held in conjunction with the
AFNOG
meeting in Accra, Ghana, in May 2001.
OTHER COURSE DOCUMENTS
This detailed course outline contains many links to presentation
materials used during class, and to external documents.
A simplified course outline
contains major topic headings without more details.
A timetable shows the entire course at a
glance.
INSTRUCTORS
- Abha Ahuja (USA)
- Adiel Akplogan (Togo)
- Alan Barrett (South Africa)
- Brian Candler (UK)
- Geert Jan de Groot (Netherlands)
- Mirjam Kuehne (Netherlands)
- Brian Longwe (Kenya)
- Anne Lord (Australia)
TIMETABLE
Each day is divided into four slots of approximately two hours
each. Classes start promptly at 08:30 and end at around 18:00
daily. There will be a one-hour break for lunch at around 13:00,
and 20-minute breaks in mid-morning and mid-afternoon.
Monday morning
-
Introduction and logistics -- Brian Longwe
-
Classroom configuration - Additional material
-
General notes for all practical exercises, in
HTML.
-
IP and networking basics - Alan
- Topics include: the protocol stack, hop by hop forwarding,
IP addresses, netmasks, CIDR prefix notation, ethernet ARP,
binary arithmetic.
- Students will be able to:
- recognise the ISO OSI seven-layer model
- understand the relationship between the TCP/IP model
and the ISO model
- describe the unifying effect of the network later
- describe how IP addresses are constructed:
network part, host part
- understand old classful networking terminology:
class A, B, C
- understand modern classless networking terminology:
CIDR, prefix length, VLSM
- convert between prefix length and netmask notation
- identify network and broadcast addresses
- find lowest/highest possible IP address in a prefix
- subdivide prefixes
- understand the concepts of subnetting and supernetting
- distinguish between different network types:
broadcast, point-to-point, NBMA
- explain the purpose of ARP
- describe the forwarding process and `longest match'
rules
- Presentation, in
Powerpoint,
HTML.
-
IP addresses - Additional material
Monday afternoon
-
Cisco router configuration basics - Adiel
- Topics include: RAM, NVRAM, Flash. Logging in. Running
versus startup configurations, what they do, how they can
be displayed, how to change them. Configuring interfaces,
startup information, static routes. How to set passwords.
Updating IOS, TFTPing configuration files.
- Students will be able to:
- use FreeBSD as serial console (/etc/remote, tip)
- login to a cisco router
- perform basic commands
- show the running and stored configuration files
- make configuration changes
- change the IP address of an interface on a Cisco router
- add static and default routes to a cisco router
- TFTP a config file
- Presentation, in
Powerpoint,
HTML.
-
Operating systems and routers - Additional material
-
FreeBSD notes, in
HTML.
-
The same FreeBSD notes, imported from HTML to MS Word,
and reformatted for use as a double-sided one-page handout, in
MS Word format.
-
Static routing exercise using Unix and Cisco equipment - Alan
- Students will configure static routes on their Unix systems
and routers in order to have reachability to the rest of the lab.
- Topics include: configuring IP addresses on interfaces of
Unix host and cisco router. Configuring static default route on
Unix host. Configuring static routes on Cisco router.
Troubleshooting using ping and traceroute.
- Students will be able to:
- configure FreeBSD as IP client (/etc/rc.conf)
- change the ip address of an interface on a Unix system
(ifconfig)
- add static routes to a Unix system (route, netstat)
- use FreeBSD as serial console (/etc/remote, tip)
- erase configuration of a Cisco router (write erase)
- configure IP forwarding on Cisco
- change the IP address of an interface on a Cisco router
- add static routes to a Cisco router
- perform basic network troubleshooting tasks such as
ping and traceroute
- explain what a default route is
- Presentation, in
Powerpoint,
HTML.
Monday evening - Optional sessions
Tuesday morning
-
OSPF and IGPs -- Brian Candler
- Students will be able to:
- explain when to use an IGP, and when not
- list advantages of OSPF over RIP, EIGRP, IS/IS
(fast convergence, scalability, vendor independence,
equal-cost multipath, authentication, bandwidth,
classless!)
- explain the difference between forwarding and routing;
can have multiple routing databases for different
protocols but one forwarding table
- identify the lowest-cost path and equal-cost paths
- describe the formation of neighbour relations
- list default values for hellointerval / routerdeadinterval
- briefly describe the database flooding and recalculation,
and purpose of DR/BDR
- Quick demonstration, in
Applix,
Powerpoint.
- OSPF Presentation, in
Applix,
Powerpoint,
HTML,
Postscript handout,
PDF handout.
-
OSPF exercise -- Brian Candler
- Students will be able to:
- rebuild the classroom exercise using single area OSPF
- configure appropriate link costs, MD5 authentication,
enable OSPF on specific interfaces
- perform simple inspection of OSPF database (neighbours,
routes, DR/BDR)
- alter topology and observe altered routes
- redistribute connected and static
- originate default route
- configure loopback interfaces
- save configs to TFTP server
- Exercise, in
HTML.
Tuesday afternoon
-
Continuation of OSPF exercise
-
Resilient network design concepts -- Brian Candler
- Topics:
- Show a typical non-resilient network; identify need for
putting different types of device on physically separate
subnets. May require renumbering.
- Present a complete design for a resilient network with
dual core switches, dual-attached border routers and access
routers with OSPF and ECMP, clients with HSRP, physically
separate networks for different types of traffic.
- Outline features for resilience, scalability, ease of
maintenance.
- Highlight need for non-blocking switches. Vendor enhancements (CEF)
- Beware buggy OSPF implementations
- Bad network design, in
Applix,
Postscript,
PDF.
- Layer 3 separation presentation, in
Applix,
Powerpoint,
HTML,
Postscript handout,
PDF handout.
- Core network design, in
Applix,
Postscript,
PDF.
-
Network rollout planning exercise -- Brian Candler
- Students will be able to:
- Create a plan for converting the "before" to
the "after" with minimum disruption to service
- Present the plan to the class
- Exercise, in
Applix,
Postscript,
PDF.
Tuesday evening - Optional sessions
- Cisco password recovery
- What is a VPN?
- What is Frame Relay?
Wednesday morning
-
Why BGP? -- Abha
- Topics include: What is BGP? Why do we want to use it? Transit,
and peering.
- Presentation, in
Powerpoint,
HTML.
-
BGP Introduction -- Abha
- Topics include: How BGP works, BGP attributes, BGP configuration
- Students will be able to:
- Explain why you need an EGP (you want to be able to exchange
traffic/ routes with other networks; cost of transit vs peering.
Can't use static routes, can't use IGP)
- Define autonomous system
- Describe the key characteristics of BGP4 (point-to-point peering,
TCP, incremental updates, routes + attributes, eBGP and iBGP)
- List important attributes: AS path, nexthop, localpref, MED,
communities
- Describe typical path selection by length of AS path, and
outline use of prepending to influence upstream path selection
- Explain the recursive lookup of nexthop attribute
- Use the list of BGP route-selection rules
- Read a table of 'distances' for which protocol wins
- Remember that longest prefix always wins
- Presentation, in
Powerpoint,
HTML.
-
BGP Practical -- Abha/Longwe
- Students will be able to:
- set up a BGP peering session
- Announce nailed-up route
- show ip bgp summary
- understand how to filter routes
- Exercise notes, in
MS Word format,
HTML.
Wednesday afternoon
-
BGP Practical (continued) -- Abha/APB
- Students will be able to:
- describe some important policies
- explain why they are desirable
- implement some of them in practical exercises
- Topics include:
- Problem: Don't want to see own routes from anyone else
- Solution: Filter incoming: deny default, deny your own
netblocks or subnets thereof
- Problem: Want to protect your CPU / memory
- Solution: Filter incoming: deny longer prefixes than /24
- Problem: Don't want to provide transit to your peer
- Solution: Filter outgoing: allow only null ASpath
- Problem: Want to provide backup transit (only) to peer
- Solution: Prepend announcements heavily
- Problem: Don't want to accidentally received whole Internet
routes from peer
- Solution: Filter incoming routes by AS path
- Problem: Don't want to receive internal IGP routes accicentally
announced by peers
- Solution: Filter incoming routes by IP prefix: Deny long
prefixes.
- Problem: Don't trust customers to generate correct routes
- Solution: Filter incoming routes by IP prefix:
Deny unregistered routes.
- Problem: Prefer one provider over another for certain
destinations
- Solution: Set localpref on all routes from provider, or by
AS-path
- Problem: Want to influence routing decisions made upstream
- Solution: Set communities on outgoing routes
- Problem: Want to track where routes were learned
- Solution: Set FYI communities on incoming routes
- Problem: Want to allow peer/customer to control routing
- Solution: Allow peer to set community which we use to adjust
localpref or AS-path stuffing
Thursday morning
-
BGP Practical (continued) -- Abha/APB
Thursday afternoon
-
BGP Practical (continued) -- Abha/APB
Thursday evening - Optional sessions
Friday morning
-
Internet exchange points -- Abha/APB
- Topics include: What is an exchange point. Why you need one.
Basic XP design.
- Students will be able to:
- explain what is an exchange point
- explain why people use XPs
- understand why XPs are important
- review some current XP designs used today
- think about how to set up an exchange point in your
environment
- understand why Route Servers are useful
- explain what routing registries do and why you should use one
- Presentation, in
Powerpoint,
HTML.
-
Exchange points exercise -- Abha/APB
- Students will be able to:
- build a simple exchange point
- demonstrate how an XP benefits their network
- Presentation, in
MS Word format,
HTML.
-
NOC services and applications -- Brian Longwe
- Topics include: Fault Management, Configuration/Change
Management, Performance Management, Security Management, Accounting
Management.
- Students will be able to:
- Explain the need for a Network Operations Center
- Identify the elements of Network Management
- Explain why ticket systems are necessary in a NOC
- Use a simple ticket system effectively
- Explain the different types of tools that can be used
for network monitoring
- Use a basic monitoring system to observe the health
of the network, detect faults and respond appropriately
- Understand the concepts behind Change Management
- Presentation, in
Powerpoint,
HTML.
- Help Desk Responsibilities: tips for NOC operators, in
MS Word format,
PDF,
HTML,
- NOCOL exercise notes, in
HTML.
- MRTG exercise notes, in
HTML.
- Cricket configuration notes, in
HTML.
- Web RT configuration notes, in
text.
Friday afternoon
-
IP address management -- Mirjam Kuehne and Anne Lord
- Topics include: Address Distribution and Policy, Local Registries,
Regional Registries, address space request documentation,
assignment and allocation guidelines,
Autonomous System number assignment guidelines.
- IP Address Management presentation, in
Powerpoint,
HTML.
- Internet Registries procedures presentation, in
Powerpoint,
HTML.
- Best Current Practice presentation, in
Powerpoint,
HTML.
- Internet Registry allocation and assignment presentation, in
Powerpoint,
HTML.
- The whois Database presentation, in
Powerpoint,
HTML.
- Autonomous System Numbers presentation, in
Powerpoint,
HTML.
LINKS AND REFERENCES
IP numbers and AS numbers
Operational guidelines
Cisco-specific documentation
Software tools
-
WREQ
- a distributed request/problem tracking system
-
Rancid
- a tool for monitoring and maintaining router configurations and
keeping them in CVS
Return to AFNOG Workshop Main Page