Cisco 1841 with Adv. IP\n\nI'm having some trouble getting cisco's dhcp to work well in a mixed\nenvironment with windows and linux.\nHere is the problem, (which I understand also exists with ISC's dhcp\naswell). I want to assign static addresses to several machines, some\nof which dual boot windows and linux. In the cisco config I would put\nsomething like this:\n\nip dhcp pool GUEST\n network 10.0.10.0 255.255.255.0\n domain-name guest.tld\n dns-server 220.127.116.11 18.104.22.168\n default-router 10.0.10.1\n\nip dhcp pool testpool\n host 10.0.0.38\n hardware-address 0019.bbd7.fed7\n default-router 10.0.0.2\n dns-server 10.0.0.50\n\nUsing the above config, the linux box gets it's correct IP as\nexpected. When I reboot into windows, I get thrown onto the guest ip\nblock. Apparently for windows hosts, you must use client-identifier\nrather then hardware address. It's the same thing, but prefixed with\na 01 to represent ethernet.\n\nip dhcp pool testpool\n host 10.0.0.38\n hardware-address 0100.19bb.d7fe.d7\n default-router 10.0.0.2\n dns-server 10.0.0.50\n\nNow the windows box can get an IP, but rebooting into linux throws you\ninto the guest pool.\n\n\nI contacted cisco, who's response was to make two pools for every\nhost. one with hardware-address and the other with client-identifier,\nand set the lease time to be extremely short. While that sounded\nrediculous, I tried it anyway. The router won't allow you to specify\ntwo bindings with the same ip... What is the proper way to do this??\nAm I going to have to get a cheap linksys router, and let that handle\ndhcp ?\n\n\nBelow is my current config:\nip dhcp pool testpool\n origin file tftp://10.0.10.100/1841-dhcp.txt\n default-router 10.0.0.2\n dns-server 10.0.0.50\n\n\nand the file 1841-dhcp.txt:\n*time* Jul 07 2007 01:17 PM\n*version* 2\n!IP address Type Hardware address Lease expiration\n10.0.0.39 /24 1 0019.bbd7.fed7 Infinate\n10.0.0.39 /24 id 0100.19bb.d7fe.d7\n*end*\n\n\nAnd the console output when the cisco loads that file:\n000194: *Jul 5 14:21:41.291 PCTime: DHCPD: reading bindings from\ntftp://10.0.10.100/1841-dhcp.txt.\n000195: *Jul 5 14:21:41.299 PCTime: DHCPD: read 217 / 1024 bytes.\n000196: *Jul 5 14:21:41.299 PCTime: DHCPD: parsing text line "*time*\nJul 07 2007 01:17 PM"\n000197: *Jul 5 14:21:41.299 PCTime: DHCPD: parsing text line\n"*version* 2"\n000198: *Jul 5 14:21:41.299 PCTime: DHCPD: route: Parsed version = 2\n000199: *Jul 5 14:21:41.299 PCTime: DHCPD: parsing text line "!IP\naddress Type Hardware address Lease expiration"\n000200: *Jul 5 14:21:41.299 PCTime: DHCPD: parsing text line\n"10.0.0.39 /24 1 0019.bbd7.fed7 Infinate"\n000201: *Jul 5 14:21:41.299 PCTime: DHCPD: creating binding for\n10.0.0.39\n000202: *Jul 5 14:21:41.299 PCTime: DHCPD: Adding binding to radix\ntree (10.0.0.39)\n000203: *Jul 5 14:21:41.299 PCTime: DHCPD: Adding binding to hash\ntree\n000204: *Jul 5 14:21:41.299 PCTime: DHCPD: parsing text line\n"10.0.0.39 /24 id 0100.19bb.d7fe.d7"\n000205: *Jul 5 14:21:41.299 PCTime: DHCPD: binding for 10.0.0.39\nalready exists.\n000206: *Jul 5 14:21:41.299 PCTime: DHCPD: parsing text line "*end*"\n000207: *Jul 5 14:21:41.303 PCTime: DHCPD: read static bindings from\ntftp://10.0.10.100/1841-dhcp.txt.