
Ubuntu 22.04 LTS で固定IPアドレスを設定しようとした時、gateway4に対して下記警告が。
** (generate:XXXX) WARNING ** XX:XX:XX.XXX:`gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
検索したら、今 gateway4 は非推奨になっていて、routes で default gateway の設定を行うよう推奨されているらしい。
すべてのコンテンツ作成者のための情報発信プラットフォーム。
Ensembl is a genome browser for vertebrate genomes that supports research in comparative genomics, evolution, sequence variation and transcriptional regulation. Ensembl annotate genes, computes multiple alignments, predicts regulatory function and collects disease data. Ensembl tools include BLAST, BLAT, BioMart and the Variant Effect Predictor (VEP) for all supported species.
Ubuntu22.04になって非推奨へ変わったこと インストール時に静的IPを設定し、インストール完了後に設定ファイル(/etc/netplan/00-install-config.yaml)をチェッ
なので、gateway4~ の記述を消して、下記のように設定し直した。
network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
dhcp4: no
dhcp6: no
addresses: [XXX.XXX.XXX.XXX/24]
routes:
- to: default
nameservers: [XXX.XXX.XXX.XXX, XXX,XXX,XXX,XXX]