This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dhcp logs

Hello Dear community. Im facing with dhcp problem that one of my device doesnt get DNS servers from dhcp. So at first i though that ill try dhcp logs on XG but SURPRISINGLY  NO LOGS are available...

Is there any option to do packet trace (like wireshark shows) communication that I would see specific traffiv for dhcp:request/get/respond, to make sure that from my side XG is working fine.  Cuz this issue is related to only one machine at home.

Im using xg home latest firmware.  How this cloud be possible that XG doesnt provide logs in such important things ? Im using it since 5 years and there wasnt any improvements in that section.. im wondering how someone is troubleshooting stuff where XG is in business (production) environment ^^

Thx for your patience and understanding. ^^



This thread was automatically locked due to age.
  • Hi,

    have a look at the system page in logviewer and expand the entry.

    ian

  • Ok ive found it but it only says "renewd" no any other details. I assume if there would be any errors XG should shown it. ?

  • You could simply tcpdump this traffic into a file and export this to a wireshark tool.

    tcpdump -ni any port 67 or port 68 -b -w /tmp/dump.pcap

    Then access the file via SCP (pscp.exe -scp admin@IP:/tmp/dump.pcap .\   )

  • I'll try that and let ya know later ;) what i have discoverd. While i was connecting laptop via Cable all works fine its on vlan200 but via wifi nope. Im quite sure that xg is working properly but i must have a proof ^^ my Gf is on HO and their Helpdesk guys seems to working as "did you try to turn Off and on" ?;p

  • Here are the results.

    SFVH_SO01_SFOS 18.0.1 MR-1-Build396# tcpdump -i any port 68 -v
    tcpdump: listening on any, link-type LINUX_SLL (Linux cooked v1), capture size 262144 bytes
    12:47:53.152314 Port2, IN: ethertype IPv4, IP (tos 0x0, ttl 128, id 54776, offset 0, flags [none], proto UDP (17), length 357)
    0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 04:33:c2:18:cc:3e (oui Unknown), length 329, xid 0x407a7323, Flags [none]
    Client-Ethernet-Address 04:33:c2:18:cc:3e (oui Unknown)
    Vendor-rfc1048 Extensions
    Magic Cookie 0x63825363
    DHCP-Message Option 53, length 1: Request
    Client-ID Option 61, length 7: ether 04:33:c2:18:cc:3e
    Requested-IP Option 50, length 4: 10.0.200.2
    Hostname Option 12, length 11: "WROCLAWLT94"
    FQDN Option 81, length 29: "WROCLAWLT94.chrobinson.com"
    Vendor-Class Option 60, length 8: "MSFT 5.0"
    Parameter-Request Option 55, length 14:
    Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
    Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
    Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
    Classless-Static-Route-Microsoft, Option 252
    12:47:53.152320 Port2.200, IN: IP (tos 0x0, ttl 128, id 54776, offset 0, flags [none], proto UDP (17), length 357)
    0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 04:33:c2:18:cc:3e (oui Unknown), length 329, xid 0x407a7323, Flags [none]
    Client-Ethernet-Address 04:33:c2:18:cc:3e (oui Unknown)
    Vendor-rfc1048 Extensions
    Magic Cookie 0x63825363
    DHCP-Message Option 53, length 1: Request
    Client-ID Option 61, length 7: ether 04:33:c2:18:cc:3e
    Requested-IP Option 50, length 4: 10.0.200.2
    Hostname Option 12, length 11: "WROCLAWLT94"
    FQDN Option 81, length 29: "WROCLAWLT94.chrobinson.com"
    Vendor-Class Option 60, length 8: "MSFT 5.0"
    Parameter-Request Option 55, length 14:
    Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
    Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
    Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
    Classless-Static-Route-Microsoft, Option 252
    12:48:05.192131 Port2, IN: ethertype IPv4, IP (tos 0x0, ttl 128, id 54777, offset 0, flags [none], proto UDP (17), length 357)
    0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 04:33:c2:18:cc:3e (oui Unknown), length 329, xid 0x5c9dc5b, Flags [none]
    Client-Ethernet-Address 04:33:c2:18:cc:3e (oui Unknown)
    Vendor-rfc1048 Extensions
    Magic Cookie 0x63825363
    DHCP-Message Option 53, length 1: Request
    Client-ID Option 61, length 7: ether 04:33:c2:18:cc:3e
    Requested-IP Option 50, length 4: 10.0.200.2
    Hostname Option 12, length 11: "WROCLAWLT94"
    FQDN Option 81, length 29: "WROCLAWLT94.chrobinson.com"
    Vendor-Class Option 60, length 8: "MSFT 5.0"
    Parameter-Request Option 55, length 14:
    Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
    Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
    Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
    Classless-Static-Route-Microsoft, Option 252
    12:48:05.192137 Port2.200, IN: IP (tos 0x0, ttl 128, id 54777, offset 0, flags [none], proto UDP (17), length 357)
    0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 04:33:c2:18:cc:3e (oui Unknown), length 329, xid 0x5c9dc5b, Flags [none]
    Client-Ethernet-Address 04:33:c2:18:cc:3e (oui Unknown)
    Vendor-rfc1048 Extensions
    Magic Cookie 0x63825363
    DHCP-Message Option 53, length 1: Request
    Client-ID Option 61, length 7: ether 04:33:c2:18:cc:3e
    Requested-IP Option 50, length 4: 10.0.200.2
    Hostname Option 12, length 11: "WROCLAWLT94"
    FQDN Option 81, length 29: "WROCLAWLT94.chrobinson.com"
    Vendor-Class Option 60, length 8: "MSFT 5.0"
    Parameter-Request Option 55, length 14:
    Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
    Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
    Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
    Classless-Static-Route-Microsoft, Option 252
    12:49:16.479897 Port2, IN: ethertype IPv4, IP (tos 0x0, ttl 128, id 58985, offset 0, flags [none], proto UDP (17), length 312)
    10.0.200.2.bootpc > 10.0.200.1.bootps: BOOTP/DHCP, Request from 04:33:c2:18:cc:3e (oui Unknown), length 284, xid 0x354774e1, Flags [none]
    Client-IP 10.0.200.2
    Client-Ethernet-Address 04:33:c2:18:cc:3e (oui Unknown)
    Vendor-rfc1048 Extensions
    Magic Cookie 0x63825363
    DHCP-Message Option 53, length 1: Inform
    Client-ID Option 61, length 7: ether 04:33:c2:18:cc:3e
    Hostname Option 12, length 11: "WROCLAWLT94"
    Parameter-Request Option 55, length 2:
    Option 120, Vendor-Option
    Vendor-Class Option 60, length 12: "MS-UC-Client"
    12:49:16.479901 Port2.200, IN: IP (tos 0x0, ttl 128, id 58985, offset 0, flags [none], proto UDP (17), length 312)
    10.0.200.2.bootpc > 10.0.200.1.bootps: BOOTP/DHCP, Request from 04:33:c2:18:cc:3e (oui Unknown), length 284, xid 0x354774e1, Flags [none]
    Client-IP 10.0.200.2
    Client-Ethernet-Address 04:33:c2:18:cc:3e (oui Unknown)
    Vendor-rfc1048 Extensions
    Magic Cookie 0x63825363
    DHCP-Message Option 53, length 1: Inform
    Client-ID Option 61, length 7: ether 04:33:c2:18:cc:3e
    Hostname Option 12, length 11: "WROCLAWLT94"
    Parameter-Request Option 55, length 2:
    Option 120, Vendor-Option
    Vendor-Class Option 60, length 12: "MS-UC-Client"
    12:49:16.479999 Port2.200, OUT: IP (tos 0x0, ttl 64, id 51632, offset 0, flags [DF], proto UDP (17), length 328)
    10.0.200.1.bootps > 10.0.200.2.bootpc: BOOTP/DHCP, Reply, length 300, xid 0x354774e1, Flags [none]
    Client-IP 10.0.200.2
    Client-Ethernet-Address 04:33:c2:18:cc:3e (oui Unknown)
    Vendor-rfc1048 Extensions
    Magic Cookie 0x63825363
    DHCP-Message Option 53, length 1: ACK
    Server-ID Option 54, length 4: 10.0.200.1

  • Weird is that from dump there isnt any info for given DNS.  As i know in dhcp communication it should be provided