Operation Manual – Getting Started
H3C VG Series Voice Gateways
Chapter 2 Fundamental Configuration
2-25
2.5.3 DHCP Client Configuration Example
I. Network requirements
DHCP client obtains its IP address from the DHCP server in the same network segment.
The address pool (with the segment 10.1.1.0/24) of the DHCP server consists of two
segments: 10.1.1.0/25 and 10.1.1.128/25. The IP addresses of two Ethernet interfaces
of the DHCP server are 10.1.1.1/25 and 10.1.1.129/25 respectively.
II. Network diagram
DHCP Server
VG
10.1.1.0/25
10.1.1.129/25
Ethernet 0
Figure 2-17
Network diagram for DHCP client
III. Configuration procedure
# Set the Ethernet interface of the VG to obtain its IP address dynamically through
DHCP.
[VG] interface ethernet 0
[VG-Ethernet0] ip address dhcp-alloc
2.6 Default Route Configuration
Default route is a kind of static route. It will be used when no matching route is found in
the IP routing table. In the IP routing table, its destination address and mask both are
0.0.0.0. You can use the command
display ip routing-table
to check if the default
route has been configured. If the destination of a packet is absent in the IP routing table
and no default route is configured, then the packet will be discarded and an ICMP
message will be returned to the source end to indicate that the destination or the
network is unreachable.
In general, it’s enough to configure one default route for the VG. For more details about
routes, refer to Configuring Data Network of this manual.
Perform the following configuration in system view.