Ubuntu20: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 29: | Line 29: | ||
dhcp6: no | dhcp6: no | ||
</pre> | </pre> | ||
Figure out what DNS server Ubuntu is configured to use | |||
<pre> | |||
systemd-resolve --status | |||
Global | |||
DNS Servers: 192.168.15.176 | |||
DNS Domain: iwillfearnoevil.com | |||
DNSSEC NTA: 10.in-addr.arpa | |||
16.172.in-addr.arpa | |||
168.192.in-addr.arpa | |||
</pre> | |||
[[Category:Ubuntu]] | [[Category:Ubuntu]] | ||
Latest revision as of 17:28, 17 May 2023
Some gotchas when dealing with Ubuntu 20..
Adding static IP address with a bridge
- /etc/netplan/01-netplan.yaml
network:
version: 2
renderer: networkd
ethernets:
enp2s0f0:
dhcp4: no
addresses: [192.168.15.107/24]
gateway4: 192.168.15.1
nameservers:
addresses: [192.168.15.1,1.1.1.1]
enp2s0f1:
dhcp4: no
bridges:
br0:
interfaces: [enp2s0f1]
addresses: [192.168.15.108/24]
nameservers:
addresses: [192.168.15.1,1.1.1.1]
parameters:
stp: true
forward-delay: 4
dhcp4: no
dhcp6: no
Figure out what DNS server Ubuntu is configured to use
systemd-resolve --status
Global
DNS Servers: 192.168.15.176
DNS Domain: iwillfearnoevil.com
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa