User manual
Network Setup
106
! Uncomment and set telnet/vty passwords to enable telnet
access on port 2604
#password changeme
#enable password changeme
! Instruct ospfd about our network topology
router ospf
network 192.168.0.0/24 area 0
network 172.17.0.0/16 area 1
Restart route management to enable the updated configuration – uncheck Enable route
management, click Update, check Enable route management and click Update.
Restart route management to enable the updated configuration – uncheck Enable route
management, click Update, check Enable route management and click Update.
If you prefer, you can uncomment the password and enable password lines, and then
telnet to the relevant ports to configure Zebra and/or ospfd via the command line. The
command line interface is very similar to the Cisco IOS interface. If you are familiar with
this, you may prefer to configure using this method.
BGP
Note
This example is adapted from the LARTC (Linux Advanced Routing & Traffic Control)
dynamic routing howto, available from: http://lartc.org/howto/
LARTC is an invaluable resource for those wanting to learn about and take advantage
the advanced routing capabilities of Linux systems.
The Border Gateway Protocol (BGP) allows the distribution of reachability information,
i.e. routing tables, to other BGP enabled nodes. It can either be used as EGP or IGP, in
EGP mode each node must have its own Autonomous System (AS) number. BGP
supports Classless Inter Domain Routing (CIDR) and route aggregation (merge multiple
routes into one).
The following network map is used for this example. AS 2 and 3 have more neighbors but
we only need to configure 2 and 3 as our neighbor.