vrouter-packet-relay-add
This command is used to forward packets to a DHCP server.
Syntax vrouter-packet-relay-add
vrouter-name name-string |
Specify the name of the vRouter. |
Specify the following packet relay arguments: |
|
forward-proto dhcp |
Specify the forwarding protocol. |
forward-ip ip-address |
Specify the IP address to forward packets. |
nic vrouter interface nic |
Specify the interface of the vRouter. |
Defaults None
Access CLI
History
Version 2.2.3 |
Command introduced. |
Usage Using the vrouter-packet-relay command configures the Layer3 interface which receives the client’s DHCP broadcast. You can change the broadcast request into a unicast, and send it to a centralized DHCP server that is located to a different subnet in your network. The unicast DHCP request is normally routed to the destination DHCP Server within the network, even if the server is far away from the DHCP client.
Examples To forward DHCP packets to a DHCP server with the IP address, 10.30.21.11, and vRouter interface eth0, use the following syntax:
CLI (network-admin@switch) > vrouter-packet-relay-add vrouter-name vrouter-dhcp forward-proto dhcp forward-ip 10.30.21.11 nic eth0