cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
2170
Views
0
Helpful
5
Replies
2colin-cant
Beginner

Cisco 892W - VRF - Vlan - internal vlan issue

Hi NG,

Router Type:    CISCO892W-AGN-E-K9

Router config -------------------------------------------------

ip vrf BLA
rd 1:1

interface FastEthernet2
switchport access vlan 140

interface Vlan140
ip vrf forwarding BLA
ip address 10.10.10.1 255.255.255.0

Router config -------------------------------------------------

i have a host sitting on Fa2 with the ip 10.10.10.2.

as i do following i am not able to reach the host 10.10.10.2:

#ping vrf BLA 10.10.10.2 source vlan 140

(results in timeout)

Then i go ahead and deconfigure the VRF on vlan 140:

interface Vlan140
  ip address 10.10.10.1 255.255.255.0

#ping 10.10.10.2 source vlan 140

PING SUCCESS

---------------------------------------------------------------------------

Why can i reach the same host on the same Vlan only if the vlan 140 is configured in the global routing table?

#sh vlan-switch brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0, Fa1, Wl0
XXX  XXXX                             active
XXX  XXXXX                            active    Fa3, Fa4, Fa5, Fa6, Fa7
140  XXXX                             active    Fa2
XXX  XXXXXX                           active
XXX  XXXX                             active
XXX  XXXXXX                           active
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

-----------------------------------------------

the funny output is this:

-----------------------------------------------

Router#sh vlans

No Virtual LANs configured.                                ????  

-----------------------------------------------

i have configured the vlans on the router like this:

conf t

vlan 140

name BLA

vlan XXX

name BLU

int vlan 140

...

what is missing?

Thank you

Regards

Colin

5 REPLIES 5
Reza Sharifi
Hall of Fame Expert

Hi,

Try adding this command to your vrf and test again

route-target both xxx:xxx

HTH

Hi Reza,

nothing changed, but i noticed something weird:

Physical setup:

Switch 1                                        ROUTER                                             Switch 2

(c2960) gi0/1     -- TRUNK --     fa0/1  (c892W) fa0/2      -- TRUNK --     gi0/1 (c2960)

IPs:

10.10.10.2                              10.10.10.1                                             10.10.10.3

------------------------------------------------------------------------

Reachability while having Vlan140 on Router in the VRF:

- Switch 1 can reach Switch 2 trough the trunks on vlan 140.


- Router can NOT reach Switch 1, 2 !!

------------------------------------------------------------------------

Reachability while having Vlan140 on Router on the global routing table:

- Switch 1 can reach Switch 2 trough the trunks on vlan 140.

- Router can reach Switch 1 and 2 !!

------------------------------------------------------------------------

did you create the same vrf with the different rd and same rt on the switches?

Switches are run as L2 only! No rd/rt's need to be configured on them.

Hi,

   Just put the VRF back in. Please post "show ip vrf interface" and "show ip route vrf BLA" here. Only vlans created on L2 switches are fine. We have to focus on L3 Switch with interfaces that VRF/IP address assigned.

   Are you using IOS 15.1(1)T or higher?

HTH,

Toshi