Configuring Ethernet ports
220 Administration for the Avaya G250 and Avaya G350 Media Gateways
●
Use the
ip dhcp client lease
command to set the lease requested by the DHCP
client. The lease is the length of time that the IP address provided by the DHCP server
remains in effect. By default, the client does not request a specific lease from the
DHCP server and uses the lease set by the DHCP server.
●
Use the
ip dhcp client request
command to determine which DHCP options
the DHCP client requests from the DHCP server. By default, the DHCP client requests
all DHCP options. For information on the specific options, see
Table 127
.
For example:
3. Optionally, use the
ip dhcp client route track
command to apply an object tracker
to monitor the DHCP client’s default route. The object tracker continuously checks the
validity of the default route, that is, whether data can be transmitted over the default route.
Whenever the object tracker determines that the default route has become invalid, the
route is dropped from the routing table and traffic is routed to alternate routes. If the default
route becomes valid again, it is added back to the routing table.
To define an object tracker, see
Object tracking configuration
on page 320.
For an example of how to track the DHCP client default route, see
Typical application –
tracking the DHCP client default route
on page 334.
Note that if several default routers are learned from a specific interface, the object tracker
tracks only the first one.
For example:
4. Enable the DHCP client by entering
ip address dhcp
.
A message appears, displaying the IP address and mask assigned by the DHCP server.
For example:
G350-001(config-if:FastEthernet 10/2)# ip dhcp client client-id hex
01:00:04:0D:29:DC:68
Done!
G350-001(config-if:FastEthernet 10/2)# ip dhcp client hostname “G350-A“
Done!
G350-001(config-if:FastEthernet 10/2)# ip dhcp client lease 1 4 15
Done!
G350-001(config-if:FastEthernet 10/2)# no ip dhcp client request domain-name
Done!
G350-001(config-if:FastEthernet 10/2)#ip dhcp client route track 3
Done!
G350-001(config-if:FastEthernet 10/2)# ip address dhcp
Done!
Interface FastEthernet 10/2 assigned DHCP address 193.172.104.161, mask
255.255.255.0
Summary of Contents for Media Gateway G250
Page 1: ...Administration for the Avaya G250 and Avaya G350 Media Gateways 03 300436 Issue 5 June 2008 ...
Page 24: ...Contents 24 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 32: ...Introduction 32 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 38: ...Configuration overview 38 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 244: ...Configuring logging 244 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 258: ...Configuring VoIP QoS 258 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 370: ...Configuring SNMP 370 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 548: ...Configuring the router 548 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 664: ...Configuring policy 664 Administration for the Avaya G250 and Avaya G350 Media Gateways ...
Page 686: ...Setting synchronization 686 Administration for the Avaya G250 and Avaya G350 Media Gateways ...