[syslinux] Network Interface
H. Peter Anvin
hpa at zytor.com
Thu Jul 8 13:15:09 PDT 2010
On 07/08/2010 10:47 AM, Dimitris Giatsios wrote:
> Hello,
>
> I'm booting a number of PCs through PXE from a server and then these nodes
> mount a common root filesystem (voyage distribution) located on the server
> over NFS.
>
> My problem is the following:
>
> I want all of the network interface names of the PCs to be the same (e.g.
> eth0 or something else), but some of them appear as eth0 and others as eth1.
> I've tried using udev, but it won't work because, after the filesystem is
> mounted, the interface is already up and running and can't be renamed.
>
> I came across the following webpage, where in the last link an approach
> using the GRUB or LILO boot configuration files is described (based on IRQ)
>
> --> www. science.uva.nl/research/air/wiki/LogicalInterfaceNames
>
> I wonder if I can use this with PXE as well, that is, if I can configure the
> PXE boot configuration file to assign a name to a network interface based on
> the IRQ or memory address value.
> If it is possible, can someone tell me what the syntax is in the case of
> PXE?
>
Use "ipappend 2"; that will give you the MAC address of the booted
interface as part of the kernel command line.
-hpa
More information about the Syslinux
mailing list