One month ago I bought a TP-LINK TG-3468 NIC (v 2.0) for my motherboard (AsRock H61M-DGS) in order to have two NICS for my network lab
I installed CentOs 7 but my card (lpc) can't be reconiced then I installed the kmod-r8168-8.039.00-1.el7.elrepo.x86_64.rpm package from here http://elrepo.reloumirrors.net/elrepo/el7/x86_64/RPMS/
now I can see the second NIC (enp1s0) with 'ifconfig' then I tried to config an static Ip add for that card (in order to have this card for lan services) and the integrade card with dhcp
I configured the card with 'nmtui' but when I restart the network service I have an error and the NIC can not up, I made the same config with CentOs 6.6 without problem but in CentOs 7 somebody help?
Code: Select all
[root@localhost network-scripts]# /etc/init.d/network restart
Restarting network (via systemctl): Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
[FAIL]
[root@localhost network-scripts]# systemctl status network.service
network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network)
Active: failed (Result: exit-code) since dom 2015-03-01 17:46:28 CST; 21s ago
Process: 7979 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
mar 01 17:46:28 localhost.localdomain network[7979]: RTNETLINK answers: File exists
mar 01 17:46:28 localhost.localdomain network[7979]: RTNETLINK answers: File exists
mar 01 17:46:28 localhost.localdomain network[7979]: RTNETLINK answers: File exists
mar 01 17:46:28 localhost.localdomain network[7979]: RTNETLINK answers: File exists
mar 01 17:46:28 localhost.localdomain network[7979]: RTNETLINK answers: File exists
mar 01 17:46:28 localhost.localdomain network[7979]: RTNETLINK answers: File exists
mar 01 17:46:28 localhost.localdomain network[7979]: RTNETLINK answers: File exists
mar 01 17:46:28 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
mar 01 17:46:28 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
mar 01 17:46:28 localhost.localdomain systemd[1]: Unit network.service entered failed state.
[root@localhost network-scripts]#
Code: Select all
enp1s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether e8:de:27:01:fa:8b txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 44 base 0x2000
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.206.254.9 netmask 255.255.128.0 broadcast 10.206.255.255
inet6 fe80::be5f:f4ff:fe3c:577a prefixlen 64 scopeid 0x20<link>
ether bc:5f:f4:3c:57:7a txqueuelen 1000 (Ethernet)
RX packets 65428 bytes 68373772 (65.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 55526 bytes 7974364 (7.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 45 base 0x4000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 38 bytes 3192 (3.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38 bytes 3192 (3.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0