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 requests not getting passed through BRIDGED interface

Ref: https://community.sophos.com/products/unified-threat-management/f/management-networking-logging-and-reporting/33877/dhcp-not-getting-through-in-bridge-mode

 

I'm trying to get utm to pass a dhcp offer and ack through a bridge consisting of 2 interfaces.

 

eth0 - leg 1 of bridge
eth1 - leg 2 of bridge
eth2 - management interface to for webadmin

eth0/eth1 interfaces are bridged with no ip defined (0.0.0.0/0)

eth0 connects to an upstream dhcp server
eth1 connects to a downstream client configured for dhcp

 

tcpdump -i  br0 port 67 or port 68 -e -n -vv
Executing on dhcp server indicates the following repeating pattern:

21:44:43.720005 00:0c:29:2f:65:22 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 64, id 0, 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 00:0c:29:2f:65:22, length 300, xid 0xd686f22e, secs 792, Flags [none] (0x0000)
          Client-Ethernet-Address 00:0c:29:2f:65:22
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Discover
            MSZ Option 57, length 2: 576
            Parameter-Request Option 55, length 8:
              Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
              Domain-Name, BR, NTP, Classless-Static-Route
            Vendor-Class Option 60, length 12: "udhcp 1.30.1"
            Hostname Option 12, length 7: "OpenWrt"
21:44:44.721223 00:50:56:2e:33:01 > 00:0c:29:2f:65:22, ethertype IPv4 (0x0800), length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
    10.10.1.1.67 > 10.10.1.144.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0xd686f22e, secs 792, Flags [none] (0x0000)
          Your-IP 10.10.1.144
          Client-Ethernet-Address 00:0c:29:2f:65:22
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Offer
            Server-ID Option 54, length 4: 10.10.1.1
            Lease-Time Option 51, length 4: 21600
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.10.1.1
            Domain-Name-Server Option 6, length 4: 10.10.1.1
            Domain-Name Option 15, length 12: "local.domain"
            BR Option 28, length 4: 10.10.1.255

 

From this I understand the dhcp server is receiving the request and making an offer. However, the offer is not getting passed through to the client.

Dhcp relay is configured as follows;  10.10.1.1 is the upstream dhcp server.  Bridge interface is the bridge of eth0 & eth1.

Firewall rule bridge (network) -> any -> bridge (network). Is enabled w/logging.  Nothing shows up in the firewall log about  blocking the dhcp server reply.

How do get the dhcp server reply traffic to traverse the bridge?



This thread was automatically locked due to age.
Parents
  • As I understand correctly the bridge connects the DHCP server directly with the client each on one leg of the bridge?

    If that is the case, then I think you don't need a DHCP relay because a relay is needed for routing a DHCP request to another subnet.

    Also, why don't you have an IP-address configured on the Brdige interface? I think you need to give the bridge an IP in the same segment as the DHCP server.


    Managing several Sophos firewalls both at work and at some home locations, dedicated to continuously improve IT-security and feeling well helping others with their IT-security challenges.

  • As stated by apijnappels ... dhcp relay should not work for a Layer2 connection.

    Possible your DHCP-request is blocked by firewall. Would check firewall-live-log.

     


    Dirk

    Systema Gesellschaft für angewandte Datentechnik mbH  // Sophos Platinum Partner
    Sophos Solution Partner since 2003
    If a post solves your question, click the 'Verify Answer' link at this post.

Reply
  • As stated by apijnappels ... dhcp relay should not work for a Layer2 connection.

    Possible your DHCP-request is blocked by firewall. Would check firewall-live-log.

     


    Dirk

    Systema Gesellschaft für angewandte Datentechnik mbH  // Sophos Platinum Partner
    Sophos Solution Partner since 2003
    If a post solves your question, click the 'Verify Answer' link at this post.

Children
No Data