cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1195
Views
0
Helpful
4
Replies

VRF routing

davegibelli
Level 3
Level 3

I need to get packets coming from a server that is connected via an SVI that is in a VRF to/from servers that are connected to SVI's that are in the global space.

See the diagram vrf.png

Routing outside of the 6509 works but how do we route to connected interfaces without using a router on a stick or connecting two physical interfaces together as neither of these two options are elegant.

The main problem is that I get errors if I try:

3750(config-if)# ip route vrf Cust1 10.0.10.0 255.255.255.0 10.0.10.1 global
%Invalid next hop address (it's this router)

3750(config)# ip route vrf Cust1 10.0.10.0 255.255.255.0 0.0.0.0 global - although this command is accepted it does not work.

3750(config)# ip route vrf Cust1 10.0.10.0 255.255.255.0 vlan4
% For VPN routes, must specify a next hop IP address if not a point-to-point interface

Any ideas?

4 Replies 4

Cisco Freak
Level 9
Level 9

Hi,

Try this out:

ip route vrf Cust1 10.0.10.0 255.255.255.0 vlan4  10.0.10.1
ip route 10.118.5.150 255.255.255.0 vlan100  

 

CF

I tried that, the switch accepts the command but it does not work. No packets arrive at the destination. See the debug below.

 

Feb  5 13:54:22.710: IP: tableid=1, s=10.0.2.75 (Vlan2), d=10.0.10.100 (Vlan4), routed via FIB
Feb  5 13:54:22.710: IP: s=10.0.2.75 (Vlan2), d=10.0.10.100, len 84, rcvd 4
Feb  5 13:54:22.710: IP: s=10.0.2.75 (Vlan2), d=10.0.10.100, len 84, stop process pak for forus packet
Feb  5 13:54:23.834: IP: s=10.0.2.75 (Vlan2), d=10.0.10.100, len 84, input feature, MCI Check(63), rtype 0, forus FALSE, sendself FALSE, mtu 0
Feb  5 13:54:23.834: IP: tableid=1, s=10.0.2.75 (Vlan2), d=10.0.10.100 (Vlan4), routed via FIB
Feb  5 13:54:23.834: IP: s=10.0.2.75 (Vlan2), d=10.0.10.100, len 84, rcvd 4
Feb  5 13:54:23.834: IP: s=10.0.2.75 (Vlan2), d=10.0.10.100, len 84, stop process pak for forus packet

 

Hi,

Why the source of the packet is 10.0.2.75?  It should be from 10.118.5.150 255.255.255.0..right?

Are you not trying to route between 10.118.5.150 255.255.255.0 and 10.0.10.0 255.255.255.0 ?

CF

Sorry I realised soon after posting that I am confusing you. In the real world I am using a 6509 by for testing I am using a 3750 in a lab.

I have decided to use a /30 link using physical interfaces but even this will not work on the 6509 VSS but work very well on a 3750...I think I need to open a TAC case!