Timeline for Configuring netplan on ubuntu 18 properly
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 17, 2021 at 16:52 | history | edited | 111--- | CC BY-SA 4.0 |
edited body
|
| Feb 16, 2021 at 15:47 | comment | added | Scooby-2 | Step 2 of this procedure should read "echo 1 > /proc/sys/net/ipv4/ip_forward" and the last step in the list of commands in step 5 should read "echo 0 > /proc/sys/net/ipv4/ip_forward" since a value of 1 is to enable, 0 is to disable. | |
| Dec 13, 2019 at 13:48 | history | edited | 111--- | CC BY-SA 4.0 |
deleted 20 characters in body
|
| Feb 27, 2019 at 19:00 | comment | added | 111--- | Perhaps that would be a good question to post. The answer is a bit long for comments. | |
| Feb 27, 2019 at 17:28 | vote | accept | rygo6 | ||
| Feb 27, 2019 at 17:27 | comment | added | rygo6 | Ok I think I actually go it work all correctly with iptables and deleted the bridge. Thanks for that. One other thing I am curious about is, whats the proper way to configure wifi to be an access point in this setup? I have pulled that off I think in a hacky way where I just turned on wifi access point through network manager UI, then I set the wifi wlp2s0 to be ethernet in netplan. But weirdly I disabled networkmanager as the netplan renderer so I dont understand how that is working. | |
| Feb 26, 2019 at 20:46 | comment | added | 111--- | Bridging is not routing. Bridging is a layer 2 abstraction, you are looking for layer 3 functionality. I would remove your bridge interface (it's using a public IP address anyway - not a good idea) and set up the routing as I illustrated above on one pair of interfaces and get that working. Then add the second lan interface. | |
| Feb 26, 2019 at 20:19 | comment | added | rygo6 | I ran these commands but I don't think it made any difference. The system is already technically working via the configs I initially posted, they just seem to have odd quirks, like one of my 4G hotspots when plugged in via ethernet doesn't deliver internet, but the hotspot is functioning just fine. Also via the config I initially posted my wifi lan has it's own IP range, my ethernet lan has it's own IP range, and the bridge also has it's own IP range. I assume thats wrong? I thought you could just give the bridge an IP range, but I couldn't get that to work. | |
| Feb 26, 2019 at 20:10 | comment | added | rygo6 | So do I even need any of the Netplan or dhcpd.conf file stuff? Can I just remove that all that? Should I set my netplan renderer back to being the NetworkManager? | |
| Feb 26, 2019 at 19:17 | history | answered | 111--- | CC BY-SA 4.0 |