Community discussions

MikroTik App
 
UMarcus
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 95
Joined: Wed Jan 21, 2015 10:11 am
Location: Europe

[SOLVED] DHCP Server Problem, offer to broadcast ?

Sat Jan 31, 2015 3:23 pm

Hello,
i have a problem with DHCP offer to DEBIAN Server.

Configuration is :
DEBIAN Server ETH1, VLAN320,330,340 all as DHCP Client
MT-RB CRS125 VLAN320,330,340 all as DHCP Server

The DHCP Request in VLAN320,330 work as expectd, but in VLAN340 the CRS125 offers the request but the DEBIAN Server not get it.

I'm have no knowing about the Protocoll in Detail, but what i see if i compare to working DHCP Offers is that the Offer which fail goes to DST MAC ff:ff:ff:ff:ff:ff:ff. May be this is the issue, but i have no idea why it not goes to the ETH1,VLAN340 MAC.

Screenshot of VLAN340 DHCP Communication :
dhcp_34.JPG
Detail of DHCP Discover Packet:
No.     Time           Source                Destination           Protocol Length Info
   5447 34.160380000   0.0.0.0               255.255.255.255       DHCP     389    DHCP Discover - Transaction ID 0x8f932e50

Ethernet II, Src: IntelCor_xx:xx:34 (xx:xx:xx:xx:xx:34), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
    Destination: Broadcast (ff:ff:ff:ff:ff:ff)
        Address: Broadcast (ff:ff:ff:ff:ff:ff)
        .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
        .... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
    Source: IntelCor_xx:xx:34 (xx:xx:xx:xx:xx:34)
        Address: IntelCor_xx:xx:34 (xx:xx:xx:xx:xx:34)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Type: IP (0x0800)
Internet Protocol Version 4, Src: 0.0.0.0 (0.0.0.0), Dst: 255.255.255.255 (255.255.255.255)
    Version: 4
    Header Length: 20 bytes
    Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00: Not-ECT (Not ECN-Capable Transport))
        0001 00.. = Differentiated Services Codepoint: Unknown (0x04)
        .... ..00 = Explicit Congestion Notification: Not-ECT (Not ECN-Capable Transport) (0x00)
    Total Length: 328
    Identification: 0x0000 (0)
    Flags: 0x00
        0... .... = Reserved bit: Not set
        .0.. .... = Don't fragment: Not set
        ..0. .... = More fragments: Not set
    Fragment offset: 0
    Time to live: 128
    Protocol: UDP (17)
    Header checksum: 0x3996 [validation disabled]
        [Good: False]
        [Bad: False]
    Source: 0.0.0.0 (0.0.0.0)
    Destination: 255.255.255.255 (255.255.255.255)
    [Source GeoIP: Unknown]
    [Destination GeoIP: Unknown]
User Datagram Protocol, Src Port: 68 (68), Dst Port: 67 (67)
    Source Port: 68 (68)
    Destination Port: 67 (67)
    Length: 308
    Checksum: 0xe5a0 [validation disabled]
        [Good Checksum: False]
        [Bad Checksum: False]
    [Stream index: 3]
Bootstrap Protocol (Discover)
    Message type: Boot Request (1)
    Hardware type: Ethernet (0x01)
    Hardware address length: 6
    Hops: 0
    Transaction ID: 0x8f932e50
    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: 0.0.0.0 (0.0.0.0)
    Client MAC address: IntelCor_xx:xx:34 (xx:xx:xx:xx:xx:34)
    Client hardware address padding: 00000000000000000000
    Server host name not given
    Boot file name not given
    Magic cookie: DHCP
    Option: (53) DHCP Message Type (Discover)
        Length: 1
        DHCP: Discover (1)
    Option: (50) Requested IP Address
        Length: 4
        Requested IP Address: 192.168.34.10 (192.168.34.10)
    Option: (12) Host Name
        Length: 5
        Host Name: nas-d
    Option: (55) Parameter Request List
        Length: 13
        Parameter Request List Item: (1) Subnet Mask
        Parameter Request List Item: (28) Broadcast Address
        Parameter Request List Item: (2) Time Offset
        Parameter Request List Item: (3) Router
        Parameter Request List Item: (15) Domain Name
        Parameter Request List Item: (6) Domain Name Server
        Parameter Request List Item: (119) Domain Search
        Parameter Request List Item: (12) Host Name
        Parameter Request List Item: (44) NetBIOS over TCP/IP Name Server
        Parameter Request List Item: (47) NetBIOS over TCP/IP Scope
        Parameter Request List Item: (26) Interface MTU
        Parameter Request List Item: (121) Classless Static Route
        Parameter Request List Item: (42) Network Time Protocol Servers
    Option: (255) End
        Option End: 255
    Padding
