[c-nsp] VRF & Hairpin Routing?

Joe Maimon jmaimon at ttec.com
Fri Apr 7 10:08:01 EDT 2006



Sean Watkins wrote:

> This doesn't work:
> 
> I get this
> 
> Router(config-subif)#encapsulation dot1Q 10
> 
> %Configuration of multiple subinterfaces of the same main
> interface with the same VID (10) is not permitted.
> This VID is already configured on FastEthernet0/1.10.
> 
> Router(config-subif)#
> 
> Sean
> 

You sure you did that on fa0/0 and fa0/1 ?
This is from a router with a crossover between two ports


interface FastEthernet4/0/0
  no ip address
  full-duplex
  channel-group 2
  no cdp enable
!
interface FastEthernet4/1/0
  no ip address
  full-duplex
  channel-group 3
  no cdp enable
!
interface Port-channel2
  no ip address
  no cdp enable
!
interface Port-channel2.1
  encapsulation dot1Q 1 native
  no cdp enable
!
interface Port-channel2.2
  encapsulation dot1Q 2
  ip address 6x.9x.1x.121 255.255.255.252
  ip nat inside
  ip virtual-reassembly
  ip ospf cost 160
  no cdp enable
!
interface Port-channel3
  no ip address
  no cdp enable
!
interface Port-channel3.1
  encapsulation dot1Q 1 native
  no cdp enable
!
interface Port-channel3.2
  encapsulation dot1Q 2
  ip vrf forwarding xxx-PRIVATE
  ip address 6x.9x.1x.122 255.255.255.252
  ip nat inside
  ip virtual-reassembly
  ip ospf cost 170
  no cdp enable

arp vrf xxx-PRIVATE 6x.9x.1x.121 0060.702d.2080 ARPA
arp 6x.9x.1x.122 0060.702d.2088 ARPA


router#ping 6x.9x.1x.121

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6x.9x.1x.121, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
router#ping 6x.9x.1x.122

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6x.9x.1x.122, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
router#ping vrf xxx-PRIVATE 6x.9x.1x.122

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6x.9x.1x.122, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
router#ping vrf xxx-PRIVATE 6x.9x.1x.121

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6x.9x.1x.121, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
router#



More information about the cisco-nsp mailing list