LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Virtual Interfaces?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Virtual Interfaces?
From: Roberto Nibali <ratz@xxxxxxxxxxxx>
Date: Wed, 17 Dec 2003 22:26:42 +0100
Hello,

When I add an IP with ifconfig it shows up with ip
addr show...

but not the reverse

To be more precise: "not the reverse iff labels are not used".

# ip addr add 192.168.108.1 dev eth1 brd & label eth1:1

s/&/+/

How could your line as depicted above ever work?? In the shell the '&' puts the command into the background.

# ifconfig
outputs:
eth1:1    Link encap:Ethernet  HWaddr 00:02:B3:1E:41:33
          inet addr:192.168.108.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:17 Base address:0xec80 Memory:fe303000-fe303038

??  am I not doing something right?

No, everything is perfect, what Joe and I mean is if you do not use labels, namely eth1:1 then the mapping of 'ifconfig' and 'ip addr ls' is not bijective anymore.

I am
wondering if it would be safe to reduce this as it is adding additional
minutes to the failover time that we would like to reclaim.

look at the ampersand at the end of the

done&

Maybe I'm being dense again, but I don't understand the significance of the
ampersand...

I didn't get that one either :)

Cheers,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc

<Prev in Thread] Current Thread [Next in Thread>