1
General Discussion / Re: DHCP Realy don`t work
« on: July 13, 2022, 09:32:05 pm »
Dear Pmhausen,
I follow your advice and make a packet capture.
In the attachment is the packet capture settings.
Packet results is shown below:
On the attachment mysettings.png can see the firewall rules for vlan10 and vlan60 and the DHCP relay settings.
On the attachment is the assigment of the interafces with vlans.
On the attachment DHCP is a scope setting for vlan 60 which is network 192.168.6.0/24.
DC and DHCP server role are installed on one vm server 2016 standard with static IP 192.168.1.2.
The Dhcp relay still not work i have no idea why, check a lot of articles but can`t find the solution.
Interface Capture output
Serversvlan10
em1_vlan10 21:53:01.289761 IP (tos 0x0, ttl 64, id 41612, offset 0, flags [none], proto UDP (17), length 343)
192.168.1.1.67 > 192.168.1.2.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 315, hops 1, xid 0xc42b3cc5, Flags [none]
192.168.1.1.67 > 192.168.1.2.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 315, hops 1, xid 0xc42b3cc5, Flags [none]
192.168.1.1.67 > 192.168.1.2.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 315, hops 1, xid 0xc42b3cc5, secs 1024, Flags [none]
Serversvlan10
em1_vlan10 Gateway-IP 192.168.6.1
Serversvlan10
em1_vlan10 Client-Ethernet-Address 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Vendor-rfc1048 Extensions
Serversvlan10
em1_vlan10 Magic Cookie 0x63825363
Serversvlan10
em1_vlan10 DHCP-Message Option 53, length 1: Discover
Serversvlan10
em1_vlan10 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Requested-IP Option 50, length 4: 192.168.6.10
Serversvlan10
em1_vlan10 Hostname Option 12, length 14: "VM1"
Serversvlan10
em1_vlan10 Vendor-Class Option 60, length 8: "MSFT 5.0"
Serversvlan10
em1_vlan10 Parameter-Request Option 55, length 14:
Serversvlan10
em1_vlan10 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
Serversvlan10
em1_vlan10 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
Serversvlan10
em1_vlan10 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
Serversvlan10
em1_vlan10 Classless-Static-Route-Microsoft, Option 252
Serversvlan10
em1_vlan10 Agent-Information Option 82, length 12:
Serversvlan10
em1_vlan10 Circuit-ID SubOption 1, length 10: em1_vlan60
Serversvlan10
em1_vlan10 21:53:06.288080 IP (tos 0x0, ttl 64, id 6902, offset 0, flags [none], proto UDP (17), length 343)
Serversvlan10
em1_vlan10 Gateway-IP 192.168.6.1
Serversvlan10
em1_vlan10 Client-Ethernet-Address 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Vendor-rfc1048 Extensions
Serversvlan10
em1_vlan10 Magic Cookie 0x63825363
Serversvlan10
em1_vlan10 DHCP-Message Option 53, length 1: Discover
Serversvlan10
em1_vlan10 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Requested-IP Option 50, length 4: 192.168.6.10
Serversvlan10
em1_vlan10 Hostname Option 12, length 14: "VM1"
Serversvlan10
em1_vlan10 Vendor-Class Option 60, length 8: "MSFT 5.0"
Serversvlan10
em1_vlan10 Parameter-Request Option 55, length 14:
Serversvlan10
em1_vlan10 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
Serversvlan10
em1_vlan10 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
Serversvlan10
em1_vlan10 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
Serversvlan10
em1_vlan10 Classless-Static-Route-Microsoft, Option 252
Serversvlan10
em1_vlan10 Agent-Information Option 82, length 12:
Serversvlan10
em1_vlan10 Circuit-ID SubOption 1, length 10: em1_vlan60
Serversvlan10
em1_vlan10 21:53:11.022435 IP (tos 0x0, ttl 64, id 4998, offset 0, flags [none], proto UDP (17), length 343)
Serversvlan10
em1_vlan10 Gateway-IP 192.168.6.1
Serversvlan10
em1_vlan10 Client-Ethernet-Address 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Vendor-rfc1048 Extensions
Serversvlan10
em1_vlan10 Magic Cookie 0x63825363
Serversvlan10
em1_vlan10 DHCP-Message Option 53, length 1: Discover
Serversvlan10
em1_vlan10 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Requested-IP Option 50, length 4: 192.168.6.10
Serversvlan10
em1_vlan10 Hostname Option 12, length 14: "VM1"
Serversvlan10
em1_vlan10 Vendor-Class Option 60, length 8: "MSFT 5.0"
Serversvlan10
em1_vlan10 Parameter-Request Option 55, length 14:
Serversvlan10
em1_vlan10 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
Serversvlan10
em1_vlan10 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
Serversvlan10
em1_vlan10 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
Serversvlan10
em1_vlan10 Classless-Static-Route-Microsoft, Option 252
Serversvlan10
em1_vlan10 Agent-Information Option 82, length 12:
Serversvlan10
em1_vlan10 Circuit-ID SubOption 1, length 10: em1_vlan60
PCsvlan60
em1_vlan60 21:53:01.289692 IP (tos 0x0, ttl 128, id 48195, offset 0, flags [none], proto UDP (17), length 329)
PCsvlan60
em1_vlan60
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 301, xid 0xc42b3cc5, Flags [none]
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 301, xid 0xc42b3cc5, Flags [none]
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 301, xid 0xc42b3cc5, secs 1024, Flags [none]
PCsvlan60
em1_vlan60 Client-Ethernet-Address 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Vendor-rfc1048 Extensions
PCsvlan60
em1_vlan60 Magic Cookie 0x63825363
PCsvlan60
em1_vlan60 DHCP-Message Option 53, length 1: Discover
PCsvlan60
em1_vlan60 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Requested-IP Option 50, length 4: 192.168.6.10
PCsvlan60
em1_vlan60 Hostname Option 12, length 14: "VM1"
PCsvlan60
em1_vlan60 Vendor-Class Option 60, length 8: "MSFT 5.0"
PCsvlan60
em1_vlan60 Parameter-Request Option 55, length 14:
PCsvlan60
em1_vlan60 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
PCsvlan60
em1_vlan60 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
PCsvlan60
em1_vlan60 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
PCsvlan60
em1_vlan60 Classless-Static-Route-Microsoft, Option 252
PCsvlan60
em1_vlan60 21:53:06.288016 IP (tos 0x0, ttl 128, id 48196, offset 0, flags [none], proto UDP (17), length 329)
PCsvlan60
em1_vlan60 Client-Ethernet-Address 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Vendor-rfc1048 Extensions
PCsvlan60
em1_vlan60 Magic Cookie 0x63825363
PCsvlan60
em1_vlan60 DHCP-Message Option 53, length 1: Discover
PCsvlan60
em1_vlan60 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Requested-IP Option 50, length 4: 192.168.6.10
PCsvlan60
em1_vlan60 Hostname Option 12, length 14: "VM1"
PCsvlan60
em1_vlan60 Vendor-Class Option 60, length 8: "MSFT 5.0"
PCsvlan60
em1_vlan60 Parameter-Request Option 55, length 14:
PCsvlan60
em1_vlan60 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
PCsvlan60
em1_vlan60 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
PCsvlan60
em1_vlan60 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
PCsvlan60
em1_vlan60 Classless-Static-Route-Microsoft, Option 252
PCsvlan60
em1_vlan60 21:53:11.022370 IP (tos 0x0, ttl 128, id 48197, offset 0, flags [none], proto UDP (17), length 329)
PCsvlan60
em1_vlan60 Client-Ethernet-Address 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Vendor-rfc1048 Extensions
PCsvlan60
em1_vlan60 Magic Cookie 0x63825363
PCsvlan60
em1_vlan60 DHCP-Message Option 53, length 1: Discover
PCsvlan60
em1_vlan60 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Requested-IP Option 50, length 4: 192.168.6.10
PCsvlan60
em1_vlan60 Hostname Option 12, length 14: "VM-1"
PCsvlan60
em1_vlan60 Vendor-Class Option 60, length 8: "MSFT 5.0"
PCsvlan60
em1_vlan60 Parameter-Request Option 55, length 14:
PCsvlan60
em1_vlan60 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
PCsvlan60
em1_vlan60 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
PCsvlan60
em1_vlan60 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
PCsvlan60
em1_vlan60 Classless-Static-Route-Microsoft, Option 252
I follow your advice and make a packet capture.
In the attachment is the packet capture settings.
Packet results is shown below:
On the attachment mysettings.png can see the firewall rules for vlan10 and vlan60 and the DHCP relay settings.
On the attachment is the assigment of the interafces with vlans.
On the attachment DHCP is a scope setting for vlan 60 which is network 192.168.6.0/24.
DC and DHCP server role are installed on one vm server 2016 standard with static IP 192.168.1.2.
The Dhcp relay still not work i have no idea why, check a lot of articles but can`t find the solution.
Interface Capture output
Serversvlan10
em1_vlan10 21:53:01.289761 IP (tos 0x0, ttl 64, id 41612, offset 0, flags [none], proto UDP (17), length 343)
192.168.1.1.67 > 192.168.1.2.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 315, hops 1, xid 0xc42b3cc5, Flags [none]
192.168.1.1.67 > 192.168.1.2.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 315, hops 1, xid 0xc42b3cc5, Flags [none]
192.168.1.1.67 > 192.168.1.2.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 315, hops 1, xid 0xc42b3cc5, secs 1024, Flags [none]
Serversvlan10
em1_vlan10 Gateway-IP 192.168.6.1
Serversvlan10
em1_vlan10 Client-Ethernet-Address 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Vendor-rfc1048 Extensions
Serversvlan10
em1_vlan10 Magic Cookie 0x63825363
Serversvlan10
em1_vlan10 DHCP-Message Option 53, length 1: Discover
Serversvlan10
em1_vlan10 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Requested-IP Option 50, length 4: 192.168.6.10
Serversvlan10
em1_vlan10 Hostname Option 12, length 14: "VM1"
Serversvlan10
em1_vlan10 Vendor-Class Option 60, length 8: "MSFT 5.0"
Serversvlan10
em1_vlan10 Parameter-Request Option 55, length 14:
Serversvlan10
em1_vlan10 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
Serversvlan10
em1_vlan10 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
Serversvlan10
em1_vlan10 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
Serversvlan10
em1_vlan10 Classless-Static-Route-Microsoft, Option 252
Serversvlan10
em1_vlan10 Agent-Information Option 82, length 12:
Serversvlan10
em1_vlan10 Circuit-ID SubOption 1, length 10: em1_vlan60
Serversvlan10
em1_vlan10 21:53:06.288080 IP (tos 0x0, ttl 64, id 6902, offset 0, flags [none], proto UDP (17), length 343)
Serversvlan10
em1_vlan10 Gateway-IP 192.168.6.1
Serversvlan10
em1_vlan10 Client-Ethernet-Address 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Vendor-rfc1048 Extensions
Serversvlan10
em1_vlan10 Magic Cookie 0x63825363
Serversvlan10
em1_vlan10 DHCP-Message Option 53, length 1: Discover
Serversvlan10
em1_vlan10 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Requested-IP Option 50, length 4: 192.168.6.10
Serversvlan10
em1_vlan10 Hostname Option 12, length 14: "VM1"
Serversvlan10
em1_vlan10 Vendor-Class Option 60, length 8: "MSFT 5.0"
Serversvlan10
em1_vlan10 Parameter-Request Option 55, length 14:
Serversvlan10
em1_vlan10 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
Serversvlan10
em1_vlan10 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
Serversvlan10
em1_vlan10 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
Serversvlan10
em1_vlan10 Classless-Static-Route-Microsoft, Option 252
Serversvlan10
em1_vlan10 Agent-Information Option 82, length 12:
Serversvlan10
em1_vlan10 Circuit-ID SubOption 1, length 10: em1_vlan60
Serversvlan10
em1_vlan10 21:53:11.022435 IP (tos 0x0, ttl 64, id 4998, offset 0, flags [none], proto UDP (17), length 343)
Serversvlan10
em1_vlan10 Gateway-IP 192.168.6.1
Serversvlan10
em1_vlan10 Client-Ethernet-Address 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Vendor-rfc1048 Extensions
Serversvlan10
em1_vlan10 Magic Cookie 0x63825363
Serversvlan10
em1_vlan10 DHCP-Message Option 53, length 1: Discover
Serversvlan10
em1_vlan10 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
Serversvlan10
em1_vlan10 Requested-IP Option 50, length 4: 192.168.6.10
Serversvlan10
em1_vlan10 Hostname Option 12, length 14: "VM1"
Serversvlan10
em1_vlan10 Vendor-Class Option 60, length 8: "MSFT 5.0"
Serversvlan10
em1_vlan10 Parameter-Request Option 55, length 14:
Serversvlan10
em1_vlan10 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
Serversvlan10
em1_vlan10 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
Serversvlan10
em1_vlan10 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
Serversvlan10
em1_vlan10 Classless-Static-Route-Microsoft, Option 252
Serversvlan10
em1_vlan10 Agent-Information Option 82, length 12:
Serversvlan10
em1_vlan10 Circuit-ID SubOption 1, length 10: em1_vlan60
PCsvlan60
em1_vlan60 21:53:01.289692 IP (tos 0x0, ttl 128, id 48195, offset 0, flags [none], proto UDP (17), length 329)
PCsvlan60
em1_vlan60
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 301, xid 0xc42b3cc5, Flags [none]
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 301, xid 0xc42b3cc5, Flags [none]
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:50:56:8d:55:fe, length 301, xid 0xc42b3cc5, secs 1024, Flags [none]
PCsvlan60
em1_vlan60 Client-Ethernet-Address 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Vendor-rfc1048 Extensions
PCsvlan60
em1_vlan60 Magic Cookie 0x63825363
PCsvlan60
em1_vlan60 DHCP-Message Option 53, length 1: Discover
PCsvlan60
em1_vlan60 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Requested-IP Option 50, length 4: 192.168.6.10
PCsvlan60
em1_vlan60 Hostname Option 12, length 14: "VM1"
PCsvlan60
em1_vlan60 Vendor-Class Option 60, length 8: "MSFT 5.0"
PCsvlan60
em1_vlan60 Parameter-Request Option 55, length 14:
PCsvlan60
em1_vlan60 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
PCsvlan60
em1_vlan60 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
PCsvlan60
em1_vlan60 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
PCsvlan60
em1_vlan60 Classless-Static-Route-Microsoft, Option 252
PCsvlan60
em1_vlan60 21:53:06.288016 IP (tos 0x0, ttl 128, id 48196, offset 0, flags [none], proto UDP (17), length 329)
PCsvlan60
em1_vlan60 Client-Ethernet-Address 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Vendor-rfc1048 Extensions
PCsvlan60
em1_vlan60 Magic Cookie 0x63825363
PCsvlan60
em1_vlan60 DHCP-Message Option 53, length 1: Discover
PCsvlan60
em1_vlan60 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Requested-IP Option 50, length 4: 192.168.6.10
PCsvlan60
em1_vlan60 Hostname Option 12, length 14: "VM1"
PCsvlan60
em1_vlan60 Vendor-Class Option 60, length 8: "MSFT 5.0"
PCsvlan60
em1_vlan60 Parameter-Request Option 55, length 14:
PCsvlan60
em1_vlan60 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
PCsvlan60
em1_vlan60 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
PCsvlan60
em1_vlan60 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
PCsvlan60
em1_vlan60 Classless-Static-Route-Microsoft, Option 252
PCsvlan60
em1_vlan60 21:53:11.022370 IP (tos 0x0, ttl 128, id 48197, offset 0, flags [none], proto UDP (17), length 329)
PCsvlan60
em1_vlan60 Client-Ethernet-Address 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Vendor-rfc1048 Extensions
PCsvlan60
em1_vlan60 Magic Cookie 0x63825363
PCsvlan60
em1_vlan60 DHCP-Message Option 53, length 1: Discover
PCsvlan60
em1_vlan60 Client-ID Option 61, length 7: ether 00:50:56:8d:55:fe
PCsvlan60
em1_vlan60 Requested-IP Option 50, length 4: 192.168.6.10
PCsvlan60
em1_vlan60 Hostname Option 12, length 14: "VM-1"
PCsvlan60
em1_vlan60 Vendor-Class Option 60, length 8: "MSFT 5.0"
PCsvlan60
em1_vlan60 Parameter-Request Option 55, length 14:
PCsvlan60
em1_vlan60 Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
PCsvlan60
em1_vlan60 Router-Discovery, Static-Route, Vendor-Option, Netbios-Name-Server
PCsvlan60
em1_vlan60 Netbios-Node, Netbios-Scope, Option 119, Classless-Static-Route
PCsvlan60
em1_vlan60 Classless-Static-Route-Microsoft, Option 252