Virtual Router and Packet Relay


This command is used to forward packets to a DHCP server.

Syntax   vrouter-packet-relay-add vrouter-name name-string forward-proto dhcp forward-ip ip-address nic vrouter interface nic

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   Command introduced in Version 2.2.3.

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,, 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 nic eth0

See Also