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

ASR9k as BNG, DHCP Proxy and Ambiguous VLAN interface

alexwa1
Level 1
Level 1

Hi,

Trying the ASR 9006 IOS XR 6.4.2 as a BNG for the first time. DHCP Proxy does not work with Ambiguous VLAN interface.

Configuration:

dhcp ipv4
 profile IPoE_DHCP proxy
  helper-address vrf default 192.168.2.228 giaddr 192.168.2.55
  broadcast-flag policy unicast-always
  relay information policy keep
  relay information option allow-untrusted
 !
 interface Bundle-Ether19.3333 proxy profile IPoE_DHCP
!
dynamic-template
 type ipsubscriber IPoE
  timeout idle 600
  accounting aaa list default type session periodic-interval 60 dual-stack-delay 1
  ipv4 verify unicast source reachable-via rx
 !
!
interface Bundle-Ether19.3333
 ipv4 point-to-point
 ipv4 unnumbered Loopback50
 arp learning disable
 ipsubscriber ipv4 l2-connected
  initiator dhcp
 !
 encapsulation ambiguous dot1q 3333 second-dot1q 1405-1420
!
class-map type control subscriber match-any DHCPv4
 match protocol dhcpv4
 end-class-map
!
!
policy-map type control subscriber IPoE_policy
 event session-start match-first
  class type control subscriber DHCPv4 do-until-failure
   10 activate dynamic-template IPoE
   20 authorize aaa list default format username-format password cisco
  !
 !
 end-policy-map
!

When DHCP DISCOVER arrive in be19.3333 second tag 1420 I see in debug log

RP/0/RSP0/CPU0:Mar 18 19:40:20.925 SAMST: dhcpd[1097]: DHCPD PROXY: TP2805: Client delete called for chaddr 201a.0676.00ff due to reason Client lease expired
RP/0/RSP0/CPU0:Mar 18 19:40:26.827 SAMST: dhcpd[1097]: DHCPD PROXY: TP1955: FSM called for chaddr 201a.0676.00ff with event PACKET_DISCOVER state INIT
RP/0/RSP0/CPU0:Mar 18 19:40:26.827 SAMST: dhcpd[1097]: DHCPD PROXY: TP1903: Process packet event in INIT state called for chaddr 201a.0676.00ff
RP/0/RSP0/CPU0:Mar 18 19:40:26.827 SAMST: dhcpd[1097]: DHCPD PROXY: TP1955: FSM called for chaddr 201a.0676.00ff with event DPM_SUCCESS state INIT_DPM_WAIT
RP/0/RSP0/CPU0:Mar 18 19:40:26.827 SAMST: dhcpd[1097]: DHCPD PROXY: TP2739: Dropping DISCOVER for 201a.0676.00ff received on ambiguous VLAN interface for standalone proxy
RP/0/RSP0/CPU0:Mar 18 19:40:26.827 SAMST: dhcpd[1097]: DHCPD PROXY: TP3647: FSM call returned error for chaddr_string: 201a.0676.00ff, msg_type:1, mode: 4, event: 27
RP/0/RSP0/CPU0:Mar 18 19:40:26.827 SAMST: dhcpd[1097]: DHCPD PROXY: TP1665: Proxy process client request packet failed for chaddr 201a.0676.00ff

Without ambiguity 

encapsulation dot1q 3333 second-dot1q 1420

all is Ok.

 

I've seen a few examples, but nowhere was there a problem.What is wrong in my config&

0 Replies 0