デュアルホームApache

デュアルホームApache

異なる内部ネットワークに 2 つの NIC を備えた RHEL 7.2 サーバーがあります。両方のネットワークで同じ Web サイトを利用できるようにしたいと考えています。サイトは eth0 からは読み込まれますが、eth1 からは読み込まれません。httpd.conf には、Listen 80両方のインターフェースで listen できると思われる設定があります。

netstat -pnave
tcp  0  0 0.0.0.0:80  0.0.0.0:* LISTEN 19233433 29479/httpd

httpd.confから

<Directory "/var/www/html">
  Options Indexes FollowSymLinks
  AllowOverride None
  Require all granted
  Allow from all
</Directory>

アパッチ2.4.6

答え1

ああ! 2 つのネットワークのうちの 1 つにしかアクセスできないマシンからブラウザを起動しました。 当然ながら動作しませんでした。

関連情報