Подскажите пожалуйста где я натупил...
root@hellard-work-test:/netup/utm5/log # tshark -VVV -i re0 net 172.30.100.0/24
Код: Выделить всё
Capturing on 're0'
Frame 1: 363 bytes on wire (2904 bits), 363 bytes captured (2904 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Mar 6, 2014 19:09:37.328575000 KRAT
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1394104177.328575000 seconds
[Time delta from previous captured frame: 0.000000000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 0.000000000 seconds]
Frame Number: 1
Frame Length: 363 bytes (2904 bits)
Capture Length: 363 bytes (2904 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:udp:bootp]
Ethernet II, Src: Cisco_09:2c:00 (00:07:b3:09:2c:00), Dst: Giga-Byt_3f:b3:63 (00:16:e6:3f:b3:63)
Destination: Giga-Byt_3f:b3:63 (00:16:e6:3f:b3:63)
Address: Giga-Byt_3f:b3:63 (00:16:e6:3f:b3:63)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: Cisco_09:2c:00 (00:07:b3:09:2c:00)
Address: Cisco_09:2c:00 (00:07:b3:09:2c:00)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 172.30.100.2 (172.30.100.2), Dst: 176.119.17.34 (176.119.17.34)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not ECN-Capable Transport) (0x00)
Total Length: 349
Identification: 0x4c80 (19584)
Flags: 0x00
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..0. .... = More fragments: Not set
Fragment offset: 0
Time to live: 62
Protocol: UDP (17)
Header checksum: 0x5d56 [correct]
[Good: True]
[Bad: False]
Source: 172.30.100.2 (172.30.100.2)
Destination: 176.119.17.34 (176.119.17.34)
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootps (67)
Source port: bootps (67)
Destination port: bootps (67)
Length: 329
Checksum: 0x8b86 [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet (0x01)
Hardware address length: 6
Hops: 1
Transaction ID: 0xcd8c230d
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
0... .... .... .... = Broadcast flag: Unicast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 172.30.200.254 (172.30.200.254)
Client MAC address: CompalIn_4d:97:08 (70:5a:b6:4d:97:08)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (53) DHCP Message Type
Length: 1
DHCP: Discover (1)
Option: (61) Client identifier
Length: 7
Hardware type: Ethernet (0x01)
Client MAC address: CompalIn_4d:97:08 (70:5a:b6:4d:97:08)
Option: (12) Host Name
Length: 10
Host Name: hellard-\217\212
Option: (60) Vendor class identifier
Length: 8
Vendor class identifier: MSFT 5.0
Option: (55) Parameter Request List
Length: 12
Parameter Request List Item: (1) Subnet Mask
Parameter Request List Item: (15) Domain Name
Parameter Request List Item: (3) Router
Parameter Request List Item: (6) Domain Name Server
Parameter Request List Item: (44) NetBIOS over TCP/IP Name Server
Parameter Request List Item: (46) NetBIOS over TCP/IP Node Type
Parameter Request List Item: (47) NetBIOS over TCP/IP Scope
Parameter Request List Item: (31) Perform Router Discover
Parameter Request List Item: (33) Static Route
Parameter Request List Item: (121) Classless Static Route
Parameter Request List Item: (249) Private/Classless Static Route (Microsoft)
Parameter Request List Item: (43) Vendor-Specific Information
Option: (82) Agent Information Option
Length: 19
Option 82 Suboption: (1) Agent Circuit ID
Length: 7
Agent Circuit ID: 00050fa1000001
Option 82 Suboption: (2) Agent Remote ID
Length: 8
Agent Remote ID: 0006001fce10971b
Option: (255) End
Option End: 255
Padding
Ну и как итог не работает... =(
Код: Выделить всё
Mar 06 19:22:46 ?Debug : 28806400 DHCP_Server: request from 172.30.100.2:67:
DHCP packet header
op: 1
htype: 1
hlen: 6
hops: 1
xid: 159963fc
secs: 0
flags: 0
ciaddr: 0.0.0.0
yiaddr: 0.0.0.0
siaddr: 0.0.0.0
giaddr: 172.30.200.254
chaddr: 70:5a:b6:4d:97:08
sname:
file:
option [dhcp-message-type]: 01
option [dhcp-client-identifier]: 01705ab64d978
option [host-name]: hellard-\8f\8a
option [dhcp-class-identifier]: MSFT 5.0
option [dhcp-parameter-request-list]: 01f362c2e2f1f2179f92b
option [relay-agent-info]: 01705fa1001280601fce10971b
Mar 06 19:22:46 ?Debug : 28806400 DBConnection_mysql: <0x2889a400> SQL SELECT query: SELECT id,ip,expired,client_id,binding_id,flags FROM dhcp_leases WHERE mac='70:5a:b6:4d:97:08' ORDER BY id
Mar 06 19:22:46 ?Debug : 28806400 DBConnection_mysql: <0x2889a400> SQL SELECT query: 0 rows in 0.000 sec
Mar 06 19:22:46 ?Debug : 28806400 LeaseManager: no lease for MAC 70:5a:b6:4d:97:08 found
Mar 06 19:22:46 ?Debug : 28806400 DHCP_Server: got DHCPDISCOVER packet
Mar 06 19:22:46 ?Debug : 28806400 LeaseManager: no IP-MAC-port binding found for 70:5a:b6:4d:97:08
Mar 06 19:22:46 ERROR : 28806400 DHCP_Server: send_offer: LeaseManagerError: no suitable binding
ps. дебаг не совсем адекватный... могли бы подробнее расписать что он видится в заданных опциях.