HP 6120XG HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 89

Enabling DHCP Relay, Configuring a BOOTP/DHCP Relay Gateway, Default: Lowest-numbered IP address

Page 89 highlights

IP Routing Features Configuring DHCP Relay Enabling DHCP Relay The DHCP Relay function is enabled by default on a ProCurve routing switch. However, if DHCP has been disabled, you can re-enable it by entering the following command at the global configuration level: ProCurve(config)# dhcp-relay To disable the DHCP Relay function, enter the no form of the command: ProCurve(config)# no dhcp-relay Configuring a BOOTP/DHCP Relay Gateway The DHCP relay agent selects the lowest-numbered IP address on the interface to use for DHCP messages. The DHCP server then uses this IP address when it assigns client addresses. However, this IP address may not be the same subnet as the one on which the client needs the DHCP service. This feature provides a way to configure a gateway address for the DHCP relay agent to use for DHCP requests, rather than the DHCP relay agent automati­ cally assigning the lowest-numbered IP address. You must be in VLAN context to use this command, for example: ProCurve# config ProCurve(config)# vlan 1 ProCurve(vlan-1)# Syntax: ip bootp-gateway Allows you to configure an IP address for the DHCP relay agent to use for DHCP requests. The IP address must have been configured on the interface. Default: Lowest-numbered IP address If the IP address has not already been configured on the interface (VLAN), you will see the message shown in Figure 3-16. 3-43

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

IP Routing Features
Configuring DHCP Relay
Enabling DHCP Relay
The DHCP Relay function is enabled by default on a ProCurve routing switch.
However, if DHCP has been disabled, you can re-enable it by entering the
following command at the global configuration level:
ProCurve(config)# dhcp-relay
To disable the DHCP Relay function, enter the
no
form of the command:
ProCurve(config)# no dhcp-relay
Configuring a BOOTP/DHCP Relay Gateway
The DHCP relay agent selects the lowest-numbered IP address on the interface
to use for DHCP messages. The DHCP server then uses this IP address when
it assigns client addresses. However, this IP address may not be the same
subnet as the one on which the client needs the DHCP service.
This feature provides a way to configure a gateway address for the DHCP relay
agent to use for DHCP requests, rather than the DHCP relay agent automati-
cally assigning the lowest-numbered IP address.
You must be in VLAN context to use this command, for example:
ProCurve# config±
ProCurve(config)# vlan 1±
ProCurve(vlan-1)#±
Syntax:
ip bootp-gateway <ip-addr>
Allows you to configure an IP address for the DHCP relay
agent to use for DHCP requests. The IP address must have been
configured on the interface.
Default: Lowest-numbered IP address
If the IP address has not already been configured on the interface (VLAN), you
will see the message shown in Figure 3-16.
3-43