HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Application Gu - Page 92

Dynamic Host Configuration Protocol, DHCP relay agent - layer 3 interface

Page 92 highlights

3. Add each IP interface to the appropriate VLAN. Now that the ports are separated into three VLANs, the IP interface for each subnet must be placed in the appropriate VLAN. The settings are made as follows: >> VLAN 3# /cfg/l3/if 1 (Select IP interface 1 for def. routers) >> IP Interface 1# vlan 2 (Set to VLAN 2) >> IP Interface 1# ../if 2 (Select IP interface 2 for first floor) >> IP Interface 2# vlan 1 (Set to VLAN 1) >> IP Interface 2# ../if 3 (Select IP interface 3 for second floor) >> IP Interface 3# vlan 1 (Set to VLAN 1) >> IP Interface 3# ../if 4 (Select IP interface 4 for servers) >> IP Interface 4# vlan 3 (Set to VLAN 3) 4. Apply and verify the configuration. >> IP Interface 4# apply (Make your changes active) >> IP Interface 4# /info/vlan (View current VLAN information) >> Information# port (View current port information) Examine the resulting information. If any settings are incorrect, make the appropriate changes. 5. Save your new configuration changes. >> Information# save (Save for restore after reboot) Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol (DHCP) is a transport protocol that provides a framework for automatically assigning IP addresses and configuration information to other IP hosts or clients in a large TCP/IP network. Without DHCP, the IP address must be entered manually for each network device. DHCP allows a network administrator to distribute IP addresses from a central point and automatically send a new IP address when a device is connected to a different place in the network. DHCP is an extension of another network IP management protocol, Bootstrap Protocol (BOOTP), with an additional capability of being able to dynamically allocate reusable network addresses and configuration parameters for client operation. Built on the client/server model, DHCP allows hosts or clients on an IP network to obtain their configurations from a DHCP server, thereby reducing network administration. The most significant configuration the client receives from the server is its required IP address; (other optional parameters include the "generic" file name to be booted, the address of the default gateway, and so forth). The DHCP relay agent eliminates the need to have DHCP/BOOTP servers on every subnet. It allows the administrator to reduce the number of DHCP servers deployed on the network and to centralize them. Without the DHCP relay agent, there must be at least one DHCP server deployed at each subnet that has hosts needing to perform the DHCP request. DHCP relay agent DHCP is described in RFC 2131, and the DHCP relay agent supported on GbE2c switches is described in RFC 1542. DHCP uses UDP as its transport protocol. The client sends messages to the server on port 67 and the server sends messages to the client on port 68. DHCP defines the methods through which clients can be assigned an IP address for a finite lease period and allowing reassignment of the IP address to another client later. Additionally, DHCP provides the mechanism for a client to gather other IP configuration parameters it needs to operate in the TCP/IP network. In the DHCP environment, the switch acts as a relay agent. The DHCP relay feature (/cfg/l3/bootp) enables the switch to forward a client request for an IP address to two BOOTP servers with IP addresses that have been configured on the switch. When a switch receives a UDP broadcast on port 67 from a DHCP client requesting an IP address, the switch acts as a proxy for the client, replacing the client source IP (SIP) and destination IP (DIP) addresses. The request is then forwarded as a UDP Unicast MAC layer message to two BOOTP servers whose IP addresses are configured on the Basic IP routing 92

  • 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
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

Basic IP routing 92
3.
Add each IP interface to the appropriate VLAN.
Now that the ports are separated into three VLANs, the IP interface for each subnet must be placed in the
appropriate VLAN. The settings are made as follows:
>> VLAN 3# /cfg/l3/if 1
(Select IP interface 1 for def. routers)
>> IP Interface 1# vlan 2
(Set to VLAN 2)
>> IP Interface 1# ../if 2
(Select IP interface 2 for first floor)
>> IP Interface 2# vlan 1
(Set to VLAN 1)
>> IP Interface 2# ../if 3
(Select IP interface 3 for second floor)
>> IP Interface 3# vlan 1
(Set to VLAN 1)
>> IP Interface 3# ../if 4
(Select IP interface 4 for servers)
>> IP Interface 4# vlan 3
(Set to VLAN 3)
4.
Apply and verify the configuration.
>> IP Interface 4# apply
(Make your changes active)
>> IP Interface 4# /info/vlan (View current VLAN information)
>> Information# port
(View current port information)
Examine the resulting information. If any settings are incorrect, make the appropriate changes.
5.
Save your new configuration changes.
>> Information# save
(Save for restore after reboot)
Dynamic Host Configuration Protocol
Dynamic Host Configuration Protocol (DHCP) is a transport protocol that provides a framework for automatically
assigning IP addresses and configuration information to other IP hosts or clients in a large TCP/IP network. Without
DHCP, the IP address must be entered manually for each network device. DHCP allows a network administrator to
distribute IP addresses from a central point and automatically send a new IP address when a device is connected to a
different place in the network.
DHCP is an extension of another network IP management protocol, Bootstrap Protocol (BOOTP), with an additional
capability of being able to dynamically allocate reusable network addresses and configuration parameters for client
operation.
Built on the client/server model, DHCP allows hosts or clients on an IP network to obtain their configurations from a
DHCP server, thereby reducing network administration. The most significant configuration the client receives from the
server is its required IP address; (other optional parameters include the “generic” file name to be booted, the address
of the default gateway, and so forth).
The DHCP relay agent eliminates the need to have DHCP/BOOTP servers on every subnet. It allows the administrator
to reduce the number of DHCP servers deployed on the network and to centralize them. Without the DHCP relay
agent, there must be at least one DHCP server deployed at each subnet that has hosts needing to perform the DHCP
request.
DHCP relay agent
DHCP is described in RFC 2131, and the DHCP relay agent supported on GbE2c switches is described in RFC 1542.
DHCP uses UDP as its transport protocol. The client sends messages to the server on port 67 and the server sends
messages to the client on port 68.
DHCP defines the methods through which clients can be assigned an IP address for a finite lease period and allowing
reassignment of the IP address to another client later. Additionally, DHCP provides the mechanism for a client to
gather other IP configuration parameters it needs to operate in the TCP/IP network.
In the DHCP environment, the switch acts as a relay agent. The DHCP relay feature (
/cfg/l3/bootp
) enables the
switch to forward a client request for an IP address to two BOOTP servers with IP addresses that have been
configured on the switch.
When a switch receives a UDP broadcast on port 67 from a DHCP client requesting an IP address, the switch acts as
a proxy for the client, replacing the client source IP (SIP) and destination IP (DIP) addresses. The request is then
forwarded as a UDP Unicast MAC layer message to two BOOTP servers whose IP addresses are configured on the