www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Norman <andr...@dalnet.se>
Subject general/1540: Apache stops to respond on virtual interfaces
Date Wed, 10 Dec 1997 12:08:29 GMT

>Number:         1540
>Category:       general
>Synopsis:       Apache stops to respond on virtual interfaces
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec 10 04:10:00 PST 1997
>Originator:     andreas@dalnet.se
>Release:        1.2.4
SunOS atlas 5.6 Generic sun4u sparc SUNW,Ultra-1
Solaris 2.6 seems to have a bug in ifconfig so that one must do an extra
ifconfig le0:0 x.x.x.x (machines REAL IP) after you have set the virtual interfaces.
This is because it seems like solaris 2.6 assumes that the last ifconfig command made is 
setting the machines real IP, which is not the case.

Example, i now only have 1 virtual interface, ifconfig shows:
        inet netmask ffffff00 broadcast
        ether 8:0:20:82:bd:d 
le0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet netmask ffffff00 broadcast

this is how the machine looks after a reboot. And this makes the server to think that
its real IP is (which causes IP-checkers looking for to refuse
our connections).

So what i discovered is that if i do ifconfig le0:0 up , the machine
appears on it's real IP again. But after aprx. 5mins the webserver stop to respond
to the virtual interfaces IP (  I can still ping all IP's fully, and telnet

to port 80 and the webserver responds.. but it will not load the pages that
are supposed to show on, but on the server still 
responds as it should..
the following are the only modifications on any services on our machine,
ndd -set /dev/ip ip_enable_group_ifs 0
ndd -set /dev/ip ip_forwarding 1

so to reproduce the problem, do:
ifconfig le0:1 x.x.x.x up
ifconfig le0:0 x.x.x.x (machines REAL IP)
and of course configure up a webserver to respond to both adresses. wait 3-10 mins
and you should se that webpages under le0:1 will not load.

[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message