Got it

[ONT] Steps for DHCP Troubleshooting Highlighted

Latest reply: Jul 5, 2018 09:35:35 18365 2 2 0 0

Hello, everyone!


Capture DHCP packets and collect debug info


1. Login ONT Web GUI by usingadmin account, and open lan-side telnet to access ONT.


2. Open Remote Mirror

Such as NT LAN-SideIP Address 192.168.100.1, and your PC's IP Address was 192.168.100.2, then setSource IP Address 192.168.100.1, set Destination IP Address as 192.168.100.2.




 
3. Telnet on ONT by SecureCRT or other tools, Open mirror function, let the customer’s PC collect with ONT’S LAN1 port.

WAP>set ethportmirror sourceport 10destport 1 mirrordate 2 enable 1


 
Notice:

dest port 1 means LAN1 collect PC, or dest port 2 means LAN2 collect PC.

Source port 6 means ONT’s pon port, but If your ONT version was more than R16C00, source port 10 means ONT’s pon port.


 
#Open the DHCP debug switch, such as DHCP WAN was the first wan

WAP>diagnose

Diagnose>debugging DHCP client packet interface wan1


 
4. Open capture software “Wireshark” and start to capture DHCP packets.

If this issue happened, then save all print information and captured files.


 
Close debug and mirror switch


WAP>set ethportmirror sourceport 10destport 1 mirrordate 2 enable 0

Notice: dest port 1 means LAN1 collect PC, or dest port 2 means LAN2 collect PC.


 
WAP>su

success!

SU_WAP>diagnose 

success!

Diagnose>undo debugging DHCP client packet interface wan1


 

 
And Stop Packet Capture by Mirroring.





Collect Basic Infomation


1. Collect Fault Info from WEB GUI,and download the collected information to a local directory.



2. Download the ONT configuration file and save it to a local directory.



 
Example: WAN obtain the IP address


1. Open the DHCP debug switch, such as the first wan

Diagnose>debugging DHCP client packet interface wan1

If the debugging info shows no response of DHCP DISCOVER, the path to DHCP server may be blocked,  or DHCP server doesn't respond, or their packet loss somewhere, etc. 

  WAP>

[2018-06-23 08:08][DHCPC_DEBUG]:[wan1] send discoverpacket with request ip[0.0.0.0] to 255.255.255.255, xid[5b75fa3c] pad[0]

[2018-06-23 08:08][DHCPC_DEBUG]:[wan1] received dhcpoffer packet from 171.2.20.254, xid[5b75fa3c]                              

[2018-06-23 08:08][DHCPC_DEBUG]:[wan1] send requestpacket with request ip[171.2.20.179] to 255.255.255.255, xid[5b75fa3c]I     

[2018-06-23 08:08][DHCPC_DEBUG]:[wan1] received dhcp ackpacket from 171.2.20.254, xid[5b75fa3c]                                

[2018-06-23 08:08][DHCPC_DEBUG]:check_server_id:0x0, server_addr:0xfe1402ab                                                     

[2018-06-23 08:08][DHCPC_DEBUG]:[wan1] received ack,ip[171.2.20.179] submask[255.255.255.0] lease(lease time[0 days, 00:10:00] r

enew time[0 days, 00:05:00] rebind time[0 days, 00:08:45])xid[5b75fa3c]


 
2. Close the DHCP debug switch

Diagnose>undo debugging DHCP client packet interface wan1




Thanks.

This article contains more resources

You need to log in to download or view. No account? Register

x

DHCP Troubleshooting very useful .
View more
  • x
  • convention:

very good document for troubleshooting
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.