FG
💻 Software

I don't want my DHCP to be a default gateway

Fresh6 days ago
Mar 15, 202620532 views
Confidence Score0%
0%

Problem

I have a device which runs a DHCP server. When I connect it with USB to my computer, the PC gets an IP address and the device becomes the default gateway. I just want the device to agree on IP addresses and not default gateway. Is this possible? I was using udhcpd but I got problems with authoritat…

Error Output

# Disable default gateway
#dhcp-option=3

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: I don't want my DHCP to be a default gateway

Low Risk

Certainly possible - just reconfigure the device to not hand out a gateway over DHCP. You probably need to provide more information to get a useful response. add to the conf file 3 disables default router (gateway) and 6 disables DNS

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment