suse 8 下存在網卡和設備名稱不對應問題:
假設一台機器有3個網卡,我發現任何一個網卡都可以設為eth0。
1.這個問題在suse 9下是否存在呢?
2.如果只配一塊網卡,並把它設為eth1或者eth2,而不是eth0,是否還能正常工作?
3.配置雙網卡綁定時,所謂的將單個網卡的配置刪除,是指在yast的網卡配置中刪除
該網卡,還是把網卡的配置文件/etc/sysconfig/network/ifcfg‑ethn中地址、子網掩
碼或網卡ID的信息刪除?
4.另外請問一塊網卡的配置信息和哪幾個系統文件有關系?
5.平時你一般使用什麼克隆工具克隆整個系統?不同平台各使用哪些。
1. sles8 does not support ethernet device config persistence but sles9 support.
sles9's yast network device config module generate config file name based on
ethernet card's MAC address.
e.g. if your have one network card which MAC address is 0a:0b:0c:0d:0e:0f,
the config file for that card would be named as
"ifcfg-eth-id-0a:0b:0c:0d:0e:0f"
2. whithout ethernet device naming persistence, the configaration for a network
device is logical not physical. user need carefully control the sequence of
loading net device kernel module (through /etc/modules.conf).
3. Yes
the bonding configuration instruction could refer the following url:
http://blog.chinaunix.net/article.php?articleId=34505&blogId=5724
the most important step is:
first load network card kernel module
then load bonding kernel module with proper mode and monitor paramater
4. sles8 config file:
/etc/modules.conf
/etc/sysconfig/network/ifcfg-eth*
sles9 config file:
/etc/modprobe.conf
/etc/sysconfig/hardware/hwcfg-bus-pci-xxxx:xx:xx.x
/etc/sysconfig/network/ifcfg-eth-id-xx:xx:xx:xx:xx:xx
5. the most common harddisk clone method is using command 'dd'
e.g. dd if=/dev/sda of=/dev/sdb