User Tools

Site Tools


tech:server:linux:ubuntu:networking:networking

Ubuntu Networking

Ubuntu 16.04 Xenial

Traditional ifupdown in Ubuntu.

Static IP

/etc/network/interfaces
auto eth0
iface eth0 inet static
address 172.16.2.11
netmask 255.255.255.0
gateway 172.16.2.1
dns-nameservers 172.16.2.250

Ubuntu 18.04 Bionic

Ubuntu 18.04 or later DNS

Check systemd-resolved naming service.

$ sudo systemd-resolve --status
Global
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
                      18.172.in-addr.arpa
                      19.172.in-addr.arpa
                      20.172.in-addr.arpa
                      21.172.in-addr.arpa
                      22.172.in-addr.arpa
                      23.172.in-addr.arpa
                      24.172.in-addr.arpa
                      25.172.in-addr.arpa
                      26.172.in-addr.arpa
                      27.172.in-addr.arpa
                      28.172.in-addr.arpa
                      29.172.in-addr.arpa
                      30.172.in-addr.arpa
                      31.172.in-addr.arpa
                      corp
                      d.f.ip6.arpa
                      home
                      internal
                      intranet
                      lan
                      local
                      private
                      test

Link 2 (ens33)
      Current Scopes: DNS
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: no
    DNSSEC supported: no
         DNS Servers: 8.8.8.8
                      8.8.4.4
                      1.1.1.1
tech/server/linux/ubuntu/networking/networking.txt · Last modified: 2019/08/13 19:16 by wnoguchi