Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13832 closed enhancement (not_a_bug)

dhcp_option doesn't work in config host section

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: 10.03.1
Keywords: Cc:

Description

config 'host'
        option 'mac' 'xx:xx:xx:xx:xx:xx'
        option 'ip' '192.168.1.118'
        list 'dhcp_option' '6,192.168.1.144'

BusyBox v1.15.3 (2013-04-06 01:58:04 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 ---------------------------------------------------
 Backfire (10.03.x Snapshot, r33081)
 ---------------------------------------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
root@OpenWrt:~#

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by jow

  • Resolution set to not_a_bug
  • Status changed from new to closed

a) it was never supported this way
b) see https://forum.openwrt.org/viewtopic.php?pid=201038#p201038

comment:2 Changed 5 years ago by anonymous

  • Resolution not_a_bug deleted
  • Status changed from closed to reopened

doesn't work on backfire

config 'host'
    option name 'j400'
    option mac '00:21:63:75:aa:17'
    option ip '192.168.1.122'
    option tag 'vpn'  # assign tag "vpn" to this host

config tag 'vpn'  # match tag "vpn"
    list dhcp_option '6,8.8.8.8,8.8.4.4'

generated commandline:

/usr/sbin/dnsmasq
-K
-D
-y
-Z
-b
-E
-s
lan
-S
/lan/
-l
/tmp/dhcp.leases
-r
/tmp/resolv.conf.auto
--stop-dns-rebind
--rebind-localhost-ok
--dhcp-host=00:21:63:75:aa:17,192.168.1.122,j400
--dhcp-range=lan,192.168.1.100,192.168.1.250,255.255.255.0,12h
-2
pppoe-wan
-A
/OpenWrt.lan/192.168.1.1
--ptr-record=1.1.168.192.in-addr.arpa,OpenWrt.lan

comment:3 Changed 5 years ago by jow

  • Resolution set to not_a_bug
  • Status changed from reopened to closed

Again:
a) what you try to do here was never supposed to be implemented
b) the tag solution presented works on AA or later
c) Backfire is EOL

comment:4 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.