29
(ppp_device is the device name same as you configure in RFC 2364/RFC2516
example)
•
Remove NAT to RFC 2364/RFC2516 to above RFC 2364/RFC2516 Routing Mode example
> ip nat delete ppp_device
↵
4.3 Changing DHCP server configuration
DHCP is used to acquire IP addresses and options (such as the subnet mask, DNS, gateway, etc.)
automatically. On the practical level, acquiring these initialization parameters with DHCP translates into
avoiding the more involved Router/PC process (reconfiguration of Router and/or PC addresses in the
same network.
[System configuration]
[ISP/DSLAM configuration]
IP
address
: 192.168.102.3
Subnet
mask
:
255.255.255.0
Gateway :
None
[Local PC configuration]
IP address :
None (obtained by DHCP)
Subnet
mask
:
None
(obtained
by
DHCP)
Gateway :
None (obtained by DHCP)
By default, the ADSL Router is configured as a DHCP server with the following settings :
% Do not allocate dynamic IP addresses to unknown clients
deny unknown-clients;
% Do not repond to BOOTP queries
deny bootp;
% Use 255.255.255.0 as subnet mask for all clients in 10.0.0.0 subnet
subnet 10.0.0.0 netmask 255.255.255.0 {
% Range of dynamic IP addresses (change only the last digit)
range 10.0.0.2 10.0.0.5;
% If client does not request a specific lease time allocate 3600
% seconds
% (change as required)
default-lease-time 3600;
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.254
192.168.102.2
192.168.102.3