jozols Posted May 7, 2007 Posted May 7, 2007 Всем привет! |....................................internet.......................DES 3526 |........................................ |........................../ | dhcp server(freebsd) - main ruter (mikrotik1) --- DES 3526 |...................................................................\ |.....................................................................mikrotik(2 ) ruter DHCP ISC 3.0.5 по опции 82 на длинки по портам все раздается на микротике(1) стоит dhcp-relay, и тоже раздача происходит добавили еще один микротик(2) и надо в dhcp.conf сделать отдельный класс микротик гоняет на dhcp server giaddr, в котором видна его внешняя ип 192.168.1.15 (в dhcp.log Apr 30 16:48:38 zztop dhcpd: DHCPREQUEST for 10.0.1.33 from 00:19:d1:19:2e:b5 (leo) via 192.168.1.15 Apr 30 16:48:38 zztop dhcpd: DHCPACK on 10.0.1.33 to 00:19:d1:19:2e:b5 (leo) via 192.168.1.15 ) как сделать в ISC конфиге класс по giaddr ? по примеру классов по agent.remote-id, что были ранее на форуме материалы по теме rfc 3046 http://www.rfc-archive.org/getrfc.php?rfc=3046 rfc 3527 http://www.rfc-archive.org/getrfc.php?rfc=3527 Relay Agent Information Sub-options: 1. agent.remote-id 2. agent.circuit-id 5. giaddr Вставить ник Quote
kuru Posted May 8, 2007 Posted May 8, 2007 (edited) Try to google. List: dhcp-server Subject: Re: Identifying DHCP Relay Agent From: Fu Zhao <fuzhao26 () gmail ! com> Date: 2005-09-20 12:49:40 Message-ID: d2695be005092005492fbde2ba () mail ! gmail ! com [Download message RAW] *** From dhcp-server -- To unsubscribe, see the end of this message. *** You have to assign different classes for each relay agent: class relay_agent_1{ match if packet (24,4) is the ip address of the first relay agent } class relay_agent_2{ match if packet (24,4) is the ip address of the second relay agent } subnet{ allow members of "relay_agent_1" .... ... .. Можно и в сам лист написать. Edited May 8, 2007 by kuru Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.