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

Re: 想改网络接口号怎么改?



On Monday 23 July 2007 03:16:18 li xin wrote:
> 一台机器有两个网卡,eth1
> eth0,现在想对换,原eth0的改为eth1,原eth1的改为eth0,查网上是改/etc/iftab这个文件,但debian没有。
>
> -_-!以前就改过,但现在又忘了…………


$ cat /etc/udev/rules.d/z25_persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# PCI device 0x10ec:0x8139 (8139too)
[snip]
NAME="eth1"

# PCI device 0x8086:0x1229 (e100)
[snip]
NAME="eth0"

-- 
LI Daobing

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: