On Thu, Apr 28, 2005 at 05:55:47PM +0200, Stephan Sachse wrote:
> Hi,
> 
> On Thu, 28 Apr 2005 16:25:00 +0200
> Herbert Poetzl <[EMAIL PROTECTED]> wrote:
> 
> > > my setup looks like this
> > > 
> > > ## myvserver.conf
> > > IPROOT="eth1:80.100.219.143 10.2.25.13"
> > > IPROOTDEV="eth1:1"
> > 
> > which is just plain wrong, you _never_ specify an alias as device
> > 
> > if you want both 80.100.219.143 and 10.2.25.13 to be
> > created as alias, then use:
> > 
> >   IPROOT="eth1:80.100.219.143 eth1:10.2.25.13"
> >   IPROOTDEV=""
> 
> hmm, i test this, but now only the eth1:10.2.25.13 alias was created.
> the first alias (eth1:80.100.219.143) was missed
> 
> ifconfig in the vserver looks like this
> 
> eth0 Protokoll:Ethernet  Hardware Adresse 00:40:63:C8:10:0E
>      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>      ....
> 
> eth1 Protokoll:Ethernet  Hardware Adresse 00:50:BF:1A:21:36
>      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>      ...
> 
> eth1:myvs Protokoll:Ethernet  Hardware Adresse 00:50:BF:1A:21:36
>           inet Adresse:10.2.25.13  Bcast:82.100.209.255
> Maske:255.255.255.128
>      ...

network config:

        IPROOT="eth0:192.168.0.2 eth0:192.168.0.3"
        IPROOTDEV=""

with 2.4.29-vs1.2.10 and 0.30 util-vserver gives

eth0:XXXX Link encap:Ethernet  HWaddr 52:54:00:12:34:56  
          inet addr:192.168.0.2  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:9 Base address:0xc100 

eth0:XXXX Link encap:Ethernet  HWaddr 52:54:00:12:34:56  
          inet addr:192.168.0.3  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:9 Base address:0xc100 

or more precisely:

$ ip addr ls

2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.2/8 brd 10.255.255.255 scope global eth0
    inet 192.168.0.2/8 brd 10.255.255.255 scope global eth0:XXXX
    inet 192.168.0.3/8 brd 10.255.255.255 scope global secondary eth0:XXXX1

the 'wrong' broadcast is somewhat expected ...

best,
Herbert

> you see the bcast addr on eth1:myvs?
> the alias for 80.100... ist missing.
> my util-vserver vsersion ist 0.29 but the vserver script is unchanged in
> 0.30.
> 
> thanks
> 
> /me
> 
> -- 
> -----------------------//------------------------
> NU informationssysteme gmbh, nu research
> a: berliner straße 31, 01589 riesa, saxony, DE
> t: +49-3525-65733-40
> f: +49-3525-65733-50
> m: [EMAIL PROTECTED]
> w: http://nugmbh.de
> -----------------------------------------------------------------------
> printk("What? oldfid != cii->c_fid. Call 911.\n");
>         2.4.3 linux/fs/coda/cnode.c
> -----------------------------------------------------------------------
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
> E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
> Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
> die unbefugte Weitergabe dieser Mail ist nicht gestattet.
> 
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail
> in error) please notify the sender immediately and destroy this e-mail.
> Any unauthorised copying, disclosure or distribution of the material
> in this e-mail is strictly forbidden.
> _______________________________________________
> 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

Reply via email to