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?

More than 3 years have passed since last update.

OracleLinux ON VirtualBoxの仮想NIC追加時の備忘録

Posted at

イメージ

仮想NICを2つ用意して、1つをNAT接続、もう一方をホストからのPostgreSQL接続用として設定。
追加した仮想NICはVirtualBox側の設定だけでは有効にならないので注意。
image.png

仮想アダプター1の設定

ポートフォワーディング設定でPostgreSQLのポート"5432"に穴を開ける。
image.png
image.png

仮想アダプター2の設定

「ネットワークアダプターを有効化」にチェック
image.png

ゲストOS(OracleLinux)上でのネットワーク設定

デフォルトでは仮想アダプタ2は無効・未設定になっているので設定
image.png
image.png
接続が有効になる。再度設定を開き、「自動接続」も有効にする。
image.png
image.png

0
0
0

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?