Bug 17753 - Minor problem with virtual server network mask
Summary: Minor problem with virtual server network mask
Alias: None
Product: Red Hat High Availability Server
Classification: Retired
Component: piranha
Version: 1.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Phil Copeland
QA Contact: Wil Harris
Depends On:
TreeView+ depends on / blocked
Reported: 2000-09-20 19:00 UTC by blane.dabney@belointeractive.com
Modified: 2007-04-18 16:28 UTC (History)
0 users

Clone Of:
Last Closed: 2000-10-16 17:44:43 UTC

Attachments (Terms of Use)

Description Red Hat Bugzilla 2000-09-20 19:00:06 UTC
In the experimental 0.4.17-3 version of piranha, you added a feature to 
allow a network mask along with the virtual server IP, instead of assuming 
a classfull mask, which is a much needed feature. However, it still 
calculates the broadcast address according to the classful mask, which 
really doesn't seem to cause a problem, as the LVS router itself, in a 
direct routing or NAT setup, should never try to reply to a packet from 
that address. It could possibly cause problems in a tunneling setup, 

Comment 1 Red Hat Bugzilla 2000-09-21 13:07:39 UTC
I would have thought ifconfig defaulted to the netmask settings for broadcast.
We'll check into it...

Comment 2 Red Hat Bugzilla 2000-09-21 15:35:41 UTC
That's what I thought too, but when I tested ifconfig yesterday, if you don't 
specify a broadcast address, it assumes a classful netmask when calculating the 
broadcast. So it's really a glitch in ifconfig, but you can work around it.

Comment 3 Red Hat Bugzilla 2000-09-21 20:58:41 UTC
I'm in the process of adding the extra code to calculate the broadcast address
for you
	broadcast = ( VIP & netmask) | ~netmask ;

I didn't spot ifconfig not calculating the broadcast for itself because I was
using a

0.4.17-4 should be out tonight or tomorrow (depending on how god/bad the offsite
company meeting goes.


Comment 4 Red Hat Bugzilla 2000-09-26 13:14:30 UTC
This issue is now resolved with piranha-0.4.17-4
which you can pick up out of the HA download area



Note You need to log in before you can comment on or make changes to this bug.