On (2012-07-12 22:01 +1000), Sam wrote:

> 3G broadband, DSL and ipv6 via seperate vrf's while colo is via bgp (main
> routing table)
> 
> Now when a customer is on a DSL connection (or 3g) they go into the
> wholesalers network before bouncing back and be routed to the colo

I'm not sure I see question there. But one way to leak routes is by static
routes to interface.

int foo
  ip vrf bar
  ip address 42.42.42.1 255.255.255.252
!
ip route vrf bar 42.42.43.0 255.255.255.0 42.42.42.2

To allow interface foo to access internet, you could do
ip route 42.42.43.0 255.255.255.0 foo 42.42.42.2
ip route vrf bar 0.0.0.0 0.0.0.0 10.10.10.10 global

And you'd have 10.10.10.10/32 advertised in all core boxes loopback interface. 
Now packets coming from interface foo would default route to global table and 
global table would also have route to interface foo.

You can also use 'import ipv4 unicast map xyzzy' to import routes from global
table to vrf which pass route-map xyzzy.

-- 
  ++ytti
_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to