I doubt you can use Option 118 at al.

Option82 is usable only when working with RADIUS.


--
Подпись:
(добавляется в конце всех исходящих писем)



2011/10/5 Justin Miller <[email protected]>

>
>
> I'm trying to set up a CMTS to use DHCP Relay for CPE and cable modem
> devices pointing towards a Mikrotik 450G. The CMTS provides two options for
> choosing a private subnet for the cable modems and a different subnet for
> CPE. DHCP option 118 or DHCP option 82.
>
> DHCP options 118 includes as it's payload, the subnet as hex. Example for
> MT Log: Unknown(118) C0-A8-13-00  which would be subnet 192.168.19.0.
>  According to the RFC for option 118, DHCP servers should choose the subnet
> that matches the argument of the option with it's dhcp offer and include the
> option back in the reply.  How can you do this with a Mikrotik? Is it even
> possible?    I'm running into issues using option 82 instead as well.  What
> am I missing?
>
> This is the config I've been trying without success.
>
> /ip dhcp-server
> add address-pool=CPE-Pool authoritative=yes bootp-support=static
> disabled=no \
>    interface=bridge lease-time=3d name=CPE-DHCP relay=192.168.1.1
> /ip dhcp-server option
> add code=118 name=CM-118 value=C0-A8-13-00
> add code=118 name=CPE-118 value=""
> /ip dhcp-server lease
> add address=CM-Pool client-id=1:3c:75:4a:33:34:62 comment="" disabled=no \
>    mac-address=3C:75:4A:33:34:62 server=CPE-DHCP
> /ip dhcp-server network
> add address=192.168.1.0/24 comment="" dhcp-option=CPE-118
> gateway=192.168.1.254
> add address=192.168.19.0/24 comment="" dhcp-option=CM-118
> gateway=192.168.19.254
> /ip pool
> add name=CPE-Pool ranges=192.168.1.2-192.168.1.253
> add name=CM-Pool ranges=192.168.19.1-192.168.19.253
> /ip address
> add address=192.168.1.254/24 broadcast=192.168.1.255 comment=""
> disabled=no \
>    interface=bridge network=192.168.1.0
> add address=192.168.19.254/24 broadcast=192.168.19.255 comment=""
> disabled=no \
>    interface=bridge network=192.168.19.0
>
>
> Justin
>
>
> _______________________________________________
> Mikrotik mailing list
> [email protected]
> http://www.butchevans.com/mailman/listinfo/mikrotik
>
> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik
> RouterOS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.butchevans.com/pipermail/mikrotik/attachments/20111005/cbf9c6fc/attachment.html>
_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to