cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
335
Views
0
Helpful
7
Replies

VRF and redistribute connected command.

tinhnho123
Level 2
Level 2

Hi guys,

I currently have a router that doing EIGRP, below is its EIGRP:

router eigrp Prod
!
address-family ipv4 unicast autonomous-system 150
!
 topology base
   redistribute connected 
   redistribute static
 exit-af-topology
  network 10.10.10.0
exit-address-family

Because I don't want new route leak into current EIGRP Prod above, I just configured a new interface and put it in a VRF (before the router didn't any VRF):

vrf definition External
!
  address-family ipv4
  exit-address-family
!
  address-family ipv6
  exit-address-family

Interface g0/0/0
 vrf fowarding External
 ip address 172.16.16.1 255.255.255.250
 no shutdown

Would this command 'redistribute connected' which under EIGRP Prod above advertise my newly 172.16.16.1/30 into EIGRP Prod even though I have this interface g0/0/0 in a VRF?

Thanks.

 

 

 

 

 

7 Replies 7

NO you need route leaking between VRF and global RIB otherwise the prefix will not redistrubte

MHM

Thanks. Just for my learning:

If I don't have a VRF configured for my new interface g0/0/0, would this 'redistribute connected' command in EIGRP Prod advertise my prefix 172.16.16.0/20 into it?

Does EIGRP have command to do route leaking between VRF?

If I don't have a VRF configured for my new interface g0/0/0, would this 'redistribute connected' command in EIGRP Prod advertise my prefix 172.16.16.0/20 into it? Yes 

Does EIGRP have command to do route leaking between VRF? NO you need bgp for leaking 

MHM

Hello
You need to add that interface into its own address VRF AS

Example::
router eigrp Prod

address-family ipv4 unicast vrf External autonomous-system 150
af-interface g0/0/0
network 172.16.16.1 0.0.0.0


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul, i dont want to advertise this prefix into existing EIGRP Prod. 

Thanks.

Hello
So what do you want to do with it, either way its in it own vrf so the other eigrp routes in the eigrp process wont be able to reach it just other hosts in the same vrf will be able to either dynamically via eigrp or statically.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

is this issue solved ?

MHM

Review Cisco Networking for a $25 gift card