2013-07-17-1938Z


got dhcp-fwd running on one of my 2MB-flash routers, using this config:

root@scavenger:/etc/init.d# egrep -v '^(#.*|)$' /etc/dhcp-fwd.conf 
user            0
group           0
chroot          /
logfile         /var/log/dhcp-fwd.log
loglevel        1
pidfile         /var/run/dhcp-fwd.pid
ulimit core     0
ulimit stack    64K
ulimit data     32K
ulimit rss      200K
ulimit nproc    0
ulimit nofile   0
ulimit as       0
if      eth1    false   true    true
server  bcast   eth1

but of course with sub-optimal results:

root@scavenger:/etc/init.d# cat /var/log/dhcp-fwd.log     
1374089402..609535: BOOTREQUEST request from interface without clients
1374089404..023198: BOOTREQUEST request from interface without clients
1374089405..864545: BOOTREQUEST request from interface without clients

next step is to set eth1 to "true true true" so it accepts clients and servers on the same network. this probably won't work.

Back to blog or home page

last updated 2013-07-29 18:10:49. served from tektonic.jcomeau.com