Re: An elementary question on LANs



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

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: An elementary question on LANs
    ... It's mapped using 'HWADDR' in the ... Freenode handle: digimer ... Papers and Projects: http://alteeve.com ...
    (Fedora)
  • Re: Baffled by a Cable Modem
    ... I like to leave that in as I have some machines with ... multiple nics and that makes sure that they consistantly get associated ... What HWADDR does is ... make sure the interface does not come up if the MAC address is ...
    (Fedora)
  • Re: Adding a NIC
    ... the mac address / interface name from 70-persistent-net.rules file). ... I personally use DEVICE only and delete HWADDR. ... udev has mapped hwaddr to device name, ifcfg maps device name to IP. ... (you can have two different hwaddr in udev rules mapping to the ...
    (Fedora)