默认是down的
[root@localhost home]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host lovalid_lft forever preferred_lft foreverinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever
2: enp125s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000link/ether b0:4f:a6:59:a7:da brd ff:ff:ff:ff:ff:ffinet 192.168.100.236/24 brd 192.168.100.255 scope global noprefixroute enp125s0f0valid_lft forever preferred_lft foreverinet6 fe80::26a1:9dfe:4a7f:c499/64 scope link noprefixroutevalid_lft forever preferred_lft forever
3: enp125s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000link/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 1000link/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 1000link/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 1000link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host lovalid_lft forever preferred_lft foreverinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever
2: enp125s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000link/ether b0:4f:a6:59:a7:da brd ff:ff:ff:ff:ff:ffinet 192.168.100.236/24 brd 192.168.100.255 scope global noprefixroute enp125s0f0valid_lft forever preferred_lft foreverinet6 fe80::26a1:9dfe:4a7f:c499/64 scope link noprefixroutevalid_lft forever preferred_lft forever
3: enp125s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000link/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 1000link/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 1000link/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 1000link/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 1000link/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