OPNsense Forum

International Forums => German - Deutsch => Topic started by: nona on December 08, 2023, 05:42:18 PM

Title: dhcp-relay over OpenVPN-tunnel
Post by: nona on December 08, 2023, 05:42:18 PM
Hallo,

ich habe das selbe Problem wie in
https://forum.opnsense.org/index.php?topic=27814.msg137798

OPNsense 23.7.9

lan 
ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 128, id 57613, offset 0, flags [none], proto UDP (17), length 328)
    0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 4c:d7:17:74:de:d9, length 300, xid 0x7db49ff6, secs 1024, Flags [Broadcast] (0x8000)
     Client-Ethernet-Address 4c:d7:17:74:de:d9
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Discover
       Client-ID Option 61, length 7: ether 4c:d7:17:74:de:d9
       Hostname Option 12, length 6: "xxxx"
       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

--> ovpn Tunnel
length 332: (tos 0x0, ttl 64, id 30160, offset 0, flags [none], proto UDP (17), length 328)
    172.31.4.10.67 > 172.xx.xx.xx.67: [udp sum ok] BOOTP/DHCP, Request from 4c:d7:17:74:de:d9, length 300, hops 1, xid 0x7db49ff6, secs 1024, Flags [Broadcast] (0x8000)
     Gateway-IP 172.29.3.1
     Client-Ethernet-Address 4c:d7:17:74:de:d9
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Discover
       Client-ID Option 61, length 7: ether 4c:d7:17:74:de:d9
       Hostname Option 12, length 6: "xxxx"
       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
       Agent-Information Option 82, length 6:
         Circuit-ID SubOption 1, length 4: igb2

<-- ovpn Tunnel  Antwort
length 341: (tos 0x0, ttl 126, id 31497, offset 0, flags [none], proto UDP (17), length 337)
    172.xx.xx.xx.67 > 172.29.3.1.67: [udp sum ok] BOOTP/DHCP, Reply, length 309, xid 0x7db49ff6, Flags [Broadcast] (0x8000)
     Your-IP 172.29.3.20
     Server-IP 172.
     Gateway-IP 172.29.3.1
     Client-Ethernet-Address 4c:d7:17:74:de:d9
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Offer
       Subnet-Mask Option 1, length 4: 255.255.255.0
       RN Option 58, length 4: 1800
       RB Option 59, length 4: 3150
       Lease-Time Option 51, length 4: 3600
       Server-ID Option 54, length 4: 172.xxxx
       Default-Gateway Option 3, length 4: 172.29.3.1
       Domain-Name-Server Option 6, length 8: 172.xxxxxx
       Domain-Name Option 15, length 9: "xxx.xxxt^@"
       Agent-Information Option 82, length 6:
         Circuit-ID SubOption 1, length 4: igb2

und nun fehlt der Offer Broadcast ins LAN Netz

gibt es hierfür bereits eine Abhilfe, was kann ich tun.
Besten Dank

Gruß
Norbert