Alterar nome de interface de rede: eth0 para eth1 e vice versaO Debian Linux possui um arquivo que permite alterar os nomes das interfaces de rede: eth0, eth1 etc. Este arquivo no Lenny e o /etc/udev/rules.d/70-persistent-net.rules.Para edita-lo utilizando o editor vi:# vi /etc/udev/rules.d/70-persistent-net.rulesDisponivel em :http://www.vivaolinux.com.br/dica/Alterar-nome-de-interface-de-rede-eth0-para-eth1-e-vice-versa/ Por padrao, a configuracao BGP que e feita no processo bgp sera aplicavel para a Address Family Identifier - AFI IPv4 unicast . Na topologia abaixo, R2 e R4 atuam como PE routers com uma VPN chamada COKE configurada. R3 atua como um Route reflector para R2 e R4.As configuracoes :R2 Configuration:-----------------------router bgp 100no synchronizationbgp router-id 100.1.2.2bgp log-neighbor-changesneighbor 100.1.3.3 remote-as 100neighbor 100.1.3.3 update-source Loopback0neighbor 150.1.12.1 remote-as 200no auto-summary!address-family vpnv4neighbor 100.1.3.3 activateneighbor 100.1.3.3 send-community extendedexit-address-family!address-family ipv4 vrf COKEredistribute ospf 1 vrf COKE match internal external 1 external 2no synchronizationexit-address-familyR4 Configuration:---------------------router bgp 100no synchronizationbgp router-id 100.1.4.4bgp log-neighbor-changesneighbor 100.1.3.3 remote-as 100neighbor 100.1.3.3 update-source Loopback0no auto-summary!address-family vpnv4neighbor 100.1.3.3 activateneighbor 100.1.3.3 send-community bothexit-address-family!address-family ipv4 vrf COKEredistribute ospf 1 vrf COKE match internal external 1 external 2no synchronizationexit-address-familyR3 Configuration:---------------------router bgp 100no synchronizationbgp router-id 100.1.3.3bgp log-neighbor-changesneighbor 100.1.2.2 remote-as 100neighbor 100.1.2.2 update-source Loopback0neighbor 100.1.2.2 route-reflector-clientneighbor 100.1.4.4 remote-as 100neighbor 100.1.4.4 update-source Loopback0neighbor 100.1.4.4 route-reflector-clientno auto-summary!address-family vpnv4neighbor 100.1.2.2 activateneighbor 100.1.2.2 send-community bothneighbor 100.1.4.4 activateneighbor 100.1.4.4 send-community bothexit-address-familyA configuracao acima mostra que R3 esta configurado como router reflector com R2 e R4 como clientes. Pode ser notado que, o router reflector nao e configurado no modo VPNv4 AFI. Entao R3 refletira apenas rotas IPv4 BGP a partir de R4 e R2 e nao rotas VPNv4.R4#R4#conf tEnter configuration commands, one per line. End with CNTL/Z.R4(config)#router bgp 100R4(config-router)#network 100.1.4.4 mask 255.255.255.255R4(config-router)#endR4# sh ip bgpBGP table version is 2, local router ID is 100.1.4.4Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,r RIB-failure, S StaleOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf Weight Path*> 100.1.4.4/32 0.0.0.0 0 32768 iR4#R2#sh ip bgpBGP table version is 3, local router ID is 100.1.2.2Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,r RIB-failure, S StaleOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf Weight Pathr>i100.1.4.4/32 100.1.4.4 0 100 0 iR2#As rotas VPNv4 nao estarao presentes na tabela BGP de R2.R4#show ip bgp vpnv4 all 10.1.58.0BGP routing table entry for 100:1:10.1.58.0/24, version 11Paths: (1 available, best #1, table COKE)Advertised to update-groups:1Local10.1.46.6 (via COKE) from 0.0.0.0 (100.1.4.4)Origin incomplete, metric 97, localpref 100, weight 32768, valid, sourced, bestExtended Community: RT:100:1 OSPF DOMAIN ID:0x0005:0x000000010200OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:10.1.46.4:512mpls labels in/out 22/nolabelR4#R2#show ip bgp vpnv4 all 10.1.58.0% Network not in tableR2#Agora configurando a reflexao de rotas dentro do modo VPNv4 fara com o que o router reflector reflita ou propague os prefixos recebidos via VPNv4 para seus demais clientes para os quais esta address family esteja ativa.R3#R3#conf tEnter configuration commands, one per line. End with CNTL/Z.R3(config)#router bgp 100R3(config-router)#address-family vpnv4R3(config-router-af)#neighbor 100.1.2.2 route-reflector-clientR3(config-router-af)#neighbor 100.1.4.4 route-reflector-clientR3(config-router-af)#endR3#R4#show ip bgp vpnv4 all 10.1.58.0BGP routing table entry for 100:1:10.1.58.0/24, version 11Paths: (1 available, best #1, table COKE)Advertised to update-groups:1Local10.1.46.6 (via COKE) from 0.0.0.0 (100.1.4.4)Origin incomplete, metric 97, localpref 100, weight 32768,