Agora configure iBGP na figura acima. Vamos usar os endereços de loopback para cada participante iBGP. Você precisa digitar o seguinte comando adicional.
Sem este comando, oBGP speakers nunca formar peers com outro. A razão é que o BGP speaker espera receber o pacote no endereço de loopback do BGP speakers sem o comando update-source, o pacote vai usar BGP endereço da interface de saída do BGP speaker. BGP speaker remoto irá receber o pacote e ignora-lo, pois não é a direção que eu esperava ver .
R2 Lo0-2.2.2.2
R3 Lo0-3.3.3.3
R4 Lo0-4.4.4.4
R1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# router bgp 100
R1(config-router)# ^Z
R1#
R2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)# router bgp 200
R2(config-router)# no synchronization
R2(config-router)# ^Z
R2#
R3# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)# router bgp 200
R3(config-router)# no synchronization
R3(config-router)# ^Z
R3#
R4# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)# router bgp 200
R4(config-router)# no synchronization
R4(config-router)# ^Z
R4#
R5# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)# router bgp 300
R5(config-router)# ^Z
R5#
Ahora que está habilitado BGP asignaremos los vecinos
R1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# router bgp 100
R1(config-router)# neighbor 10.10.10.2 remote-as 200
R1(config-router)# ^Z
R1#
R2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)# router bgp 200
R2(config-router)# neighbor 10.10.10.1 remote-as 100
R2(config-router)# neighbor 3.3.3.3 remote-as 200
R2(config-router)# neighbor 4.4.4.4 remote-as 200
R2(config-router)# neighbor 3.3.3.3 update-source Lo0
R2(config-router)# neighbor 4.4.4.4 update-source Lo0
R2(config-router)# ^Z
R2#
R3# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)# router bgp 200
R3(config-router)# neighbor 2.2.2.2 remote-as 200
R3(config-router)# neighbor 4.4.4.4 remote-as 200
R3(config-router)# neighbor 2.2.2.2 update-source Lo0
R3(config-router)# neighbor 4.4.4.4 update-source Lo0
R3(config-router)# ^Z
R3#
R4# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)# router bgp 200
R4(config-router)# neighbor 20.20.20.1 remote-as 300
R4(config-router)# neighbor 3.3.3.3 remote-as 200
R4(config-router)# neighbor 2.2.2.2 remote-as 200
R4(config-router)# neighbor 3.3.3.3 update-source Lo0
R4(config-router)# neighbor 2.2.2.2 update-source Lo0
R4(config-router)# ^Z
R4#
R5# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)# router bgp 300
R4(config-router)# neighbor 20.20.20.2 remote-as 200
R5(config-router)# ^Z
R5#
Configuração IBGP comparação com eBGP não é diferente.