Re: [Vserver] Re: chbind with multihomed hosts

2005-01-09 Thread Markus Neubauer
Thnx Herbert,
so I'll remain using iproute2 and the rt_tables in a "past vserver" 
start proc for now.

greets
Markus
Herbert Poetzl schrieb:
On Sat, Jan 08, 2005 at 04:27:12PM +0100, Markus Neubauer wrote:
 

Hi *,
   

Hey Markus!
 

how can I solve a problem on multihomed hosts with their broadcast?
   

I would say you can not solve this atm without heavy
hacking or special tricks ...
this should be easy with ngnet, which is currently
being developed (so it's not nearly production quality
yet)
best,
Herbert
 

When setting up a virtual host with 2 interfaces, the last with the
syntax "ethn:1.2.3.4/255.255.255.n" is "winning" the broadcast address.
The following table should clearify my question, as one can see the 
broadcast for the first interface is wrong in the virtual bcast addressing:

The full setup of the host is (I shortened the list):
| -
| eth0
| Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:54  
|inet addr:192.168.5.168  Bcast:192.168.5.255  Mask:255.255.255.0
| ...
|
| eth0:m461 Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:54
| inet addr:192.168.5.146  Bcast:10.11.12.255  Mask:255.255.255.0
| ???
| ...
|
 2. Interface
| eth1  Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:55
| inet addr:10.11.12.71  Bcast:10.11.12.255  Mask:255.255.255.0 ...
|
| eth1:m46  Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:55
| inet addr:10.11.12.46  Bcast:10.11.12.255  Mask:255.255.255.0 ...
|
--

Any Ideas ?
Markus
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
   

 


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: chbind with multihomed hosts

2005-01-08 Thread Herbert Poetzl
On Sat, Jan 08, 2005 at 04:27:12PM +0100, Markus Neubauer wrote:
> Hi *,

Hey Markus!

> how can I solve a problem on multihomed hosts with their broadcast?

I would say you can not solve this atm without heavy
hacking or special tricks ...

this should be easy with ngnet, which is currently
being developed (so it's not nearly production quality
yet)

best,
Herbert

> When setting up a virtual host with 2 interfaces, the last with the
> syntax "ethn:1.2.3.4/255.255.255.n" is "winning" the broadcast address.
> 
> The following table should clearify my question, as one can see the 
> broadcast for the first interface is wrong in the virtual bcast addressing:
> 
> The full setup of the host is (I shortened the list):
> | -
> | eth0
> | Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:54  
> |inet addr:192.168.5.168  Bcast:192.168.5.255  Mask:255.255.255.0
> | ...
> |
> | eth0:m461 Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:54
> | inet addr:192.168.5.146  Bcast:10.11.12.255  Mask:255.255.255.0
> | ???
> | ...
> |
>  2. Interface
> | eth1  Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:55
> | inet addr:10.11.12.71  Bcast:10.11.12.255  Mask:255.255.255.0 ...
> |
> | eth1:m46  Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:55
> | inet addr:10.11.12.46  Bcast:10.11.12.255  Mask:255.255.255.0 ...
> |
> --
> 
> Any Ideas ?
> Markus
> 
> 
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: chbind with multihomed hosts

2005-01-08 Thread Markus Neubauer
Hi *,
how can I solve a problem on multihomed hosts with their broadcast?
When setting up a virtual host with 2 interfaces, the last with the
syntax "ethn:1.2.3.4/255.255.255.n" is "winning" the broadcast address.
The following table should clearify my question, as one can see the 
broadcast for the first interface is wrong in the virtual bcast addressing:

The full setup of the host is (I shortened the list):
| -
| eth0
| Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:54  
|inet addr:192.168.5.168  Bcast:192.168.5.255  Mask:255.255.255.0
| ...
|
| eth0:m461 Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:54
| inet addr:192.168.5.146  Bcast:10.11.12.255  Mask:255.255.255.0
| ???
| ...
|
 2. Interface
| eth1  Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:55
| inet addr:10.11.12.71  Bcast:10.11.12.255  Mask:255.255.255.0 ...
|
| eth1:m46  Link encap:Ethernet  HWaddr XX:B0:81:A5:7F:55
| inet addr:10.11.12.46  Bcast:10.11.12.255  Mask:255.255.255.0 ...
|
--

Any Ideas ?
Markus
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver