Unable to configure a static wifi adapter without access point
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
Reviewing examples configurations described here [https:/
This is a severe limitation, in the case of sharing ethernet over wifi or extending , one is unable to configure a static IP address for the WiFi adapter.
(One can configure a network bridge as this is an option, however this does not work in many cases)
With the current configuration limitations of netplan, I am only able to share Wifi to ethernet and not wifi to wifi. A sample configuration of what I would like to achieve (emulating wifi shared to WiFi and Ethernet).
// Network adapter facing internet
network:
version: 2
renderer: networkd
wifis:
wlp2s0b1:
addresses: [192.168.8.254/24] // address of internet facing adapter
gateway4: 192.168.0.1 // gateway of network
nameservers:
addresses: [127.0.0.1] // using local DNS
access-
password: "**********"
// Network adapter acting as AP
network:
version: 2
renderer: networkd
wifis:
wlp2s0b2:
addresses: [192.168.1.1/24] // address of interface with 192.168.0.1/24 subnet
gateway4: 192.168.8.254 // internet facing wifi adapter as gateway
nameservers:
addresses: [127.0.0.1] // locally running DNS service
// Ethernet Network adapter
network:
version: 2
renderer: networkd
ethernets:
enp3s0:
addresses:
- 192.168.0.1/24 // address of interface with 192.168.0.1/24
gateway4: 192.168.8.254 // internet facing wifi adapter as gateway
nameservers:
I have so far solved this problem only through ifupdown.