Another problem I found is the following:
I tried to setup a ha-firewall. The two computers are connected via ether=
net =
(2 times, eth0 and eth1) and serial cable. Everything runs just as expect=
ed. =
Then I decided I wanted to have several virtual IP-adresses on my firewal=
l for =
things like portforwarding and so on. So I set up my haresource-file somt=
hing =
like:
fw1.domain 192.168.1.3 httpd =
fw1.domain 10.1.1.3
fw1.domain 192.168.1.10
fw1.domain 192.168.1.11
fw1.domain 192.168.1.12
fw1.domain has IP-address 192.168.1.1, fw2.domain 192.168.1.2, 192.168.1.=
3 is
the address to reach the firewall (and webserver, just for testing purpos=
es). =
So in addition to eth0:0 (192.168.1.3) I wanted to have a eth0:1 =
(192.168.1.10), eth0:2 and eth0:3.
During startup of heartbeat the programm findif is called to determine th=
e =
name of the next free virtual interface for an address to be set up. The =
calls =
for 192.168.1.3, .1.10, .1.11 and .1.12 are done almost at the same time.=
So =
when the interface for 192.168.1.12 is searched, eth0:0 for 192.168.1.3 i=
s not =
yet set up, so the program gives eth0:0 for 192.168.1.12. The effect is t=
hat =
there is only on virtual interface created in the end, with the IP-addres=
s =
192.168.1.12, (since to others are created a short time before and simply=
=
overwritten) which is not what I intended to do.
I have written a small (and dirty) fix for this problem, but it should =
probably be solved better than I did it for now.
I hope my descriptions are understandable,
Christoph
-- =
Christoph J=E4ger mailto:cja@gams.at
g.a.m.s. edv dienstleistungen gmbh +43 1 895 84 99-25
stiegergasse 15-17 ; 1150 Wien http://www.gams.at =
I tried to setup a ha-firewall. The two computers are connected via ether=
net =
(2 times, eth0 and eth1) and serial cable. Everything runs just as expect=
ed. =
Then I decided I wanted to have several virtual IP-adresses on my firewal=
l for =
things like portforwarding and so on. So I set up my haresource-file somt=
hing =
like:
fw1.domain 192.168.1.3 httpd =
fw1.domain 10.1.1.3
fw1.domain 192.168.1.10
fw1.domain 192.168.1.11
fw1.domain 192.168.1.12
fw1.domain has IP-address 192.168.1.1, fw2.domain 192.168.1.2, 192.168.1.=
3 is
the address to reach the firewall (and webserver, just for testing purpos=
es). =
So in addition to eth0:0 (192.168.1.3) I wanted to have a eth0:1 =
(192.168.1.10), eth0:2 and eth0:3.
During startup of heartbeat the programm findif is called to determine th=
e =
name of the next free virtual interface for an address to be set up. The =
calls =
for 192.168.1.3, .1.10, .1.11 and .1.12 are done almost at the same time.=
So =
when the interface for 192.168.1.12 is searched, eth0:0 for 192.168.1.3 i=
s not =
yet set up, so the program gives eth0:0 for 192.168.1.12. The effect is t=
hat =
there is only on virtual interface created in the end, with the IP-addres=
s =
192.168.1.12, (since to others are created a short time before and simply=
=
overwritten) which is not what I intended to do.
I have written a small (and dirty) fix for this problem, but it should =
probably be solved better than I did it for now.
I hope my descriptions are understandable,
Christoph
-- =
Christoph J=E4ger mailto:cja@gams.at
g.a.m.s. edv dienstleistungen gmbh +43 1 895 84 99-25
stiegergasse 15-17 ; 1150 Wien http://www.gams.at =