[root@elk-e ~]# ifconfig
ens32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.158.1.46 netmask 255.255.255.0 broadcast 10.158.1.255
inet6 fe80::93b1:f2d9:e269:a68b prefixlen 64 scopeid 0x20<link>
ether 00:50:56:ae:49:06 txqueuelen 1000 (Ethernet)
RX packets 59424688 bytes 5323486551 (4.9 GiB)
RX errors 0 dropped 10661 overruns 0 frame 0
TX packets 64772100 bytes 129432238365 (120.5 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
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 1 (Local Loopback)
RX packets 14401966 bytes 7264246129 (6.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14401966 bytes 7264246129 (6.7 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:c1:25:b9 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
[root@elk-e ~]#
[root@elk-e ~]# ethtool ens32
Settings for ens32:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
[root@elk-e ~]#
[root@elk-e ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.158.0.1 0.0.0.0 UG 100 0 0 ens32
10.158.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 ens32
10.158.1.0 0.0.0.0 255.255.255.0 U 100 0 0 ens32
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
[root@elk-e ~]#
[root@elk-e ~]# arp -n
Address HWtype HWaddress Flags Mask Iface
10.158.1.113 ether ***************** C ens32
(过多的输出,... )
[root@elk-e ~]#
[root@elk-e ~]# arping -I ens32 -c 3 10.158.0.1
ARPING 10.158.0.1 from 10.158.1.46 ens32
Unicast reply from 10.158.0.1 [*****************] 1.817ms
Unicast reply from 10.158.0.1 [*****************] 1.361ms
Unicast reply from 10.158.0.1 [*****************] 1.398ms
Sent 3 probes (1 broadcast(s))
Received 3 response(s)
[root@elk-e ~]#