Linux运维课程第一阶段重难点摘要(六)CISCO一、STP(SpanningTreeProtocol)生成树协议1、广播风暴:当交换机在物理上存在环路,就会不可避免地产生广播风暴,当某台主机向不存在的主机发送信息时,就会产生广播风暴。这在LAN(LocalAreaNetwork)会造成灾难性后果,导致LAN所..
分类:
系统相关 时间:
2015-04-26 01:42:43
阅读次数:
385
1
请参见图示。FTP 服务器拥有一个 RFC 1918 私有地址。Internet 上的用户需要连接到 R1 Fa0/0 端口所连 LAN 中的 FTP 服务器。 必须在 R1 上完成哪三项配置?(选择三项。)
动态 NAT
NAT 过载
开放端口 20
开放端口 21...
分类:
其他好文 时间:
2015-04-26 00:05:00
阅读次数:
214
Write an algorithm to determine if a number is “happy”.
A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the square...
分类:
移动开发 时间:
2015-04-25 00:21:22
阅读次数:
153
实验环境:gns3-0.8.7、asa802-k8、hub、cloud、win7x86实验目地:实现内网的远程telnet登录管理。实验要求:asa为透明模式、asa-e0/1为内网接口、管理IP:172.16.0.250、telnet密码:telnetpword实验内容:asaasa>enablepassword:asa#conftasa(config)#firtraasa(config)#i..
分类:
Web程序 时间:
2015-04-24 16:49:25
阅读次数:
174
点击虚拟交换机管理创建虚拟交换机选择内部网络,勾选LAN标记,确定此时网络连接会出现虚拟适配器修改IP选择之前创建的虚拟交换机,勾选LAN标识在虚拟机中修改IP此时物理机和虚拟机之间即可ping通。如只能单向ping通,关闭windows防火墙即可解决。
分类:
其他好文 时间:
2015-04-24 12:24:36
阅读次数:
170
在Github上开了一个关于leetcode的repository.
如果你也有兴趣可以把你的解法通过github上传,一起印证和学习.
https://github.com/LiLane/leetcode
例子1:
class Solution {
public:
/* Result: 26ms
时间复杂度:O(n)
空间复杂度:O(n)
Author: Lan...
分类:
其他好文 时间:
2015-04-23 23:34:28
阅读次数:
183
Description
Sudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the Figure. In some of the cells are written decimal digits from 1...
分类:
其他好文 时间:
2015-04-23 13:17:16
阅读次数:
144
系统 : centos 6.x 网卡信息: eth0 为可以上网的网卡 理解为wan口 ? 可以访问互联网 ? ? ? ? ? ? ? ?eth1 为提供上网的网卡 理解为lan口 ?IP 10.1.1.1/24 无网关 需求: 客户端使用通过10.1.1.1/24 网段...
分类:
其他好文 时间:
2015-04-23 11:16:14
阅读次数:
135
路由器刷完openwrt之后,连接到电脑,无线有线皆可。用网线连接路由LAN口与电脑、电脑打开cmd、输入telnet 192.168.1.1回车如果提示telnet不是可执行的命令、需要在控制面板-程序-程序和功能-打开或关闭Windows功能、把telnet服务端和telnet客户端勾选、确定、...
分类:
其他好文 时间:
2015-04-23 09:28:17
阅读次数:
706
额,简单的BFS,一开始DFS结果栈炸了,加栈也不行 QAQ
#include
#include
#include
#include
using namespace std;
const int maxn = 100;
const int dir[6][3] ={{0,0,1},{0,0,-1},{0,1,0},{0,-1,0},{1,0,0},{-1,0,0}};
#define FOR(i,...
分类:
其他好文 时间:
2015-04-22 22:19:07
阅读次数:
141