[j-nsp] second try on cisco cpe 850 adsl dhcp config

Dinesh dineshbs123 at gmail.com
Wed Oct 8 15:28:33 EDT 2008


Hi Friends, (excuse me for sending this to juniper as well as alcatel
list..)
I am taking a second chance to get help on this.
I am trying to configure my cisco 850 cpe via adsl as a dhcp client to
obtain address from the bras router.
What i see is , the  DHCPDISCOVER from cpe reaches the bras, and the bras
replies back  with the DHCPOFFER.
But DHCPOFFER is not being seen by cpe, though i see counters in incomming
atm0.1 interfaces going up, indicating that packets is very well reaching
the cpe, but not sure if its issue with bridging  on cpe.

My setup is like this

 ciscoCPE 850 -------adsl------DSLAM-------bras router.

I  do see input counters go up in atm0.1, but no input counters on bvi
interface. so suspecting a bridging issue.
-----------------

bridge irb
!
!
interface ATM0
 no ip address
 no atm ilmi-keepalive
 dsl operating-mode auto
 hold-queue 208 in
!
interface ATM0.1 point-to-point
 no snmp trap link-status
 pvc 8/37
  encapsulation aal5snap
 !
 bridge-group 1
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
i
!
interface BVI1
 ip address dhcp
 ip virtual-reassembly
!
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source list 102 interface Dialer1 overload
!
no cdp run
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip

cpe3#sh bridge

Total of 300 station blocks, 299 free
Codes: P - permanent, S - self

Bridge Group 1:

    Address       Action   Interface       Age   RX count   TX count
0030.8810.5098   forward   ATM0.1            0         33          0
cpe3#sh sp
cpe3#sh spanning-tree

 Bridge group 1 is executing the ieee compatible Spanning Tree protocol
  Bridge Identifier has priority 32768, address 0000.0cf0.2394
  Configured hello time 2, max age 20, forward delay 15
  We are the root of the spanning tree
  Topology change flag not set, detected flag not set
  Number of topology changes 3 last change occurred 00:10:29 ago
          from ATM0.1
  Times:  hold 1, topology change 35, notification 2
          hello 2, max age 20, forward delay 15
  Timers: hello 1, topology change 0, notification 0, aging 300

 Port 12 (ATM0.1) of Bridge group 1 is forwarding
   Port path cost 1072, Port priority 128, Port Identifier 128.12.
   Designated root has priority 32768, address 0000.0cf0.2394
   Designated bridge has priority 32768, address 0000.0cf0.2394
   Designated port id is 128.12, designated path cost 0
   Timers: message age 0, forward delay 0, hold 0
   Number of transitions to forwarding state: 1
   BPDU: sent 329, received 0


 VLAN1 is executing the ieee compatible Spanning Tree protocol
  Bridge Identifier has priority 32768, address 0018.1849.665f
  Configured hello time 2, max age 20, forward delay 15
  We are the root of the spanning tree
  Topology change flag not set, detected flag not set
  Number of topology changes 1 last change occurred 00:57:01 ago
          from FastEthernet0
  Times:  hold 1, topology change 35, notification 2
          hello 2, max age 20, forward delay 15
  Timers: hello 1, topology change 0, notification 0, aging 300

 Port 1 (FastEthernet0) of VLAN1 is forwarding
   Port path cost 19, Port priority 128, Port Identifier 128.1.
   Designated root has priority 32768, address 0018.1849.665f
   Designated bridge has priority 32768, address 0018.1849.665f
   Designated port id is 128.1, designated path cost 0
   Timers: message age 0, forward delay 0, hold 0
   Number of transitions to forwarding state: 1
   BPDU: sent 1724, received 0

cpe3#%Unknown DHCP problem.. No allocation poss

