Multiple Routes with One Byte Data in DHCP option 121 (Classless Static Route Option)

Description

Multiple Routes with One Byte Data in DHCP option 121 (Classless Static Route Option)

Resolution

STEP 1: Create Option Object

Go to Network > DHCP Server screen,

Image

Step 2: Now, click on Advanced,

Image 

Step 3: Click DHCP Generic Option drop down Menu and select "Create New DHCP Option Object"

Image 

Step 4: Now, you have to fill up all the necessary fields,

OPTION NAME is the name of the object, OPTION NUMBER chosen is "DHCP Option 121" with OPTION ARRAY check-box "ENABLED" and OPTION TYPE set as "ONE BYTE DATA".

Example: You have to Add two Routes:

1)Network is 10.56.0.0/16 and Gateway is 10.10.5.253 and 

2)Network is 10.58.0.0/16 and Gateway is 10.10.5.253

Image

Now the syntax that we have to use in this scenario goes as follows:    

 

16;10;56;10;10;5;253;

16;10;58;10;10;5;253

OR

16;10;56;10;10;5;253;16;10;58;10;10;5;253

*It might form a continuous line but keep them separated by ";" (semi-colons), but separate each Route with a SPACE/ENTER.

Image

In order to Verify the same, you can run a packet capture on WIRESHARK and the results should be as follows:

Image

Related Articles

  • How to Block Google QUIC Protocol on SonicOS 7?
    Read More
  • Add new address object to an existing group - SonicOS API
    Read More
  • How to use the NSM Firewall Migration App
    Read More
not finding your answers?