> Source: [sk123713](https://support.checkpoint.com/results/sk/sk123713)

# sk123713 - DHCP Relay stops working randomly when 'dhcrelay' process is running on Gaia OS

| Property | Value |
|----------|-------|
| Solution ID | sk123713 |
| Date Created | 2018-03-26 |
| Last Modified | 2018-08-19 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * DHCP Relay stops working randomly when 'dhcrelay' process is running on Gaia OS

* dhcrelay related messages appear in /var/log/messages:  

  <br />


  \[DATE TIME\] Gateway dhcrelay: Listening on Socket/eth0.498  

  \[DATE TIME\] Gateway dhcrelay: Sending on Socket/eth0.498  

  \[DATE TIME\] Gateway dhcrelay: Listening on Socket/eth1  

  \[DATE TIME\] Gateway dhcrelay: Sending on Socket/eth1  

  \[DATE TIME\] Gateway dhcrelay: Listening on Socket/eth0.495  

  \[DATE TIME\] Gateway dhcrelay: Sending on Socket/eth0.495

* The output of the command: 'ps auxww \| grep -i dhcrelay' is showing that dhcrelay process is running  

  For Example:  

  `[Expert@Gateway:0]# ps auxww | grep -i dhcrelay`  
  `
  admin 2252 0.0 0.0 1740 512 pts/2 S+ 10:21 0:00 grep -i dhcrelay`  
  `
  admin 14673 0.0 0.0 1764 384 ? Ss Mar15 0:05 /usr/sbin/dhcrelay -i eth0.600 -i eth0.490 -i eth0.495 -i eth1 -i eth0.498 -i eth0.499 -i eth0.650 -i eth0.571 -i eth0.641 -i eth0.651 -i eth0.652 -i eth0.653 -i eth0.654 -i eth0.655 -i eth0.656 -i eth0.649 -i eth0.657 -i eth0.658 -i eth0.659 -i eth0.667 -i eth0.668 -i eth0.669 -i eth0.647 -i eth0.660 -i eth0.661 -i eth0.662 -i eth0.665 -i eth0.666 -i eth0.689 -i eth0.648 -i eth0.663 -i eth0.664 -i eth0.680 -i eth0.681 -i eth0.682 -i eth0.683 -i eth0.684 -i eth0.685 -i eth0.670 -i eth0.671 -i eth0.690 -i eth0.691 -i eth0.692 -i eth0.693 -i eth0.694 -i eth0.695 -i eth0.696 -i eth0.697 -i eth0.698 -i eth0.699 10.0.1.151 10.0.1.152`  

* dhcrelay configuration is found in the file /etc/sysconfig/dhcrelay  

  For example:  

  `[Expert@Gateway:0]# cat /etc/sysconfig/dhcrelay`  
  `
  # Command line options here`  
  `
  DHCPSERVERS="10.0.1.151 10.0.1.152"`  
  `
  INTERFACES="eth0.600 eth0.490 eth0.495 eth1 eth0.498 eth0.499 eth0.650 eth0.571 eth0.641 eth0.651 eth0.652 eth0.653 eth0.654 eth0.655 eth0.656 eth0.649 eth0.657 eth0.658 eth0.659 eth0.667 eth0.668 eth0.669 eth0.647 eth0.660 eth0.661 eth0.662 eth0.665 eth0.666 eth0.689 eth0.648 eth0.663 eth0.664 eth0.680 eth0.681 eth0.682 eth0.683 eth0.684 eth0.685 eth0.670 eth0.671 eth0.690 eth0.691 eth0.692 eth0.693 eth0.694 eth0.695 eth0.696 eth0.697 eth0.698 eth0.699"`

## Cause

This configuration of DHCP Relay with the 'dhcrelay' utility is not supported on Gaia. Only the configuration of DHCP Relay via Gaia WebUI/Clish (as described in [sk104114](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk104114)) is supported.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
