Ubigate iBG2016 Configuration Guide/Ed.00
© SAMSUNG Electronics Co., Ltd.
93
Using DHCP Relay with NAT
When NAT is enabled, the DHCP server may discard packets because the
giaddr does not match the source of the packet. Additionally, it may not know
how to route the packet back to the client. See Figure 11.4. The solution is that
the gateway address(giaddr) field needs to have IP address 192.168.20.1
(in this example). The DHCP server configuration should be able to give
10.1.1.x addresses for packets from 192.168.20.1. However, there may be a
limitation that the DHCP server does not allow configuration using IP
addresses from a different subnet, although this is mentioned in the RFC.
Figure 2.4 Typical Scenario for DHCP Relay with NAT
Command Line Interface
The following are examples of command strings relevant to DHCP relay
Router# configure terminal
Router/configure# interface ethernet 0/0
Router/configure/interface/ethernet(0/0)# dhcp_relay
server_address 20.1.1.1
Disabling DHCP Relay
Router/configure/interface/ethernet(0/0)# no dhcp_relay
server_address 20.1.1.1
Configuring the Gateway Address field when NAT is enabled
Router/configure/interface/ethernet(0/0)# dhcp_relay
gateway_address 192.168.20.1
DHCP Server
DHCP Client
DHCP Client
DHCP Client
Router
192.168.20.1
10.1.1.1
PRIVATE PUBLIC
DHCP Pelay Agent
Network Address Translation
10.1.1.1 x
Network
Содержание Ubigate iBG2016
Страница 1: ......
Страница 16: ...INTRODUCTION XIV SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 34: ......
Страница 42: ...CHAPTER 1 Basic Configuration 8 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 62: ...CHAPTER 4 System Logging 28 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 70: ......
Страница 108: ......
Страница 126: ...CHAPTER 1 Layer 2 Switching 90 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 140: ...CHAPTER 4 RIP 104 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 156: ...CHAPTER 6 BGP 120 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 176: ...CHAPTER 7 MultiCast Protocols 140 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 180: ...CHAPTER 8 VRRP 144 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 264: ...CHAPTER 10 QoS 228 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 270: ...CHAPTER 11 VLAN forwarding with QoS 234 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 272: ......
Страница 278: ...CHAPTER 1 Authentication Authorization Accounting 228 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 298: ...CHAPTER 3 Firewall NAT 248 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 356: ...CHAPTER 5 IPSEC 306 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 358: ......
Страница 390: ...CHAPTER 2 VoIP Gateway Management 336 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 514: ...CHAPTER 4 H 323 Gateway Management 460 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 670: ...CHAPTER 8 Routing and Digit Manipulation 616 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Страница 744: ...EQBD 000071 Ed 00 ...