0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

IPアドレスの固定とIPv6の有効化

Posted at

はじめに

RaspberryPiを使用して,ローカルのIPを固定とIPv6を使用しなければいけない事情ができてしまったので下に書く
RaspberryPiをサーバなどに使用する人にとっては通らなければいけない部分である

IPアドレスの固定

/etc/dhcpcd.confの中身の末尾に以下のようなIPを固定する設定を記述

interface eth0
static ip_address=192.168.1.22
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

IPv6の有効化

Raspberry PiはデフォルトではIPv6が有効化されていない
/etc/modprobe.d/ipv6.confの中身を編集する
alias net-pf-10 offの文章をコメントアウト(先頭に#をつける)

0
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?