Hi all
Have installed Ubuntu server 16.04 on a test server and would like to allocate a LAN ip address on startup through /etc/network/interfaces.
Current code is
Code:
# The primary network interface auto enp17s0 iface enp17s0 inet dchp
Code:
# The primary network interface auto p3p1 iface p3p1 inet static address 192.168.0.49 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 dns-nameservers 8.8.8.8 8.8.4.4
Code:
# The primary network interface auto eth0 iface eth0 inet static address 192.168.0.49 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 dns-nameservers 8.8.8.8 8.8.4.4
What should it be now, please?
TIA
برچسب:
نویسنده: استخدام کار