当架设完一台Radius认证服务器后,如果没有用于Radius认证的设备来做测试,就不知道Radius是否架设成功。这时可以使用NTRadPing来测试架设的Radius是否可用。
Archive for the '随写' Category
Page 3 of 16
默认安装完ESX4.1后再新建WINDOWS虚拟主机,如WIN2003,此时使用控制台去操作虚拟主机,鼠标会非常“钝”,这是因为虚拟机没有鼠标驱动,通过安装vmware tool后就可以解决此问题。
最近碰到的问题是安装完vmware tool后鼠标还是很“钝”,原以为是安装有问题,重装vmware tool后还是问题依旧。最后在vmware讨论区中找到原来是“硬件加速”问题。正确的安装顺序为:
1、完成“硬件加速”的设置
在虚拟主机桌面右键“属性”->“设置”->“高级”->“疑难解答”,将“硬件加速”滑块拖至最右边,如下图。

2、安装vmware tool
完成vmware tool的安装工作,完成后重启虚拟机,再次进入虚拟机,待驱动加载完成后,鼠标的操作就会和“真机”一个感觉了。
一台港湾NetHammer M582路由器,原客户端为静态IP方式上网,简要配置如下:
access-list 1 permit any
!
interface eth0/0
description to-lan
ip address 172.16.101.1/24
ip nat inside
!
interface eth0/1
description to-internet
ip address 218.90.xxx.xxx/28
ip nat outside
!
ip route 0.0.0.0/0 218.90.xxx.xxx
!
ip nat on
ip nat flush disable
ip nat inside source list 1 interface eth0/1
!
现在需在内网中增加一新网段172.172.1.0/24,网关为172.172.1.254,客户端可以通过DHCP方式获取地址来上网,同时不影响原静态IP上网的用户,操作如下:
NetHammer582> en
password:
NetHammer582# conf t
NetHammer582(config)# service ip dhcp
NetHammer582(config)# inter eth0/0
NetHammer582(config-if-eth0/0)# ip address 172.172.1.254/24 secondary
NetHammer582(config-if-eth0/0)# quit
NetHammer582(config)# dhcp subnet 172.172.1.0 mask 255.255.255.0
NetHammer582(config-dhcp-subnet)# range 172.172.1.1 172.172.1.150
NetHammer582(config-dhcp-subnet)# option routers 172.172.1.254
NetHammer582(config-dhcp-subnet)# option domain-name-servers 221.228.255.1
NetHammer582(config-dhcp-subnet)# quit
NetHammer582(config)# quit
NetHammer582# wr
Generate running-config…
write running-config to flash…
Write flash success!
摘要配置如下(红色为增加部分):
access-list 1 permit any
!
service ip dhcp
!
interface eth0/0
description to-lan
ip address 172.16.101.1/24
ip address 172.172.1.254/24 secondary
ip nat inside
!
interface eth0/1
description to-internet
ip address 218.90.xxx.xxx/28
ip nat outside
!
ip route 0.0.0.0/0 218.90.xxx.xxx
!
ip nat on
ip nat flush disable
ip nat inside source list 1 interface eth0/1
!
dhcp subnet 172.172.1.0 mask 255.255.255.0
range 172.172.1.1 172.172.1.150
option routers 172.172.1.254
option domain-name-servers 221.228.255.1
!
第一次听到他们的歌是在网易首页的“精彩视频”上。翻唱的汪峰的《春天里》。
旭日阳刚是一个由流浪歌手组成的音乐组合,吉他手刘刚,主唱王旭。因为唱响“农民工”版《春天里》,受到不少网友和音乐人的追捧,从而摇身变为了网络红人。他们以其质朴无华的演唱风格红遍了各大视频网站以及各个网站的微博里,目前在人人网、优酷、各大网站论坛上疯传其视频作品。
《春天里》
《北京北京》
一直使用tracert或tracroute来查看路由,今天发现一个软件,可以用来查看路由跟踪信息,且具体PING功能。能够长时间的查看各节点的网络性能情况。软件名为ping plotter。可以直接搜索下载。本地下载。
MUSIC:
怒放的生命-汪峰
音频片段:需要 Adobe Flash Player(9 或以上版本)播放音频片段。 点击这里下载最新版本。您需要开启浏览器的 JavaScript 支持。
没那么简单-黄小琥
音频片段:需要 Adobe Flash Player(9 或以上版本)播放音频片段。 点击这里下载最新版本。您需要开启浏览器的 JavaScript 支持。
1、启动VNC SERVER
输入vncserver,第一次启动会要求输入验证密码,完成后,VNC SERVER就启动了
[root@localhost ~]# vncserver
You will require a password to access your desktops.
Password: //输入密码
Verify: //再次输入密码
xauth: creating new authority file /root/.XauthorityNew ‘localhost.localdomain:1 (root)’ desktop is localhost.localdomain:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log[root@localhost ~]#
2、编辑.vnc/xstartup
使用VI打开xstartup文件,如下:
[root@localhost /]# cd /root/.vnc
[root@localhost .vnc]# vi xstartup
删除全部内容,然后添加如下内容:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
3、重启动VNC SERVER
[root@localhost ~]# vncserver -kill :1
Killing Xvnc process ID 21198[root@localhost ~]# vncserver
New ‘localhost.localdomain:1 (root)’ desktop is localhost.localdomain:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log[root@localhost ~]#
4、查看VNC的监听端口
如下,VNC用到了三个端口:5801、5901、6001。
[root@localhost /]# netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:724 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN
tcp 0 0 172.200.102.3:5901 181.181.181.51:1669 ESTABLISHED
tcp 0 0 :::6001 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 1364 ::ffff:172.200.102.3:22 ::ffff:181.181.181.51:1599 ESTABLISHED
[root@localhost /]#
5、在防火墙上打开VNC用到的上面三个端口
[root@localhost /]# cd /etc/sysconfig
[root@localhost sysconfig]# vi iptables
添加如下三行:
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 5801 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 5901 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 6001 -j ACCEPT
重记动IPTABLES
[root@localhost sysconfig]# /etc/rc.d/init.d/iptables restart
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: [ OK ]
Loading additional iptables modules: ip_conntrack_netbios_ns ip_conntrack_ftp [ OK ]
[root@localhost sysconfig]#
6、使用VNC VIEW连接VNC SERVER
下载VNC VIEW,运行,然后输入IP:端口号,输入刚才设定的密码,进入REDHAT桌面。



