[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Q] how to set virtual IP on AS 4



On Wed, 14 Feb 2007, m roth2006 rcn com wrote:
eth0:0 should typically work just fine.  Does Webmin do fun things with it
like eat up your eth0 settings instead? :)

Nope - it simply won't allow it. I mentioned it to the other sysadmin I work with, and he said eth0:0 was a bad idea, that it would likely got for eth0 itself.

What won't allow it? Webmin or RH? Can you provide something more specific than "he said eth0:0 was a bad idea"? Years of firsthand experience using eth0:0 tells me to call "bullshit" on this one.

[jlgaddis blwww1 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

[jlgaddis blwww1 ~]$ /sbin/ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:17:A4:11:D5:2E
          inet addr:X.Y.Z.124  Bcast:X.Y.Z.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47501800 errors:0 dropped:0 overruns:0 frame:0
          TX packets:52624967 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2820171777 (2.6 GiB)  TX bytes:163207891 (155.6 MiB)
          Interrupt:201

[jlgaddis blwww1 ~]$ /sbin/ifconfig eth0:0
eth0:0    Link encap:Ethernet  HWaddr 00:17:A4:11:D5:2E
          inet addr:X.Y.Z.65  Bcast:X.Y.Z.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:201

"X.Y.Z.65" is a virtual IP shared by a pair of servers clustered using heartbeat. This has been running in production since August with exactly zero issues.

--
Jeremy L. Gaddis, MCP, GCWN             jeremy linuxwiz net
LinuxWiz Consulting                     http://linuxwiz.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]