Bluehost.com Web Hosting $6.95

Failing virtual interface, please help

This is a discussion on Failing virtual interface, please help within the Linux Networking forums, part of the Linux Forums category; I'm using RedHat 9.0 and have setup iptables as a firewall/nat. On this particular server, there are ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2004
Marv
 
Posts: n/a
Default Failing virtual interface, please help

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


Reply With Quote
  #2 (permalink)  
Old 02-28-2004
Marv
 
Posts: n/a
Default Re: Failing virtual interface, please help (Update)

Figured it out. Client gave me the wrong subnet mask or something. It ends
up that the virtual interface in question is configured with the broadcast
address. It works for a while, and then I guess it disables itself.

Funny, that his NetScreen firewall was working with the configuration?

"Marv" <marv@somewhere.com> wrote in message
news:Pt40c.52599$k51.38835@newssvr33.news.prodigy. com...
> 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
>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0