An elementary question on LANs

Timothy Murphy gayleard at eircom.net
Sat Jul 16 00:09:50 UTC 2011


Digimer wrote:

>> What exactly sets up the correspondence between interfaces and LANs,
>> eg (in my case) eth1 <-> 192.168.2.0 ?
>> 
>> I don't see any file in /etc/sysconfig , say,
>> where this is specified.
> 
> It's mapped using 'HWADDR' in the
> /etc/sysconfig/network-scripts/ifcfg-ethX and/or in
> /etc/udev/rules.d/70-persistent-net.rules.

As far as I can see, 70-persistent-net.rules just maps
each MAC address on a machine to an interface,
as also does ifcfg-ethX .

Neither seems to me to associate an interface, say eth1,
to a LAN, say 192.168.2.0 .

> 
http://wiki.alteeve.com/index.php/Changing_the_ethX_to_Ethernet_Device_Mapping_in_EL6_and_Fedora_12%2B

I'll study that, thanks. 

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland



More information about the users mailing list