Re: [SLUG] How to keep them straight?

From: PiousMinion (piousminion@gmail.com)
Date: Sat May 15 2010 - 02:16:41 EDT


On Sat, May 15, 2010 at 2:15 AM, PiousMinion <piousminion@gmail.com> wrote:

> On Fri, May 14, 2010 at 11:17 PM, Paul Bransford <draeath@gmail.com>wrote:
>
>> Chuck,
>>
>> You might check and see if you can specify what is what based on the MAC
>> address. I'm not familiar with out Arch does this, but every other
>> distro I've played around with that was not statically configured
>> (Debian, CentOS, Fedora, etc) this was possible.
>>
>> On 05/14/2010 09:54 PM, Chuck Hast wrote:
>> > I have a video server with two nic cards in it. One is the network
>> access
>> > and the other is gigabit for the camera streams. In the past I have
>> > set up each ethernet port based on the drive, the host machine is
>> > Arch Linux, the differentiation of the ports has been done based on
>> > the drivers, here is the sample on my home test and demo machine,
>> > this comes from rc.conf.
>> >
>> > Here is where the sequence of the driver loading takes place
>> >
>> -----------------------------------------------SoT--------------------------
>> > MOD_AUTOLOAD="yes"
>> > #MOD_BLACKLIST=() #deprecated
>> > MODULES=(r8169 skge)
>> >
>> -----------------------------------------------EoT-----------------------------
>> > r8169 is loaded first
>> > skge is loaded second
>> >
>> > Now here are the stanzas that set up eth0 and eth1
>> >
>> >
>> ------------------------------------------------SoT-----------------------------
>> > eth0="dhcp"
>> > #eth1="dhcp"
>> > eth1="eth1 172.31.7.1 netmask 255.255.255.0 broadcast 172.31.7.255"
>> > INTERFACES=(eth0 eth1)
>> >
>> ------------------------------------------------EoT-------------------------------
>> >
>> > The problem I have is the 2nd Nic card also uses the r8169 chip
>> > set, so now I need another mechanism to make sure that each
>> > port comes up where it is supposed to. So far in testing this new
>> > machine has worked just fine, but I can see it getting things confused
>> > and swapping the ports around. I am looking for another mechanism
>> > to make sure it does not happen.
>> >
>> >
>> >
>> -----------------------------------------------------------------------
>> This list is provided as an unmoderated internet service by Networked
>> Knowledge Systems (NKS). Views and opinions expressed in messages
>> posted are those of the author and do not necessarily reflect the
>> official policy or position of NKS or any of its employees.
>>
>
> The way to do it is with udev rules. I've managed to create rules for my
> various usb storage devices, but not sure how to handle NICs. This should
> help you out though. -->
> http://wiki.archlinux.org/index.php/Udev#Mixed_Up_Devices.2C_Sound.2FNetwork_Cards_Changing_Order_Each_Boot
>
Sorry for the double post. Still getting used to mailing lists.
-- Clayton Holloway

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:25:19 EDT