R1(config)#interfacetunnel1R1(config-if)#ipaddress1.1.1.1255.255.255.0R1(config-if)#tunnelsource12.1.1.1R1(config-if)#tunneldestination23.1.1.3R1(config-if)#exitR3(config)#inttunnel3R3(config-if)#ipaddress1.1.1.3255.255.255.0R3(config-if)#tunnelsource23.1.1..
分类:
其他好文 时间:
2015-11-18 19:52:03
阅读次数:
265
R1(config)#intf0/0R1(config-if)#ipadd12.1.1.1255.255.255.0R1(config-if)#noshR1(config-if)#exitR1(config)#intf0/1R1(config-if)#ipadd10.1.1.1255.255.255.0R1(config-if)#noshR1(config-if)#exitR1(config)#iproute0.0.0.00.0.0.012.1.1.2R3(config)#intf0/0R3(config-i..
分类:
其他好文 时间:
2015-11-18 19:52:02
阅读次数:
329
1. 服务端: 只需要建立一个能ssh连接的账号即可2. 客户端: 使用putty,连接时打开tunnel,并设置端口号,然后chrome or Firefox里设置这个端口号连接即可
分类:
系统相关 时间:
2015-11-01 01:39:10
阅读次数:
231
还不错的一道线段树区间合并。挺巧妙的用法。 1 /* 1540 */ 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #includ...
分类:
其他好文 时间:
2015-11-01 00:27:09
阅读次数:
298
1,GRE,即通用路由封装协议,GRE隧道是一种IP-over-IP的隧道,建立虚拟的点对点的连接,对通过隧道的某些网路层协议的数据报进行封装,使这些被封装的数据报能够在IPv4/IPv6 网络中传输,在Tunnel 的两端分别对数...
分类:
其他好文 时间:
2015-10-28 19:41:38
阅读次数:
220
#!/bin/bashcmd="ls -lt | grep ^d | awk 'NR==1 {print $9}'"$cmd这是一个获取文件夹名字的脚本,但是却提示:ls: cannot access |: no such file or directoryls: cannot access gre...
分类:
系统相关 时间:
2015-10-19 17:03:35
阅读次数:
188
The mobile application store has a new game called "Subway Roller".The protagonist of the game Philip is located in one end of the tunnel and wants .....
分类:
其他好文 时间:
2015-10-13 01:33:37
阅读次数:
238