元々ローカルIPアドレスのみ持っていた サーバを内向き・外向きの両方に対応するように設定した時にハマったメモ [変更前] eth1: ローカルIP [変更後] eth0: グローバルIP eth1: ローカルIP OS は Ubuntu 10.04 LTS を使用しており、Ethernet に関する設定ファイルを編集 sudo vi /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback