The Adtran community holiday season is starting next week! The holiday period will span from December 21, 2024 to January 6, 2025. During this time, responses to feedback form submissions may be delayed. If you are encountering product issues, you can reach out to Adtran support at any time.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable

Set to forward any dhcp requests to another dhcp server

Jump to solution

Just got set up with a unit from my ISP. One of the first things I havent been able to figure out is how to forward any dhcp requests to another server that we have handling any non static assignments. I was able to set the ip of the router to an ip without our private network and can now use it as a default gateway for computers to connect to.

Eventually, I need to move my pbx server over to using that as a gateway and figure out why calls arent working once I connect to it as the gateway for said server.

0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: Set 3133 to forward any dhcp requests to another dhcp server

Jump to solution

georanma:

Thank you for posting this question in the support community. 

Many services, such as DHCP, rely on clients being able to reach a server by broadcasting a request. These requests are limited by being broadcast. Broadcast traffic propagates only throughout the local subnet. If the client is not on the same subnet as the server, the broadcast will not reach the server. If it is necessary for clients to have the ability to communicate with a remote server through broadcast traffic, then UDP Relay must be enabled. UDP Relay, once set up, will not simply forward the broadcast packets. It also examines them, checks their validity, and adds any appropriate changes, such as its own IP address (which enables the server to return the traffic to the router). The router will then forward this traffic to the client.

UDP forwarding gives the network administrator the ability to have centralized services. For example a network with several routers/subnets does not need a DHCP server on every subnet. The DHCP address negotiation can be forwarded to a central DHCP server configured for multiple scopes. The administrator now has a single point of address management. The router responsible for UDP forwarding will receive a UDP broadcast and then forward the packet as a UDP unicast to a specified IP address.  More detailed information about UDP relay can be found in the Configuring UDP Relay in AOS document.

Configuring UDP forwarding consists of two commands:

• The ip helper-address <ip address>command is applied to the interface where the UDP broadcast packet originates and will enable UDP broadcast forwarding. The interface will forward received UDP broadcast frames to the unicast IP address specified in the ip helper-address command. The forwarded packet will use the IP address of the interface as it source.

• The ip forward-protocol udp <value> command will globally define which UDP protocols to forward based on UDP port number. Some protocols can be specified by name for ease of configuration.

For example, if the remote DHCP server has an IP address of 1.1.1.1, then the interface of the ADTRAN that receives the broadcasted DHCP traffic will need to be configured with the ip helper-address <ip address> command.

ROUTER-NAME(config-eth 0/1)# ip helper-address 1.1.1.1

Then you have to configure what ports need to be forwarded, in your case domain and bootps:

ROUTER-NAME(config)# ip forward-protocol udp domain

ROUTER-NAME(config)# ip forward-protocol udp bootps

I hope that makes sense, but please do not hesitate to reply to this post with any additional questions.  I will be happy to help in any way I can.

Levi

View solution in original post

5 Replies
Anonymous
Not applicable

Re: Set 3133 to forward any dhcp requests to another dhcp server

Jump to solution

Hi :

Is it a 3130?  Sounds like you might have two challenges.  DHCP relay is pretty easy.  This is used when you would like a DHCP server on one network (broadcast domain) to hand out addresses for hosts on another network.  Your concern about using the unit as a gateway for voice traffic might be better addressed in its own discussion, where more info and detail can be shared.

UDP Relay is found in the web GUI in the Data section.  Basically, you enter in the top item the IP address of the DHCP server you want to forward DHCP requests to.  Use the pull-down below that to choose which interface (VLAN 1, or eth 0/1, or whatever you need) will listen for DHCP requests to be forwarded.  Click Add.  In the lower section, choose BOOTPS (67).  BOOTPS means DHCP requests.  Remember to Save your changes.

Check out this ADTRAN guide for UDP Relay for more info and CLI examples.

Best,

--

Chris

Anonymous
Not applicable

Re: Set 3133 to forward any dhcp requests to another dhcp server

Jump to solution

georanma:

Thank you for posting this question in the support community. 

Many services, such as DHCP, rely on clients being able to reach a server by broadcasting a request. These requests are limited by being broadcast. Broadcast traffic propagates only throughout the local subnet. If the client is not on the same subnet as the server, the broadcast will not reach the server. If it is necessary for clients to have the ability to communicate with a remote server through broadcast traffic, then UDP Relay must be enabled. UDP Relay, once set up, will not simply forward the broadcast packets. It also examines them, checks their validity, and adds any appropriate changes, such as its own IP address (which enables the server to return the traffic to the router). The router will then forward this traffic to the client.

UDP forwarding gives the network administrator the ability to have centralized services. For example a network with several routers/subnets does not need a DHCP server on every subnet. The DHCP address negotiation can be forwarded to a central DHCP server configured for multiple scopes. The administrator now has a single point of address management. The router responsible for UDP forwarding will receive a UDP broadcast and then forward the packet as a UDP unicast to a specified IP address.  More detailed information about UDP relay can be found in the Configuring UDP Relay in AOS document.

Configuring UDP forwarding consists of two commands:

• The ip helper-address <ip address>command is applied to the interface where the UDP broadcast packet originates and will enable UDP broadcast forwarding. The interface will forward received UDP broadcast frames to the unicast IP address specified in the ip helper-address command. The forwarded packet will use the IP address of the interface as it source.

• The ip forward-protocol udp <value> command will globally define which UDP protocols to forward based on UDP port number. Some protocols can be specified by name for ease of configuration.

For example, if the remote DHCP server has an IP address of 1.1.1.1, then the interface of the ADTRAN that receives the broadcasted DHCP traffic will need to be configured with the ip helper-address <ip address> command.

ROUTER-NAME(config-eth 0/1)# ip helper-address 1.1.1.1

Then you have to configure what ports need to be forwarded, in your case domain and bootps:

ROUTER-NAME(config)# ip forward-protocol udp domain

ROUTER-NAME(config)# ip forward-protocol udp bootps

I hope that makes sense, but please do not hesitate to reply to this post with any additional questions.  I will be happy to help in any way I can.

Levi

Anonymous
Not applicable

Re: Set 3133 to forward any dhcp requests to another dhcp server

Jump to solution

Levi,

Im assuming that your response is basically the CLI way of doing what CJ suggested. And yes, my goal is to have any necessary ip address assignment handle in a central location. It is already going on currently in our network, just was wanting to set this adtran up to do the same so this netopia DSL can be replaced.

CJ,

It is not a 3130, its a 3133. I assume the difference is the dual adsl inputs for it. We have a 2x2 set up.

George

Anonymous
Not applicable

Re: Set 3133 to forward any dhcp requests to another dhcp server

Jump to solution

georanma:

Yes, I expanded on CJ's answer to include the CLI.  Both the CLI and Web interface instructions can be found in the guide we both linked.

Let me know if you have more questions about this topic.

Levi

Anonymous
Not applicable

Re: Set to forward any dhcp requests to another dhcp server

Jump to solution

It may be helpful to note that as of AOS version 18.02, a new command was added to simplify the DHCP relay process. From the interface level configuration prompt, the following command can used to enable DHCP relay.

ROUTER-NAME(config-eth 0/1)# ip dhcp relay destination <address>


This configures the Adtran equipment to act as a DHCP relay agent for the specific interface while still allowing the Adtran equipment to act as a DHCP server on other broadcast domains. In other words, the Adtran equipment can act as a DHCP server for certain VLANs, while forwarding the messages for others. The setup is likewise simpler, however currently it must be done through the CLI.