On Sun, 2003-06-15 at 03:31, Herbert Poetzl wrote:
> On Sun, Jun 15, 2003 at 03:04:16AM +0300, Itamar Sagie wrote:
> > I am trying to bind 2 IPs to one vserver with no success
> > 
> > It will only bind to the second ip
> > 
> > my set is as follow:
> > HOST: RH 7.3 kernel 2.4.20 ctx 17
> > vsever: Debian woody
> > 
> > vserver conf file is as follow:
> > 
> > S_HOSTNAME="lifetimeopportunity.com"
> > IPROOT="69.0.222.253 69.0.222.254"
> > IPROOTDEV="eth0"
> > ONBOOT="yes"
> > S_NICE=""
> > S_FLAGS="lock nproc"
> > ULIMIT="-H -u 256 -n 1024"
> > S_CAPS="CAP_NET_RAW"
> > 
> > # *NOT* DNS domain name, for NIS only
> > S_DOMAINNAME=""
> 
> how long is the server name?
> 

the server name is 22 char long

> > I also tried with 
> > IPROOT="eth0:69.0.222.253 eth0:69.0.222.254"
> > 
> > But with no success
> 
> what does ifconfig show within the server?
> 

lifetimeopportunity:/# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:75:EB:52:C8
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3249325 errors:0 dropped:0 overruns:1 frame:0
          TX packets:1154772 errors:0 dropped:0 overruns:0 carrier:30
          collisions:183773 txqueuelen:100
          RX bytes:517437704 (493.4 MiB)  TX bytes:1034534023 (986.6
MiB)
          Interrupt:24 Base address:0x2200

eth0:life Link encap:Ethernet  HWaddr 00:04:75:EB:52:C8
          inet addr:69.0.222.254  Bcast:69.0.231.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:24 Base address:0x2200

lo        Link encap:Local Loopback
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:332464 errors:0 dropped:0 overruns:0 frame:0
          TX packets:332464 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:21548544 (20.5 MiB)  TX bytes:21548544 (20.5 MiB


> > Please advise
> 
> IPROOT="eth1:192.168.0.5 eth1:192.168.0.6"
> 
> is working here .. with (vserver-0.22 fixed) and
> kernel 2.4.21-c17 ...
> 
> best,
> Herbert
> 

Reply via email to