On Sun, Jan 17, 2021 at 07:55:53PM +0000, Vallevand, Mark K via networkmanager-list wrote:
I'd like to use the upstream DHCP server when using network sharing. Is this possible?
No, connection sharing starts its own DHCP server on the "downstream" interface (the one with ipv4.method=shared). If you need only to pass frames between two interfaces, probably you can use a bridge instead...
I'm sharing an interface and the Wi-Fi connects to either a home/small-office router which serves DHCP, or it connects to an access point which passed DHCP requests to a corporate server.
.... however, note that a Wi-Fi client interface usually doesn't work when it is under a bridge. So I think your only option (if I understood well what you want to do), is connection sharing, which creates a different subnet with DHCP on the downstream interface and enables NAT. Beniamino
Attachment:
signature.asc
Description: PGP signature