beautypg.com

7 ip dhcpc – Draytek Telnet Command 1.11 User Manual

Page 20

background image

Telnet Command Reference Guide V1.1

14

2.4.7 ip dhcpc

This command is available for WAN DHCP.

ip dhcpc option

ip dhcpc release

ip dhcpc renew

ip dhcpc status

Syntax Description

option

It is an optional setting for DHCP server.

release

It means to release current WAN IP address.

renew

It means to renew the WAN IP address and obtain another new one.

status

It displays current status of DHCP client.

Example

>ip dhcpc status

I/F#3 DHCP Client Status:

DHCP Server IP

: 172.16.3.7

WAN Ipm

:

172.16.3.40

WAN Netmask

:

255.255.255.0

WAN Gateway

:

172.16.3.1

Primary DNS

:

168.95.192.1

Secondary DNS

: 0.0.0.0

Leased Time

:

259200

Leased Time T1

: 129600

Leased Time T2

: 226800

Leased Elapsed

: 259194

Leased Elapsed T1 : 129594

Leased Elapsed T2 : 226794