D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Network device allocation

 

Simon Williams wrote:

Hello.

I have a server. For obvious reasons, it is imperative that the network devices have predictable allocations. This does not seem to be the case at the moment. I don't know why.

Do you mean each network device should have the same IP addresses?

If this is the case, you will need to make sure whatever is providing the IP addresses knows that a particular MAC address has a set IP address that it needs to be allocated. The other option is to setup the network devices to use static IPs.

What devices are on your network (including router if you have one)?


I have seen "alias eth0 [module name]" in modprobe.conf, but I have the problem of two identical devices, and I'm not totally sure that the above will work properly anyway (with udev and all). Probably the best way would be to do it by hardware address, but I'm not sure how to do this. Being able to name a device "internet" or something like that may also be useful (I have 4 ethernet devices).

Any info much appreciated
Thanks
Simon


After reading the above, I assume your server has two identical network cards (possibly attached to two different switches/hubs) and require different IP addresses, but at the moment it is applying an IP address to the cards randomly?

Rob


-
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html