博客速度越来越慢了,琢磨着是不是该换主机了。
操作系统 Windows XP 2003 vista 2008
一、getmac 显示网卡的MAC地址和传输名称
参数-v显示所有
用法:
C:\>getmac -v
连接名 网卡 物理地址 传输名称
=============== =============== =================== ============================
==============================
本地连接 Realtek RTL8139 00-0A-EB-28-6B-FD N/A
本地连接 2 Realtek RTL8139 00-E0-4C-3A-0C-3E 媒体被断开
本地连接 3 VIA PCI 10/100M 00-16-EC-59-A7-88 \Device\Tcpip_{B2908B24-844C
-4848-AC69-2E96D3775BDD}
本地连接 4 TAP-Win32 Adapt 00-FF-86-27-C7-1D 媒体被断开
C:\>
传输名称在dynamips中常用来桥接物理网卡
用法:
C:\>netsh
netsh>int
netsh interface>ip
netsh interface ip>show address
接口 “本地连接 3″ 的配置
DHCP 启用 否
IP 地址 10.1.10.157
子网掩码 255.255.255.0
默认网关: 10.1.10.254
GatewayMetric: 0
InterfaceMetric 0
netsh interface ip>set address “本地连接 4″ static 192.168.1.9 255.255.255.0 192.168.1.1 1
确定。
netsh interface ip>add dns “本地连接 4″ 10.0.0.1
确定。
netsh interface ip>add dns “本地连接 4″ 10.0.0.2 index=2
确定。
- « 上一篇:又一款免费VPN软件ifreevpn
- 两款wordpress新年主题:下一篇 »