On 03/12/2013 03:24 PM, Norbert Vastagh wrote: > Magosányi Árpád <[email protected]> írta (2013. március 12. 14:27): >> Az már volt, hogy dnsmasq dhcp-host/dhcp-hostsfile opció, tag paraméter, >> ami alapján dhcpoption/dhcp-optsfile a 'tag:' string használatával? > Nem - emlékeszem rá ;-) De szerintem nem. > > Most csiholom éppen a dnsmasq-ot (eddig is használtam dns prox-ként), > és tudok is gépenként egy fájt csinálni, meg abban mac address alapján > egyedileg ip címet osztani: de hogyan tudom az átjárót és a dns-t is > ott beállítan?! Arra még nem jöttem rá... > > Most így néz ki pl. egy ilyen fájlom: > > dhcp-host=xx:xx:xx:xx:xx:xx,vastitel,192.168.3.60,4h Én nem gépenként csinálnék egy fájlt. Csinálnék egy dhcphost file-t, valami ilyesmi módon:
xx:xx:xx:xx:xx:xx,vastitel,192.168.3.60,4h xx:xx:xx:xx:xx:xx,set:otherroute,vastite2,192.168.3.61,4h xx:xx:xx:xx:xx:xx,vastite3,192.168.3.60,4h és egy options file-t, valami ilyesmi módon: tag:otherroute,option:dns-server,8.8.8.8 tag:otherroute,option:router,10.5.5.1 _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
