0

I'm running ubuntu 18.04.

I had network/router issues and ultimately I replaced my router. Both intranet and internet communications are now working, but I have a problem with one node, a laptop.

The older router IP was 192.168.0.1 and the new router IP is 192.168.86.1, so I had to update the IP addressing, which I did.

On this node, I have modified my /etc/netplan/01-network-manager-all.yaml file so that it reads as follows:

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp6s0:
      dhcp4: no
      dhcp6: no
      addresses: 
        - 192.168.86.240/24
      gateway4: 192.168.86.1
      nameservers:
        addresses: [8.8.8.8,8.8.4.4]

I have run:

netplan apply

I have also rebooted the system.

When I run 'ip addr', I am expecting to see an ip address of 192.168.86.240/24, but my results are:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever 2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 1c:75:08:c3:0a:fd brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.240/24 brd 192.168.0.255 scope global noprefixroute enp6s0
       valid_lft forever preferred_lft forever
    inet6 fe80::ca8e:48b6:9a1f:d7f2/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever 3: wlp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 90:00:4e:05:70:ee brd ff:ff:ff:ff:ff:ff

I did this on other nodes running ubuntu 18.04 and did not have a problem. Am I doing something wrong?

Jim A.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.