Details of DHCP Offer Packet
No.     Time           Source                Destination           Protocol Length Info
   5448 34.166158000   192.168.34.1          255.255.255.255       DHCP     389    DHCP Offer    - Transaction ID 0x8f932e50


Ethernet II, Src: Routerbo_xx:xx:72 (xx:xx:xx:xx:xx:72), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
    Destination: Broadcast (ff:ff:ff:ff:ff:ff)
        Address: Broadcast (ff:ff:ff:ff:ff:ff)
        .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
        .... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
    Source: Routerbo_xx:xx:72 (xx:xx:xx:xx:xx:72)
        Address: Routerbo_xx:xx:72 (xx:xx:xx:xx:xx:72)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Type: IP (0x0800)
Internet Protocol Version 4, Src: 192.168.34.1 (192.168.34.1), Dst: 255.255.255.255 (255.255.255.255)
    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: 328
    Identification: 0x0000 (0)
    Flags: 0x00
        0... .... = Reserved bit: Not set
        .0.. .... = Don't fragment: Not set
        ..0. .... = More fragments: Not set
    Fragment offset: 0
    Time to live: 16
    Protocol: UDP (17)
    Header checksum: 0xc6fc [validation disabled]
        [Good: False]
        [Bad: False]
    Source: 192.168.34.1 (192.168.34.1)
    Destination: 255.255.255.255 (255.255.255.255)
    [Source GeoIP: Unknown]
    [Destination GeoIP: Unknown]
User Datagram Protocol, Src Port: 67 (67), Dst Port: 68 (68)
    Source Port: 67 (67)
    Destination Port: 68 (68)
    Length: 308
    Checksum: 0xb161 [validation disabled]
        [Good Checksum: False]
        [Bad Checksum: False]
    [Stream index: 4]
Bootstrap Protocol (Offer)
    Message type: Boot Reply (2)
    Hardware type: Ethernet (0x01)
    Hardware address length: 6
    Hops: 0
    Transaction ID: 0x8f932e50
    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: 192.168.34.10 (192.168.34.10)
    Next server IP address: 192.168.34.1 (192.168.34.1)
    Relay agent IP address: 0.0.0.0 (0.0.0.0)
    Client MAC address: IntelCor_xx:xx:34 (xx:xx:xx:xx:xx:34)
    Client hardware address padding: 00000000000000000000
    Server host name not given
    Boot file name not given
    Magic cookie: DHCP
    Option: (53) DHCP Message Type (Offer)
        Length: 1
        DHCP: Offer (2)
    Option: (54) DHCP Server Identifier
        Length: 4
        DHCP Server Identifier: 192.168.34.1 (192.168.34.1)
    Option: (51) IP Address Lease Time
        Length: 4
        IP Address Lease Time: (259200s) 3 days
    Option: (1) Subnet Mask
        Length: 4
        Subnet Mask: 255.255.255.0 (255.255.255.0)
    Option: (3) Router
        Length: 4
        Router: 192.168.34.1 (192.168.34.1)
    Option: (6) Domain Name Server
        Length: 8
        Domain Name Server: 192.168.34.1 (192.168.34.1)
        Domain Name Server: 8.8.8.8 (8.8.8.8)
    Option: (42) Network Time Protocol Servers
        Length: 8
        Network Time Protocol Server: 85.25.197.197 (85.25.197.197)
        Network Time Protocol Server: 5.9.29.107 (5.9.29.107)
    Option: (255) End
        Option End: 255
    Padding
Thanks in advance for any help,
best regards
Marcus
You do not have the required permissions to view the files attached to this post.
Last edited by UMarcus on Sun Feb 01, 2015 3:53 pm, edited 1 time in total.
 
UMarcus
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 95
Joined: Wed Jan 21, 2015 10:11 am
Location: Europe

Re: DHCP Server Problem, offer to broadcast ?

Sun Feb 01, 2015 3:53 pm

Issue caused by wrong Switch Chip VLAN Setup.
 
dline
just joined
Posts: 7
Joined: Mon May 30, 2022 3:57 pm

Re: DHCP Server Problem, offer to broadcast ?

Mon May 30, 2022 8:21 pm

Issue caused by wrong Switch Chip VLAN Setup.
Hello! Got the same error. What setting did you fix in Switch Chip VLAN Setup?

Who is online

Users browsing this forum: noexp, StuckSomewhere, yonutm and 97 guests