SUSE How to rename a network card under Linux 10

Source: Internet
Author: User
Tags linux

Before the SUSE Linux network card renaming problem, is installed on the virtual machine RAC, by replicating the virtual machine need to complete. Unlike Redhat Linux and Oralce Linux, the following records them for reference.

1, the new node network configuration

#启动节点之后没有任何IP配置信息

bo2dbp:~ # Ifconfig

Lo Link encap:local Loopback

inet addr:127.0.0.1 mask:255.0.0.0

Inet6 addr::: 1/128 scope:host

Up loopback RUNNING mtu:16436 metric:1

RX packets:174 errors:0 dropped:0 overruns:0 frame:0

TX packets:174 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:11471 (11.2 kb) TX bytes:11471 (11.2 KB)

2, use Yast2/newcard to remove the network card before, and add IP address, route, machine name for new network card

#下面是删除后并配置ip, information after route

bo2dbp:~ # Ifconfig

Eth3 Link encap:ethernet hwaddr 00:0c:29:99:df:0f

inet addr:192.168.7.71 bcast:192.168.7.255 mask:255.255.255.0

Inet6 ADDR:FE80::20C:29FF:FE99:DF0F/64 Scope:link

Up broadcast RUNNING multicast mtu:1500 metric:1

RX packets:10 errors:0 dropped:0 overruns:0 frame:0

TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:2387 (2.3 Kb) TX bytes:328 (328.0 b)

Eth4 Link encap:ethernet hwaddr 00:0c:29:99:df:19

inet addr:10.10.7.71 bcast:10.10.7.255 mask:255.255.255.0

Inet6 ADDR:FE80::20C:29FF:FE99:DF19/64 Scope:link

Up broadcast RUNNING multicast mtu:1500 metric:1

RX packets:7 errors:0 dropped:0 overruns:0 frame:0

TX packets:3 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

This paper url:http://www.bianceng.cn/os/linux/201410/45624.htm

RX bytes:1607 (1.5 Kb) TX bytes:238 (238.0 b)

Lo Link encap:local Loopback

inet addr:127.0.0.1 mask:255.0.0.0

Inet6 addr::: 1/128 scope:host

Up loopback RUNNING mtu:16436 metric:1

RX packets:206 errors:0 dropped:0 overruns:0 frame:0

TX packets:206 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:13803 (13.4 kb) TX bytes:13803 (13.4 kb)

3. Disable Network

bo2dbp:~ # Rcnetwork Stop

Shutting down network interfaces:

Eth3 Device:intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (Rev. 01)

Eth3 configuration:eth-bus-pci-0000:02:00.0

Eth3 Done

Eth4 Device:intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (Rev. 01)

Eth4 configuration:eth-bus-pci-0000:02:02.0

Eth4 Done

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.