SLES 相关的若干问题

发表于:2007-07-04来源:作者:点击数: 标签:
suse 8 下存在网卡和设备名称不对应问题: 假设一台机器有3个网卡,我发现任何一个网卡都可以设为eth0。 1.这个问题在suse 9下是否存在呢? 2.如果只配一块网卡,并把它设为eth1或者eth2,而不是eth0,是否还能正常工作? 3.配置双网卡绑定时,所谓的将单个

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

原文转自:http://www.ltesting.net