[SLUG] How to keep them straight?

From: Chuck Hast (wchast@gmail.com)
Date: Fri May 14 2010 - 21:54:41 EDT


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.

-- 
Chuck Hast  -- KP4DJT --
When the righteous are in authority, the people rejoice: but when the
wicked beareth rule the people mourn.  Prov 29:2 KJV
-----

www.wchast.com Demo and test site www.wchast.com/zm Login = guest pwd = guest

FSE Emhart Veritas: ViM, ViB, and ViC. ----------------------------------------------------------------------- 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:24:36 EDT