Per-VRF Assignment of BGP Router ID Q-n

All aspects concerning routing and switching in enterprise and service provider networks including addressing (DHCP, NAT), routing protocols (OSPF, IS-IS, EIGRP, BGP), virtual private networks (GRE, MPLS, LDP, MP-BGP), quality of service (MQC, SLA), high availability (HSRP, VRRP, xSTP, SSO, NSF), performance (EtherChannel), etc.

Re: Per-VRF Assignment of BGP Router ID Q-n

Postby ngalusca on Wed Jun 10, 2009 8:47 am

To Ivan, thank You, once again :), for the tip!
To scet_amit, here is my config, i simulated this config on 7200 platform in gns using c7200-p-mz.122-31.SB15 IOS, fast 1/0 and 1/1 are in different vrf's but interconnected with external connection to a switch in the same VLAN
Current configuration : 2352 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R0
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
ip vrf Orange
rd 45000:1
route-target export 50000:50
route-target import 40000:1
!
ip vrf TMG
rd 65500:1
route-target export 65500:1
route-target import 65500:1
!
!
!
call rsvp-sync
!
!
!
!
!
no file verify auto
!
!
!
interface Loopback0
ip address 10.1.1.1 255.255.255.255
!
interface Loopback7
ip vrf forwarding TMG
ip address 3.3.3.3 255.255.255.255
!
interface Loopback8
ip vrf forwarding Orange
ip address 4.4.4.4 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
description Interfata spre Orange Infrastructura
ip vrf forwarding Orange
ip address 172.22.1.1 255.255.255.252
speed auto
duplex auto
!
interface FastEthernet1/1
description Interfata spre TMG Infrastructura
ip vrf forwarding TMG
ip address 172.22.1.2 255.255.255.252
speed auto
duplex auto
!
interface FastEthernet2/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet2/1
no ip address
shutdown
speed auto
duplex auto
!
router bgp 45000
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 192.168.3.1 remote-as 45000
neighbor 192.168.3.1 update-source Loopback0
!
address-family vpnv4
neighbor 192.168.3.1 activate
neighbor 192.168.3.1 send-community extended
exit-address-family
!
address-family ipv4 vrf TMG
redistribute connected
redistribute static
neighbor 172.22.1.1 remote-as 40000
neighbor 172.22.1.1 local-as 50000 no-prepend
neighbor 172.22.1.1 ebgp-multihop 2
neighbor 172.22.1.1 activate
neighbor 172.22.1.1 allowas-in 1
no auto-summary
no synchronization
bgp router-id 10.99.1.1
exit-address-family
!
address-family ipv4 vrf Orange
redistribute connected
redistribute static
neighbor 172.22.1.2 remote-as 50000
neighbor 172.22.1.2 local-as 40000 no-prepend
neighbor 172.22.1.2 ebgp-multihop 2
neighbor 172.22.1.2 activate
neighbor 172.22.1.2 allowas-in 1
no auto-summary
no synchronization
bgp router-id 10.99.1.2
exit-address-family
!
ip classless
!
no ip http server
!
!
!
!
!
control-plane
!
!
!
dial-peer cor custom
!
!
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end
ngalusca
 
Posts: 4
Joined: Fri Jun 05, 2009 10:56 am

Previous

Return to Routing & Switching

Who is online

Users browsing this forum: No registered users and 1 guest

cron