cpe3#sh interfaces atM 0.1
ATM0.1 is up, line protocol is up
  Hardware is MPC ATMSAR (with Alcatel ADSL Module)
  MTU 4470 bytes, BW 932 Kbit, DLY 390 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ATM
     150 packets input, 47496 bytes
     1505 packets output, 166084 bytes
     0 OAM cells input, 0 OAM cells output
  AAL5 CRC errors : 0
  AAL5 SAR Timeouts : 0
  AAL5 Oversized SDUs : 0
  Last clearing of "show interface" counters never
cpe3#sh inter
cpe3#sh interfaces bv
cpe3#sh interfaces bvI 1
BVI1 is up, line protocol is up
  Hardware is BVI, address is 0000.0c6d.22b4 (bia 0018.1849.665f)
  Internet address will be negotiated using DHCP
  MTU 4470 bytes, BW 932 Kbit, DLY 5000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:43:17, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/0 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     1 packets input, 74 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     166 packets output, 94974 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 output buffer failures, 0 output buffers swapped out
cpe3#

cpe3#debug dhcp detail
DHCP client activity debugging is on (detailed)
cpe3#
*Mar  8 20:25:11.999: DHCP: QScan: Purging entry
*Mar  8 20:25:11.999: DHCP: deleting entry 82D27A3C 0.0.0.0 from list
*Mar  8 20:25:11.999: Temp IP addr: 0.0.0.0  for peer on Interface: BVI1
*Mar  8 20:25:11.999: Temp  sub net mask: 0.0.0.0
*Mar  8 20:25:11.999:    DHCP Lease server: 0.0.0.0, state: 9 Purging
*Mar  8 20:25:11.999:    DHCP transaction id: D01
*Mar  8 20:25:11.999:    Lease: 0 secs,  Renewal: 0 secs,  Rebind: 0 secs
*Mar  8 20:25:11.999:    No timer running
*Mar  8 20:25:11.999:    Retry count: 0   Client-ID:
cisco-0000.0c6d.22b4-BV1
*Mar  8 20:25:11.999:    Client-ID hex dump:
636973636F2D303030302E306336642E
*Mar  8 20:25:11.999:                        323262342D425631
*Mar  8 20:25:11.999:    Hostname: cpe3
*Mar  8 20:25:41.867: DHCP: Try 15 to acquire address for BVI1
*Mar  8 20:25:41.867: DHCP: allocate request
*Mar  8 20:25:41.867: DHCP: new entry. add to queue, interface BVI1
*Mar  8 20:25:41.867: DHCP: SDiscover attempt # 1 for entry:
*Mar  8 20:25:41.867: Temp IP addr: 0.0.0.0  for peer on Interface: BVI1
*Mar  8 20:25:41.867: Temp  sub net mask: 0.0.0.0
*Mar  8 20:25:41.867:    DHCP Lease server: 0.0.0.0, state: 1 Selecting
*Mar  8 20:25:41.867:    DHCP transaction id: D02
*Mar  8 20:25:41.867:    Lease: 0 secs,  Renewal: 0 secs,  Rebind: 0 secs
*Mar  8 20:25:41.867:    Next timer fires after: 00:00:04
*Mar  8 20:25:41.867:    Retry count: 1   Client-ID:
cisco-0000.0c6d.22b4-BV1
*Mar  8 20:25:41.867:    Client-ID hex dump:
636973636F2D303030302E306336642E
*Mar  8 20:25:41.867:                        323262342D425631
*Mar  8 20:25:41.867:    Hostname: cpe3
*Mar  8 20:25:41.871: DHCP: SDiscover: sending 291 byte length DHCP packet
*Mar  8 20:25:41.871: DHCP: SDiscover 291 bytes
*Mar  8 20:25:41.871:             B'cast on BVI1 interface from 0.0.0.0
*Mar  8 20:25:44.999: DHCP: SDiscover attempt # 2 for entry:
*Mar  8 20:25:44.999: Temp IP addr: 0.0.0.0  for peer on Interface: BVI1


More information about the juniper-nsp mailing list