lvs-users
|
To: | "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx> |
---|---|
Subject: | Re: [OT] Binding A Second NIC to A Device |
From: | Jacob Coby <jcoby@xxxxxxxxxxxxxxx> |
Date: | Fri, 03 Dec 2004 18:56:37 -0500 |
Peter Mueller wrote: PS, just saw on another mailing list about a tool called nameif. Check it out. Hmm. I just looked at the source for ifup, and it calls nameif: if [ -n "${HWADDR}" ]; then FOUNDMACADDR=`LC_ALL= LANG= ip -o link show ${REALDEVICE} | \ sed 's/.*link\/ether \([[:alnum:]:]*\).*/\1/'` if [ "${FOUNDMACADDR}" != "${HWADDR}" ]; then /sbin/nameif "${REALDEVICE}" "${HWADDR}" || {echo $"Device ${DEVICE} has different MAC address than expected, ignoring." exit 1 } fi fiLooks like the HWADDR directive will work for me if I reboot the machine. Thanks Peter, and secroft@xxxxxxxxxx! -- -Jacob |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | RE: [OT] Binding A Second NIC to A Device, Peter Mueller |
---|---|
Next by Date: | Re: strange "NOT HIT" messages sometimes, Wensong Zhang |
Previous by Thread: | RE: [OT] Binding A Second NIC to A Device, Peter Mueller |
Next by Thread: | Re: Failover with load balancing of SSL, Miguel Cabeça |
Indexes: | [Date] [Thread] [Top] [All Lists] |