# This file describes the
network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 #iface eth0 inet dhcp iface eth0 inet static address 192.168.1.206 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 # This is an autoconfigured IPv6 interface iface eth0 inet6 auto |
auto lo iface lo inet loopback #iface eth0 inet dhcp iface eth0 inet static address 192.168.1.205 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 # This is an autoconfigured IPv6 interface iface eth0 inet6 auto allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp |
# This file describes the
network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 #NetworkManager#iface eth0 inet dhcp iface eth0 inet static address 192.168.1.206 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 |
Generated by
NetworkManager #nameserver 192.168.1.1 <----DHCPからもらって自動で設定されていたのをコメントアウト nameserver 192.168.1.206 <----あたらしいDNSサーバを自分で記述 |
# This file describes the
network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback karappi@kumagera:~$ |