Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The problem of Network Card Information injection after VMWare Link Clone OS

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

CentOS1, [root@localhost ~] # ifconfig-a [root@localhost ~] # vim / etc/udev/rules.d/70-persistent-net.rules delete the record corresponding to the first MAC that does not exist, change the following eth2 to eth0 [root@localhost ~] # vim / etc/sysconfig/network-scripts/ifcfg-eth0 delete MAC address and UUID, modify IP address [root@localhost ~] # modprobe-r e1000 [root@localhost ~] # modprobe e1000 [root@localhost ~] # service network restart reload Nic driver, restart the network service [root@localhost ~] # ifconfigeth0 Link encap:Ethernet

Debian

Vim / etc/udev/rules.d/z25_persistent-net.rules# PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM== "net", DRIVERS== "? *", ATTRS {address} = = "00:e0:4c:39:a4:99", NAME= "eth0" # PCI device 0x10ec:0x8167 (R8169) SUBSYSTEM== "net", DRIVERS== "? *", ATTRS {address} = = "00:16:17:c0:a3:66", NAME= "eth2"

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report