pfSense - Add Static Routes to pfSense DHCP Clients

  • use OPTION 121 (OPTION 249 is deprecated)
  • format = string
  • convert subnet to hexadecimal (ex -> 255.255.255.0 -> /24 = 18)
  • convert network to hexadecimal (ex -> 192.168.144.0 = c0:a8:90:00)
  • convert gateway to hexadecimal (ex -> 192.168.144.253 = c0:a8:90:fd)
  • concatenate string -> | Mask | Network | Gateway | = 18:c0:a8:90:c0:a8:90:fd

if you need multiple Routes added this way, simply concatenate all Routes
(as my personal experience goes, do not add the same option number more then once)

  • Route 1 -> 18:c0:a8:90:c0:a8:90:fd
  • Route 2 -> 18:aa:bb:cc:dd:ee:ff:00
  • Result -> Route1:Route2:RouteN = 18:c0:a8:90:c0:a8:90:fd:18:aa:bb:cc:dd:ee:ff:00


  • Posted on 15 August, 2017
  • by Administrator