Failing virtual interface, please help

From: Marv (marv_at_somewhere.com)
Date: 02/28/04


Date: Sat, 28 Feb 2004 17:46:23 GMT

I'm using RedHat 9.0 and have setup iptables as a firewall/nat. On this
particular server, there are two virtual interfaces in addition to the main
WAN IP. On one of the IPs, I'm forwarding port 80 to an internal address.
I'm having a very strange symptom. It will work for a little while and then
when you try to hit this IIS 5.0 website (which uses NTLM authentication),
it fails...you just get the white screen in your browser. If I issue an
'ifdown eth0:2' and then 'ifup eth0:2', the website starts working again for
a while but eventually it happens again.

Here is the setting for the virtual interface:

DEVICE=eth0:2
BOOTPROTO=static
IPADDR=63.xx.xx.xx
NETMASK=255.255.255.252
ONBOOT=yes

Here is part of the iptables script:

iptables -A PREROUTING -t nat -p tcp -d $ext_if2 --dport 80 -j DNAT --to
192.168.168.117:80

The funny thing is that I'm also forwarding port 23 via a different virtual
interface to a different internal server, and it never seems to fail.

Does anybody have any suggestions for this issue?

Thanks,
Marv



Relevant Pages

  • ifconfig & adding an IP to a live system
    ... I have a critical server that I need to add an IP to. ... concern that simply doing the ifconfig on the live server might not do ... The other virtual interfaces need ... (other than the single ifconfig command)? ...
    (SunManagers)
  • real NIC or virtual interfaces - for httpd-Server
    ... We host three websites and at the moment we use virtual interfaces. ... I plan to migrate the sites to a new server and I start thinking about what would be better: ... The new server comes with two gigabit onboard nics. ...
    (Fedora)
  • [SLE] load virtual interfaces at boot time
    ... I am trying to set up some virtual interfaces to load at reboot time and ... virtual interfaces loading at boot time after the network interfaces are ... the gateway there is the gateway of the server ...
    (SuSE)