Имеем стандартную схему Cisco2+Zyxel.
Пытаюсь на один порт выдать два IP-адреса:
Вложение:
Комментарий к файлу: скрин привязок
scr1.gif [ 4.39 КБ | Просмотров: 3471 ]
Что пишет лог DHCP-сервера:
Код:
INFO 19.10.2009 20:59:51,641 main dhcp.server.identifier=94.xxx.xxx.2
INFO 19.10.2009 20:59:51,642 main Starting BGDhcpIPN (BGBilling DHCP server/gate for IPN)...
INFO 19.10.2009 20:59:51,644 main option_82=1
INFO 19.10.2009 20:59:51,644 main position_82=2
INFO 19.10.2009 20:59:51,644 main dhcp.data.save.delay=3600000
INFO 19.10.2009 20:59:51,644 main dhcp.data.save.period=3600000
INFO 19.10.2009 20:59:51,645 main Load data from file.
DEBUG 19.10.2009 20:59:51,781 main set gate 2 94.xxx.xxx.1
INFO 19.10.2009 20:59:51,783 main setGatePortMacIp: gateId = 2;port=1006;adress=94.xxx.xxx.19;mac=00 0C 29 E1 F0 E9
INFO 19.10.2009 20:59:51,784 main Processor init ok.
INFO 19.10.2009 20:59:51,790 main DHCPSocketListener on port=67 init ok.
INFO 19.10.2009 20:59:51,794 main AdminSocketListener on port=1868 init ok.
INFO 19.10.2009 20:59:51,795 Thread-7 AdminSocketListener listen.
DEBUG 19.10.2009 20:59:52,897 Thread-8 admin command
INFO 19.10.2009 20:59:52,904 Thread-8 Admin command: status.
DEBUG 19.10.2009 21:00:04,247 pool-1-thread-1 processing request
DEBUG 19.10.2009 21:00:04,247 pool-1-thread-1 OP_BOOT_REQUEST
DEBUG 19.10.2009 21:00:04,247 pool-1-thread-1 agent information found!
DEBUG 19.10.2009 21:00:04,248 pool-1-thread-1 DHCP_REQUEST or DHCP_DISCOVER
DEBUG 19.10.2009 21:00:04,248 pool-1-thread-1 request.giaddr =94.xxx.xxx.1
DEBUG 19.10.2009 21:00:04,248 pool-1-thread-1 gateId = 2
DEBUG 19.10.2009 21:00:04,248 pool-1-thread-1 getting ip info...
DEBUG 19.10.2009 21:00:04,248 pool-1-thread-1 trying to read postion =2
DEBUG 19.10.2009 21:00:04,249 pool-1-thread-1 success!!
DEBUG 19.10.2009 21:00:04,249 pool-1-thread-1 vlan=1006
DEBUG 19.10.2009 21:00:04,249 pool-1-thread-1 adress by vlan not found!!
DEBUG 19.10.2009 21:00:04,249 pool-1-thread-1 mac from request = 000C29BE220D
DEBUG 19.10.2009 21:00:04,249 pool-1-thread-1 mac after convert = 00 0C 29 BE 22 0D
DEBUG 19.10.2009 21:00:04,249 pool-1-thread-1 adress by mac was not found
DEBUG 19.10.2009 21:01:04,813 Thread-9 admin command
DEBUG 19.10.2009 21:01:04,816 Thread-9 set gate 2 94.xxx.xxx.1
DEBUG 19.10.2009 21:01:04,817 Thread-10 admin command
DEBUG 19.10.2009 21:01:04,820 Thread-10 set gate 2 94.xxx.xxx.1
INFO 19.10.2009 21:01:04,820 Thread-10 setGatePortMacIp: gateId = 2;port=1006;adress=94.xxx.xxx.18;mac=00 0C 29 BE 22 0D
INFO 19.10.2009 21:01:04,820 Thread-10 setGatePortMacIp: gateId = 2;port=1006;adress=94.xxx.xxx.19;mac=00 0C 29 E1 F0 E9
DEBUG 19.10.2009 21:03:33,868 pool-1-thread-2 processing request
DEBUG 19.10.2009 21:03:33,868 pool-1-thread-2 OP_BOOT_REQUEST
DEBUG 19.10.2009 21:03:33,868 pool-1-thread-2 agent information found!
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 DHCP_REQUEST or DHCP_DISCOVER
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 request.giaddr =94.xxx.xxx.1
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 gateId = 2
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 getting ip info...
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 trying to read postion =2
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 success!!
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 vlan=1006
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 adress by vlan not found!!
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 mac from request = 000C29BE220D
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 mac after convert = 00 0C 29 BE 22 0D
DEBUG 19.10.2009 21:03:33,869 pool-1-thread-2 adress by mac was not found
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 processing request
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 OP_BOOT_REQUEST
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 agent information found!
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 DHCP_REQUEST or DHCP_DISCOVER
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 request.giaddr =94.xxx.xxx.1
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 gateId = 2
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 getting ip info...
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 trying to read postion =2
DEBUG 19.10.2009 21:03:37,855 pool-1-thread-2 success!!
DEBUG 19.10.2009 21:03:58,713 pool-1-thread-2 vlan=1006
DEBUG 19.10.2009 21:03:58,713 pool-1-thread-2 adress by vlan not found!!
DEBUG 19.10.2009 21:03:58,713 pool-1-thread-2 mac from request = 000C29E1F0E9
DEBUG 19.10.2009 21:03:58,713 pool-1-thread-2 mac after convert = 00 0C 29 E1 F0 E9
DEBUG 19.10.2009 21:03:58,713 pool-1-thread-2 adress by mac =[B@50c4fe76
DEBUG 19.10.2009 21:03:58,713 pool-1-thread-2 ip = 94.xxx.xxx.19
DEBUG 19.10.2009 21:03:58,713 pool-1-thread-2 DHCP_REQUEST
DEBUG 19.10.2009 21:03:58,713 pool-1-thread-2 DHCP_ACK
Т.е. один получает адрес, а вот у второго какие-то проблемы с получением.
И еще, если не указаны мак-адреса, почему он пытается отдать обоим один и тот-же адрес? Неужели нельзя вести табличку учета занятых адресов и отдавать следующий свободный?