Networking Forums

Networking Forums > Computer Networking > Linux Networking > Failing virtual interface, please help

Reply
Thread Tools Display Modes

Failing virtual interface, please help

 
 
Marv
Guest
Posts: n/a

 
      02-28-2004, 04:46 PM
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
 
 
 
 
Marv
Guest
Posts: n/a

 
      02-28-2004, 06:02 PM
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" <(E-Mail Removed)> wrote in message
news:Pt40c.52599$(E-Mail Removed). 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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulated NAT Traversal on Virtual Box | Two Virtual Interface - eth-0/eth1 Sumit Linux Networking 0 06-24-2011 01:09 AM
Virtual interface r3gis Linux Networking 0 02-18-2007 05:05 PM
Virtual ethernet interface ? ArameFarpado Linux Networking 5 11-17-2006 11:30 PM
Virtual interface + vlan Wolter Kroes Linux Networking 2 10-13-2006 04:02 PM
Virtual interface Slav Inger Linux Networking 2 04-20-2004 01:54 PM



1 2 3 4 5 6 7 8 9 10 11