Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
How to Ignore a Gateway on a DHCP Interface?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to Ignore a Gateway on a DHCP Interface? (Read 781 times)
knebb
Full Member
Posts: 126
Karma: 4
How to Ignore a Gateway on a DHCP Interface?
«
on:
January 12, 2024, 01:35:35 pm »
Hi all!
I have a local network where a DHCP server is running (not OPNSense!). It provides a default gateway to the clients. Unfortunately I can not change configuration of this DHCP server.
Now I have an interface on my OPNSense attached to this network, requesting an IP through DHCP.
The provided gateway is now visible in OPNSense which I do not need.
Is there a way to configure the interface to get an IP address through DHCP and ignore the provided gateway?
Thanks!
/KNEBB
Logged
Patrick M. Hausen
Hero Member
Posts: 6802
Karma: 572
Re: How to Ignore a Gateway on a DHCP Interface?
«
Reply #1 on:
January 12, 2024, 01:59:13 pm »
No. And you should have only one interface configured with DHCP. That's a general rule for every host. Unless you have completely seperate virtual IP stacks which OPNsense doesn't have.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
knebb
Full Member
Posts: 126
Karma: 4
Re: How to Ignore a Gateway on a DHCP Interface?
«
Reply #2 on:
January 12, 2024, 02:33:55 pm »
Makes sense. Reconfigured to static IP, ignoring the crappy DHCP server.
runing fine!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
How to Ignore a Gateway on a DHCP Interface?