ユーザ用ツール

サイト用ツール


01_linux:01_net:41_cnetos7_rename_eth

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
01_linux:01_net:41_cnetos7_rename_eth [2020/04/05 07:51] matsui01_linux:01_net:41_cnetos7_rename_eth [2020/04/05 07:52] (現在) matsui
行 66: 行 66:
  
 <code> <code>
-PCIパス指定+#PCIパス指定 
 +# lspci 
 +# ethtool -i NIC
 SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", SUBSYSTEMS=="pci", KERNELS=="0000:03:00.0", NAME="lan0" SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", SUBSYSTEMS=="pci", KERNELS=="0000:03:00.0", NAME="lan0"
 SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", SUBSYSTEMS=="pci", KERNELS=="0000:03:00.1", NAME="lan1" SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", SUBSYSTEMS=="pci", KERNELS=="0000:03:00.1", NAME="lan1"
行 72: 行 74:
 SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", SUBSYSTEMS=="pci", KERNELS=="0000:04:00.0", NAME="lan3" SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", SUBSYSTEMS=="pci", KERNELS=="0000:04:00.0", NAME="lan3"
  
-Macアドレス指定 +#Macアドレス指定 
-SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="b4:b5:2f:57:8c:78",NAME="lan0" +SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="lan0" 
-SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="b4:b5:2f:57:8c:7c",NAME="lan1" +SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="lan1" 
-SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="28:92:4a:cd:82:fc",NAME="lan2" +SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="lan2" 
-SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="28:92:4a:cd:82:f8",NAME="lan3"+SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="lan3"
 </code> </code>
 {{tag>network centos7}} {{tag>network centos7}}
01_linux/01_net/41_cnetos7_rename_eth.1586073105.txt.gz · 最終更新: 2020/04/05 07:51 by matsui