28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AS 65500<br />

RouterF<br />

192.168.16.1<br />

RouterD<br />

192.168.14.1<br />

AS 65505<br />

RouterE<br />

192.168.15.1<br />

RouterJ<br />

192.168.17.1<br />

RouterH<br />

192.168.18.1<br />

RouterJ<br />

192.168.11.1<br />

Figure 13-2. IBGP network<br />

directly connected to and the ones that it is not directly connected to. These neighbor<br />

statements effectively create the full-mesh peering among all the IBGP routers. For<br />

IBGP peers, when you specify the addresses, you don’t use the physical interface but<br />

rather the loopback address of the router. You can do this because even if a link to<br />

the router is down, it might still be reachable through the IGP. Finally, the localaddress<br />

statement sets the loopback address as the source address of all IP packets<br />

sent by BGP to all destination routers.<br />

The configuration for all the IBGP routers is basically the same, with each router<br />

using the appropriate local address and listing all the other IBGP routers in the AS as<br />

neighbors.<br />

Define the AS number and router ID on each IBGP router just as you did on the border<br />

router:<br />

[edit routing-options]<br />

aviva@RouterE# set autonomous-system 65500<br />

aviva@RouterE# set router-id 192.168.15.1<br />

Be sure to configure the same AS number on all the IBGP routers.<br />

Finally, an IGP must run among all the IBGP routers. For the examples in this chapter,<br />

we use a simple OSPF configuration. Here is the configuration on RouterF, the<br />

border router:<br />

[edit protocols]<br />

aviva@RouterF# show ospf<br />

area 0.0.0.0 {<br />

interface lo0.0 {<br />

passive;<br />

}<br />

interface t1-0/0/2.0;<br />

interface fe-0/0/1.0;<br />

}<br />

When all routers are configured for the IBGP mesh, use the show bgp summary command<br />

to check that all the sessions are up and running. Here’s what you see on one<br />

of the internal routers:<br />

432 | Chapter 13: BGP<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!