最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

check the network info in Linux – ifconfig

工作和技术 crifan 574浏览 0评论

[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet HWaddr 00:0D:60:67:8A:2C
          inet addr:10.0.1.13 Bcast:255.255.255.255 Mask:255.255.255.0
          inet6 addr: fe80::20d:60ff:fe67:8a2c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:4165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:714 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:606993 (592.7 KiB) TX bytes:83075 (81.1 KiB)

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:3272 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3272 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2357476 (2.2 MiB) TX bytes:2357476 (2.2 MiB)

peth0     Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
          RX packets:4182 errors:0 dropped:0 overruns:0 frame:0
          TX packets:751 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:625665 (611.0 KiB) TX bytes:94163 (91.9 KiB)
          Base address:0x2000 Memory:e8100000-e8120000

vif0.0    Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
          RX packets:714 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4165 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:83075 (81.1 KiB) TX bytes:606993 (592.7 KiB)

xenbr0    Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
          RX packets:3760 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:249474 (243.6 KiB) TX bytes:0 (0.0 b)

转载请注明:在路上 » check the network info in Linux – ifconfig

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
56 queries in 0.129 seconds, using 18.83MB memory