03 router configuration

30
Engineering Workshops Router Configuration

Upload: ahmed-sultan

Post on 29-Sep-2015

258 views

Category:

Documents


2 download

DESCRIPTION

How to configure router

TRANSCRIPT

PowerPoint PresentationEnable routing
ipv6 unicast-routing
Configure Interfaces
ipv6 address
Engineering Workshops
Cisco Configs
IGP - most sites will use RIPng for now, but IS-IS is also available. OSPFv3 is on the way. . .
ipv6 router rip ipsix
Static
router bgp 64555
bgp router-id 192.168.2.1
neighbor Abilene-v6 peer-group
neighbor 2001:468:555:200::6 peer-group Abilene-v6
exit-address-family
Common problem is that students add the “/64” onto the end of the neighbor’s IPv6 address, causing an error message. The neighbors IPv6 address should not include the subnet size.
Engineering Workshops
Cisco Configs
BGP continued. . .
ipv6 prefix-list to-Abilene-v6 seq 10 permit 2001:468:4ff::/48
BGP will not advertise a network unless it has a route to that explicit network, hence you need to configure a static route to the network super-block before BGP will advertise that super-block to its neighbors.
Engineering Workshops
Cisco Configs
. . .
!
Note that Null0 does not go into the core router
Engineering Workshops
show ipv6 route
show ipv6 interface
show ipv6 neighbors
show bgp sum ! show summary of neighbors’ BGP state
show bgp ! show all v6 BGP-learned routes
show bgp neigh [addr] routes ! what he’s sending
show bgp neigh [addr] advertised ! what you’re sending
show ipv6 route ! show all v6 routes
Engineering Workshops
Enable routing - already there. . .
Engineering Workshops
Juniper Configs
Interface (physical)
protocols {
router-advertisement {
protocols {
ripng {
show interfaces
# router_enable="YES"
# router="/usr/local/sbin/zebractl"
# router_flags="start"
ipv6_enable="YES"
ipv6_network_interfaces="auto"
ipv6_gateway_enable="YES"
rtadvd_enable="YES"
rtadvd_interfaces="xl0"
Engineering Workshops
FreeBSD BGP
address-family ipv6
network 2001:388:1c10::/44
network 2001:388:1c10:1::/64
aggregate-address 2001:0388:1c10::/44
redistribute connected
address-family ipv6
network 2001:388:1c01::/48
aggregate-address 2001:388:1c01::/48
redistribute connected