Zhone 6301 Guia Do Utilizador

Página de 142
4. DSL Router Configuration Examples
4-12
  
March 
2002
6300-A2-GB20-00
DHCP Server with Basic NAT Configuration Example
In this DHCP Server with Basic NAT example:
„
The clients are using dynamic IP address assignment and use the Ethernet 
interface (eth1) of the DSL router as the next hop router (default gateway).
„
The DSL interface (dsl1) must be numbered.
„
The DSL router is configured as the DHCP server providing the private IP 
addresses to the clients.
„
The Ethernet interface is in private address space. NAT is used for 
one-to-one mapping of addresses.
The commands and syntax for this example are:
ip routing enable
ifn
 
address eth1  10.1.3.10  255.255.255.240
ifn
 
address dsl1  155.1.3.2  255.255.255.0
ip route create upstream eth1 155.1.3.1
nat basic address 155.1.3.0
nat basic enable
dhcp server addresses 10.1.3.2   10.1.3.9
dhcp server router 10.1.3.10
dhcp server nameserver 132.53.4.2
dhcp server enable
NOTES:
— The 
ip routing enable
 command is only required when using 
firmware version 4.2.5 or higher.
— FUNI/MPOA (1483 routed) link encapsulation can be used with this 
configuration and the DSL card Models 8304, 8314, 8344, and 8374. Link 
encapsulation is configured on the DSL port. This link encapsulation must 
match the core network encapsulation type. The 
ip route create 
upstream
 command is not necessary when using FUNI/MPOA link 
encapsulation.
01-16952
Customer Premises (CP)
DSL
Router
Hub
10.1.3.2
10.1.3.3
10.1.3.9
End-user
Systems
Console
Port
Connection
Ethernet
eth1
10.1.3.10
DSL
Core
Router
dsl1
155.1.3.2
WAN
155.1.3.1
DNS
Name
Server
132.53.4.2