31
4.4 Changing DHCP client configuration
[System configuration]
[ISP/DSLAM configuration]
IP
address
: 192.168.102.3
Subnet
mask
:
255.255.255.0
Gateway :
None
[Local PC 1 configuration]
IP address :
202.1.136.101
Subnet
mask
:
255.255.255.0
Gateway
:
202.1.136.xxx
The basic procedure to change the current setting is that you have to delete the existing configuration
and reentering new configuration.
>
home
↵
>
dhcpclient config
↵
(displays the current DHCP client configuration)
>
dhcpclient config flush
↵
(deletes current DHCP client settings)
>
dhcpclient config confirm
↵
(confirm the previous action
)
>
config save
↵
(save the new configuration)
>
dhcpclient config
↵
(displays the current DHCP client configuration. Should be empty.)
Now add the new settings for DHCP client.
>
ip device add Ethernet ether //edd dhcp
↵
>
dhcpclient config add timeout 300;
↵
>
dhcpclient config add retry 2000;
↵
>
dhcpclient config add reboot 500;
↵
>
dhcpclient config add backoff-cutoff 240;
↵
>
dhcpclient config add interface “ethernet” { send dhcp-client-identifier xx:xx:xx:xx:xx:xx; send
dpch-lease-time 900; }
↵
(xx:xx:xx:xx:xx:xx is the Ethernet Mac address of your ADSL Router)
>
dhcpclient config confirm
↵
(confirm the new configuration)
>
config save
↵
(save the new configuration)
>
restart
↵
(after restart new configuration will take effect)
DSLAM/NSP
Ethernet Port
10Base-T Port
Up-Link
PC 1
202.1.136.1
HUB
PC N
202.1.136.100
202.1.136.xxx
192.168.102.2
192.168.102.3