路由器不断显示如下信息:
00:33:10: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done
00:33:11: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done
00:33:11: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done
00:33:12: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done
00:33:12: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done
00:33:12: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done
查看邻居状态:
cisco-master#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.88.90.254 1 FULL/DR 00:00:30 10.88.90.254 FastEthernet0/0
10.88.90.112 1 Exstart/DROTHER 00:00:30 10.88.90.112 FastEthernet0/0
26.10.10.254 1 FULL/DR 00:00:30 172.0.0.1 FastEthernet0/1
69.10.10.254 1 FULL/DR 00:00:30 172.1.0.1 FastEthernet1/0
88.10.10.254 1 FULL/DR 00:00:33 172.2.0.1 FastEthernet1/1cisco-master#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.88.90.254 1 FULL/DR 00:00:30 10.88.90.254 FastEthernet0/0
10.88.90.112 1 Exchange/DROTHER 00:00:30 10.88.90.112 FastEthernet0/0
26.10.10.254 1 FULL/DR 00:00:30 172.0.0.1 FastEthernet0/1
69.10.10.254 1 FULL/DR 00:00:30 172.1.0.1 FastEthernet1/0
88.10.10.254 1 FULL/DR 00:00:33 172.2.0.1 FastEthernet1/1
邻居状态在Exstart与Exchange中来回切换。
参考此文解决:
由于两路由器间的MTU不匹配引起的,调整相应接品的MTU或者设置为忽略检测MTU,该设置不支持交换口。
在接口上启用如下命令来忽略MTU的检测:
cisco-master#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
cisco-master(config)#interface fastEthernet 0/0
cisco-master(config-if)#ip ospf mtu-ignore














