Chinaunix首页 | 论坛 | 博客
  • 博客访问: 150291
  • 博文数量: 23
  • 博客积分: 546
  • 博客等级: 中士
  • 技术积分: 608
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-02 18:04
文章分类

全部博文(23)

文章存档

2012年(23)

我的朋友

分类: LINUX

2012-07-11 11:55:16

用netstat查看MTU:

点击(此处)折叠或打开

  1. [tym@lxy ~]$ netstat -i
  2. Kernel Interface table
  3. Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
  4. eth0 1500 0 163969 0 0 0 1412 0 0 0 BMRU
  5. lo 16436 0 1404 0 0 0 1404 0 0 0 LRU

用ifconfig查看MTU:

点击(此处)折叠或打开

  1. [tym@lxy ~]$ ifconfig -a
  2. eth0 Link encap:Ethernet HWaddr 00:0C:29:4F:BF:59
  3.           inet addr:10.10.136.183 Bcast:10.10.136.255 Mask:255.255.255.0
  4.           inet6 addr: fe80::20c:29ff:fe4f:bf59/64 Scope:Link
  5.           UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  6.           RX packets:287498 errors:0 dropped:0 overruns:0 frame:0
  7.           TX packets:5827 errors:0 dropped:0 overruns:0 carrier:0
  8.           collisions:0 txqueuelen:1000
  9.           RX bytes:27930063 (26.6 MiB) TX bytes:1569444 (1.4 MiB)
  10.           Interrupt:67 Base address:0x2024

  11. lo Link encap:Local Loopback
  12.           inet addr:127.0.0.1 Mask:255.0.0.0
  13.           inet6 addr: ::1/128 Scope:Host
  14.           UP LOOPBACK RUNNING MTU:16436 Metric:1
  15.           RX packets:1404 errors:0 dropped:0 overruns:0 frame:0
  16.           TX packets:1404 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:0
  18.           RX bytes:2045421 (1.9 MiB) TX bytes:2045421 (1.9 MiB)

  19. sit0 Link encap:IPv6-in-IPv4
  20.           NOARP MTU:1480 Metric:1
  21.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  22.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  23.           collisions:0 txqueuelen:0
  24.           RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

阅读(2092) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~