Endereço IP não consistente com / etc / network / interfaces (reinicializar várias vezes ainda não está ok)

0

da seguinte forma:

Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-87-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

311 packages can be updated.
203 updates are security updates.

New release '16.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Thu Sep 28 20:49:49 2017 from 192.168.86.152
wyf@wyf-OptiPlex-7020:~$ ifconfig 
docker0   Link encap:Ethernet  HWaddr 02:42:9d:89:54:10  
          inet addr:172.17.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 98:90:96:ca:8a:a0  
          inet addr:192.168.86.60  Bcast:192.168.86.255  Mask:255.255.255.0
          inet6 addr: fe80::9a90:96ff:feca:8aa0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2592 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2022 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:619113 (619.1 KB)  TX bytes:376847 (376.8 KB)
          Interrupt:20 Memory:f7c00000-f7c20000 

eth0:2    Link encap:Ethernet  HWaddr 98:90:96:ca:8a:a0  
          inet addr:5.1.1.8  Bcast:5.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:20 Memory:f7c00000-f7c20000 

eth0:3    Link encap:Ethernet  HWaddr 98:90:96:ca:8a:a0  
          inet addr:2.1.1.1  Bcast:2.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:20 Memory:f7c00000-f7c20000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1
          RX packets:2363 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2363 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:178152 (178.1 KB)  TX bytes:178152 (178.1 KB)

wyf@wyf-OptiPlex-7020:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
#iface eth0 inet static
#address 192.168.86.60
#netmask 255.0.0.0

auto eth0:1
iface eth0:1 inet static
address 5.1.1.2
netmask 255.0.0.0

auto eth0:2
iface eth0:2 inet static
address 6.1.1.2
netmask 255.0.0.0

auto eth0:3
iface eth0:3 inet static
address 2.1.1.1 
netmask 255.0.0.0

wyf@wyf-OptiPlex-7020:~$ cat /etc/NetworkManager/NetworkManager.conf 
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false


wyf@wyf-OptiPlex-7020:~$ 
wyf@wyf-OptiPlex-7020:~$ 
wyf@wyf-OptiPlex-7020:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty
wyf@wyf-OptiPlex-7020:~$ uname -a
Linux wyf-OptiPlex-7020 4.4.0-87-generic #110~14.04.1-Ubuntu SMP Tue Jul 18 14:51:32 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
wyf@wyf-OptiPlex-7020:~$ 
    
por Los Geles 28.09.2017 / 13:10

0 respostas