sp681网卡打驱动后的状态--默认是链路是down

默认是down的

[root@localhost home]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp125s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether b0:4f:a6:59:a7:da brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.236/24 brd 192.168.100.255 scope global noprefixroute enp125s0f0
       valid_lft forever preferred_lft forever
    inet6 fe80::26a1:9dfe:4a7f:c499/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: enp125s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether b0:4f:a6:59:a7:db brd ff:ff:ff:ff:ff:ff
4: enp125s0f2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether b0:4f:a6:59:a7:dc brd ff:ff:ff:ff:ff:ff
5: enp125s0f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether b0:4f:a6:59:a7:dd brd ff:ff:ff:ff:ff:ff
[root@localhost home]# modprobe hinic
hinic   hinic3
[root@localhost home]# modprobe hinic3
[root@localhost home]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp125s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether b0:4f:a6:59:a7:da brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.236/24 brd 192.168.100.255 scope global noprefixroute enp125s0f0
       valid_lft forever preferred_lft forever
    inet6 fe80::26a1:9dfe:4a7f:c499/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: enp125s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether b0:4f:a6:59:a7:db brd ff:ff:ff:ff:ff:ff
4: enp125s0f2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether b0:4f:a6:59:a7:dc brd ff:ff:ff:ff:ff:ff
5: enp125s0f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether b0:4f:a6:59:a7:dd brd ff:ff:ff:ff:ff:ff
6: enp1s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether ac:dc:ca:de:2a:e2 brd ff:ff:ff:ff:ff:ff
7: enp1s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether ac:dc:ca:de:2a:e3 brd ff:ff:ff:ff:ff:ff

默认没有配置文件

[root@localhost network-scripts]# ll /etc/sysconfig/network-scripts/
总用量 240
-rw-r--r-- 1 root root   289 10月 20 10:24 ifcfg-enp125s0f0
-rw-r--r-- 1 root root   289 10月 20 10:24 ifcfg-enp125s0f1
-rw-r--r-- 1 root root   289 10月 20 10:24 ifcfg-enp125s0f2
-rw-r--r-- 1 root root   289 10月 20 10:24 ifcfg-enp125s0f3
-rw-r--r-- 1 root root   254  7月 14  2020 ifcfg-lo
-rw-r--r-- 1 root root   354 10月 20 11:32 ifcfg-static
-rwxr-xr-x 1 root root  2053  7月 14  2020 ifdown
-rwxr-xr-x 1 root root   646  7月 14  2020 ifdown-bnep
-rwxr-xr-x 1 root root  6422  7月 14  2020 ifdown-eth
-rwxr-xr-x 1 root root   769  7月 14  2020 ifdown-ippp
-rwxr-xr-x 1 root root  4530  7月 14  2020 ifdown-ipv6
lrwxrwxrwx 1 root root    11  9月  6  2023 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x 1 root root  2064  7月 14  2020 ifdown-post
-rwxr-xr-x 1 root root  1068  1月 22  2024 ifdown-ppp
-rwxr-xr-x 1 root root   870  7月 14  2020 ifdown-routes
-rwxr-xr-x 1 root root  1458  7月 14  2020 ifdown-sit
-rwxr-xr-x 1 root root  1462  7月 14  2020 ifdown-tunnel
-rwxr-xr-x 1 root root  5306  7月 14  2020 ifup
-rwxr-xr-x 1 root root 12143  7月 14  2020 ifup-aliases
-rwxr-xr-x 1 root root   906  7月 14  2020 ifup-bnep
-rwxr-xr-x 1 root root 14343  9月  6  2023 ifup-eth
-rwxr-xr-x 1 root root 11972  7月 14  2020 ifup-ippp
-rwxr-xr-x 1 root root 11859  7月 14  2020 ifup-ipv6
lrwxrwxrwx 1 root root     9  9月  6  2023 ifup-isdn -> ifup-ippp
-rwxr-xr-x 1 root root   650  7月 14  2020 ifup-plip
-rwxr-xr-x 1 root root  1064  7月 14  2020 ifup-plusb
-rwxr-xr-x 1 root root  5000  7月 14  2020 ifup-post
-rwxr-xr-x 1 root root  4154  1月 22  2024 ifup-ppp
-rwxr-xr-x 1 root root  2001  7月 14  2020 ifup-routes
-rwxr-xr-x 1 root root  3303  7月 14  2020 ifup-sit
-rwxr-xr-x 1 root root  2890  7月 14  2020 ifup-tunnel
-rwxr-xr-x 1 root root  1836  7月 14  2020 ifup-wireless
-rwxr-xr-x 1 root root  5407  7月 14  2020 init.ipv6-global
-rw-r--r-- 1 root root 20540  9月  6  2023 network-functions
-rw-r--r-- 1 root root 30988  7月 14  2020 network-functions-ipv6

posted @ 2025-10-20 12:31  jinim  Views(55)  Comments(0)    收藏  举报