• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Еще раз о статических маршрутах через DHCP

Scheduled Pinned Locked Moved Russian
2 Posts 2 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    temyshk
    last edited by Oct 23, 2014, 9:47 PM

    Необходимо клиентам в локальной сети шлюзом для которой и DHCP сервером является pfSense, пушать статические маршруты им же pfSensom
    Литература:
    Еще раз о статических маршрутах через DHCP
    Advanced DHCP Options: Pushing static routes to clients
    Что бы это сделать нужно прописать в
    Services - DHCP Server - Additional BOOTP/DHCP Options
    параметры
    249 опция - передача маршрута к подсети (с данной маской) Windows клиенту
    121 опция - передача маршрута к подсети (с данной маской)
    33 опция - передача маршрута к хосту (32 маска)
    далее
    тип - string
    и в формате HEX прописать маршрут, хоть убейте не получается,
    Как прописать маршрут 192.168.100.0/24 через 192.168.10.1? :o

    1 Reply Last reply Reply Quote 0
    • W
      werter
      last edited by Oct 25, 2014, 6:47 PM Oct 25, 2014, 6:41 PM

      Option : 121
      Type : String

      Destination: 192.168.100.0 (Hex: C0:A8:64:00)
      Router: 192.168.10.1 (Hex: C0:A8:0A:01)
      Subnet mask width: 24

      Value: 24.192.168.100.192.168.10.1, in hex 18:C0:A8:64:C0:A8:0A:01

      Note: Windows systems up to Windows XP/Windows Server 2003 do not request the dhcp option 121 (they have to be tweaked manually to request this option).

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received