[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Фиксация сетевых интерфейсов



Всем привет!

На компе есть две сетевухи 3com и realtek. По задумке 3com`овская сетевуха 
должна быть eth0 с ip=192.168.0.9, а realtek`овская - eth1 c 
ip=192.168.10.1 . В /etc/network/interfaces написано:

auto eth0
iface eth0 inet static
        address 192.168.0.9
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255

auto eth1
iface eth1 inet static
        address 192.168.10.1
        netmask 255.255.255.0
        network 192.168.10.0
        broadcast 192.168.10.255

Когда перегружаю комп, порядок интерфейсов иногда меняется, те 3com - eth1, a 
realtek - eth0. Как можно жестко зафиксировать соответствие интерфейсов 
карточкам ?

На ум приходит только прописывание модулей в /etc/modules в нужном порядке...

Спасибо


-- 
If you think of MS-DOS as mono, and Windows as stereo,
  then Linux is Dolby Digital and all the music is free...

Attachment: pgpIHa5a713Yo.pgp
Description: PGP signature


Reply to: