この文書の現在のバージョンと選択したバージョンの差分を表示します。
— |
setup_ethernet:start [2023/09/22 14:13] (現在) サポート 作成 |
||
---|---|---|---|
ライン 1: | ライン 1: | ||
+ | ====== Ethernet の設定 ====== | ||
+ | netplan は使用せず、''/etc/network/interfaces'' により設定します。\\ | ||
+ | デフォルト設定は下記のようになっています。 | ||
+ | |||
+ | <file config interfaces> | ||
+ | # interfaces(5) file used by ifup(8) and ifdown(8) | ||
+ | # Include files from /etc/network/interfaces.d: | ||
+ | source-directory /etc/network/interfaces.d | ||
+ | |||
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.253.253 | ||
+ | netmask 255.255.255.0 | ||
+ | # gateway 192.168.253.5 | ||
+ | # metric 10 | ||
+ | # dns-nameservers 192.168.253.5 | ||
+ | # bridge_ports eth0 | ||
+ | # bridge_stp off | ||
+ | |||
+ | #iface eth0 inet dhcp | ||
+ | |||
+ | auto eth1 | ||
+ | iface eth1 inet static | ||
+ | address 192.168.254.254 | ||
+ | netmask 255.255.255.0 | ||
+ | |||
+ | #allow-hotplug wlan0 | ||
+ | #iface wlan0 inet dhcp | ||
+ | # wpa-ssid hogehoge-ap | ||
+ | # wpa-psk hogehoge | ||
+ | </file> | ||
+ | |||
+ | \\ |