Richard Melville wrote:
>> Contents of /etc/udev/rules.d/70-persistent-net.rules:-
>
> # This file was automatically generated by the /lib/udev/write_net_rules
> # program, run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single
> # line, and change only the value of the NAME= key.
>
> # PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0
> (e1000e)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="00:22:4d:7c:be:b7", ATTR{dev_id}=="0x0", ATTR{type}=="1",
> KERNEL=="eth*", NAME="eth0"
>
> # PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0
> (e1000e)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="00:22:4d:9a:f4:89", ATTR{dev_id}=="0x0", ATTR{type}=="1",
> KERNEL=="eth*", NAME="eth1"
Yes, you have the electronics for two ethernet connections, even if
there is only a socket for one. You can reverse the names by just
swapping the eth0 and eth1 names in 70-persistent-net.rules if you want
to do that.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page