0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

NIC二枚のPCでのIPアドレス設定

0
Posted at

以下のような構成で社内LAN側でメインの通信をしたい場合の
IPアドレス設定について記載します。

|バックアップLAN|-------|PC|-------|社内LAN|

それぞれのネットワークは以下とします。
 社内LAN側のセグメント:172.16.10.0/24
 バックアップLAN側のセグメント:192.168.1.0/24
また、PCのOSはWindowsを前提とします。

社内LAN側のIPアドレス設定

IPアドレス:172.16.10.10
サブネットマスク:255.255.255.0
デフォルトゲートウェイ:172.16.10.254

仮の値として具体的な値を記載しました。
実際の設定の際はネットワーク管理者から指定があると思います。

バックアップLAN側のIPアドレス設定

IPアドレス:192.168.1.10
サブネットマスク:255.255.255.0
デフォルトゲートウェイ:設定しない

こちらも仮の値として具体的な値を記載しました。
ポイントはデフォルトゲートウェイを設定しないこと。
両方にデフォルトゲートウェイを設定すると
通信できなくなるため、NIC二枚ともにIPアドレスを
設定する場合は注意が必要です。

Linuxだとどうなる?

実はやったことがありません。
ご存知の方いらっしゃれば教えてください。

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?