Solution One:
[Root@rac1 ~]# Ifconfig
Eth0 Link encap:ethernet hwaddr 00:0c:29:0c:8a:b4
。。。。。。。。。。。。。。。
Inet6 ADDR:FE80::20C:29FF:FE0C:8AB4/64 Scope:link
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:182 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12402 (12.1 KiB) TX bytes:2935 (2.8 KiB)
interrupt:185 Base address:0x1480
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:3960 errors:0 dropped:0 overruns:0 frame:0
TX packets:3960 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5208396 (4.9 MiB) TX bytes:5208396 (4.9 MiB)
[Root@rac1 ~]# cd/etc/sysconfig/network-scripts/
[Root@rac1 network-scripts]# ls
Ifcfg-eth0 ifdown-isdn Ifup-ib Ifup-plusb Init.ipv6-global
Ifcfg-lo ifdown-post ifup-ippp ifup-post network-functions
Ifdown ifdown-ppp ifup-ipsec ifup-ppp Network-functions-ipv6
Ifdown-aliases ifdown-sit Ifup-ipv6 ifup-routes
IFDOWN-IPPP IFDOWN-SL ifup-ipx Ifup-sit
Ifdown-ipsec ifup ifup-isdn IFUP-SL
Ifdown-ipv6 ifup-aliases Ifup-plip ifup-wireless
[ROOT@RAC1 network-scripts]# CP Ifcfg-eth0 ifcfg-eth1
[Root@rac1 network-scripts]# VI ifcfg-eth1
Device=eth1
Bootproto=none
hwaddr=00:0c:29:0c:8a:be
Onboot=yes
type=ethernet
netmask= 255.255.255.0
ipaddr=192.168.2.101
userctl=no
ipv6init=no
Peerdns=yes
gateway=192.168.2.1
~
~
~
~
~
~
~
~
~
~
~
~
"Ifcfg-eth1" 11L, 175C WRITTEN   &NB sp;
[root@rac1 network-scripts]# ifconfig
eth0 Link encap:ethernet hwaddr 00:0c:29:0c:8a:b4
.............
inet6 addr:fe80::20c:29ff:fe0c:8ab4/64 scope:link
up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:1185 errors:0 dropped:0 overruns:0 frame:0
TX packets:312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:81252 (79.3 KiB) TX bytes:28105 (27.4 KiB)
& nbsp; interrupt:185 Base address:0x1480
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:7057 errors:0 dropped:0 overruns:0 frame:0
TX packets:7057 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9647576 (9.2 MiB) TX bytes:9647576 (9.2 MiB)
[ROOT@RAC1 network-scripts]# Service Network restart
Shutting down interface eth0: [OK]
Shutting down loopback interface: [OK]
Setting Network parameters: [OK]
Bringing up loopback interface: [OK]
Bringing Up interface eth0:
[OK]
Bringing Up interface eth1:
Through the above method, Eth1 added, but with a new problem, the eht0ping impassability.
Method Two:
The way to create a new NIC in the graphical interface by using the System-config-network command:
The same can be added to the network card, can also start successfully, but after the eth1 boot, eth0 will not be able to access.
Finally use in and eth0 the same network segment of the machine access to the virtual machine, found that access is normal, to this point, you can determine the above two add methods are available, resulting in inaccessible because of some network restrictions.