Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

dhcp option 33 on ruijie switch Reply

Dmitry Bairoff

Level 1

dhcp option 33 on ruijie switch
2455 5 2023-2-1 22:35:53
Original
Dear team! How to deliver static routing entry to hosts in vlan using dhcp option 33? What is the syntax of this command? Unfortunatelly ling to command refference guide (https://www.ruijienetworks.com/resources/preview/75951) on the model docs page (https://www.ruijienetworks.com/service/DocSearchList_3_1388_0_0) leads to nothing.
Elite Cloud

Switch Configuration Network Setting DHCP DHCP server
0 2023-2-2 09:55:44 View all replies
May I know what your switch model is and current firmware version?


0 2023-2-2 15:22:23 View all replies
Patrick replied at 2023-2-2 09:55
May I know what your switch model is and current firmware version?

I'm not besides the switch now, not sure about exact version of software, but i believe it's the latest available on the web. The model is RG-S2910-24GT4SFP-UP-H

0 2023-2-2 15:27:06 View all replies
Patrick replied at 2023-2-2 09:55
May I know what your switch model is and current firmware version?

Today the document about command reference is loading well, so i found this:
The following  exampledefines  the  option  code  33,  which  provides  the  DHCP  client  with  the  static route  information.  The  DHCP  client  will  install  two  static  routes:  1)  the  destination  network 172.16.12.0 and the gateway 192.168.12.12, 2) the destination network 172.16.16.0 and the gateway 192.168.12.16.option 33 ip 172.16.12.0 192.168.12.12 172.16.16.0 192.168.12.16

with this command:
option 33 ip 172.16.12.0 192.168.12.12 172.16.16.0 192.168.12.16
But how to define mask for these networks?

0 2023-2-2 21:39:49 View all replies
Dmitry Bairoff replied at 2023-2-2 15:27
Today the document about command reference is loading well, so i found this:
The following  exampl ...
The syntax of this command is correct.
option 33 ip [Destination address] [Next-hop for host]

Option 33: After a DHCP host receives DHCP messages with this option, it adds the classful static routes contained in the option to its routing-table. In classful routes, destination address masks are natural masks and cannot be used to divide subnets.
Please kindly check this statement from an RFC official document:


0 2023-2-10 21:51:09 View all replies
Patrick replied at 2023-2-2 21:39
Dmitry Bairoff replied at 2023-2-2 15:27
Today the document about command reference is loading well, ...

Hi Patrick. You mean that for 192.168.x.y /24 mask will be used, and for 172.16.x.y mask will be /16? If so, the example in the document is not accurate, it advises to set gateway192.168.12.12 for the network 172.16.12.0  and gateway 192.168.12.16
  for the network
172.16.16.0, while both 172.16.12.0 and 172.16.16.0 are within one same network 172.16.0.0/16




Related Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd