一路由的基础知识:1)路由概念路由:跨越从源主机到目标主机的一个互联网络来转发数据包的过程路由器:能够将数据包转发到正确的目的地,并在转发过程中选择最佳路径的设备路由表:在路由器中维护的路由条目,路由器根据路由表做路径选择直连路由:当在路由器上配置了接口的IP地址,并且接口状态为up的时候,路由表中就出现直连路由项静态路由:是由管理员手工配置的,是单向的。默认路由:当路由器在路由表中找不到目标网络
分类:
系统相关 时间:
2018-03-10 22:11:29
阅读次数:
558
系统扩展方式: scale up,向上扩展:提高主机性能等,质变; scale out,向外扩展:水平扩展,质不变量变; 集群类型: LB:Load Balancing 负载均衡集群; HA:High Availabilty高可用集群; HP:High Performancing高性能集群; LB集 ...
分类:
其他好文 时间:
2018-03-10 20:33:14
阅读次数:
198
poj 2236 Description An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap c ...
分类:
其他好文 时间:
2018-03-10 14:02:32
阅读次数:
187
Follow up for "Find Minimum in Rotated Sorted Array":What if duplicates are allowed? Would this affect the run-time complexity? How and why? Suppose a ...
分类:
编程语言 时间:
2018-03-10 12:05:28
阅读次数:
229
ifdown interface 关闭指定网卡的IP地址ifup interface 开启指定网卡的IP地址ifconfig interface up 激活指定网卡ifconfig interface down 禁用指定网卡 netstat -t 显示tcp -u 显示udp -w 显示s
分类:
其他好文 时间:
2018-03-10 12:03:56
阅读次数:
157
题目描述:牛喝水 The cows have a line of 20 water bowls from which they drink. The bowls can be either right-side-up (properly oriented to serve refreshing co ...
分类:
其他好文 时间:
2018-03-10 11:55:42
阅读次数:
186
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space ...
分类:
其他好文 时间:
2018-03-09 19:03:25
阅读次数:
171
启动两个client,过了一会,停了其中一个,访问注册中心时,界面上显示了红色粗体警告信息: 查阅了很多资料,终于了解了中间的问题。现将理解整理如下: Eureka server和client之间每隔30秒会进行一次心跳通信,告诉server,client还活着。由此引出两个名词: Renews t ...
分类:
其他好文 时间:
2018-03-09 14:36:41
阅读次数:
247
今天简单的敲几个命令 1.网络接口参数 -- ifconfig 这个命令可以设置网卡接口ip地址,子网掩码等、 ifconfig xx(网卡名) down 关闭网卡接口 ifconfig xx(网卡名) up 开启网卡接口 2.查看主机参数 -- hostnamectl 显示或设置主机名称 host ...
分类:
系统相关 时间:
2018-03-09 14:11:14
阅读次数:
432
grabs up to date useragent from "useragentstring.com" randomize with real world statistic via w3schools.com https://fake useragent.herokuapp.com/brows ...
分类:
其他好文 时间:
2018-03-08 02:33:00
阅读次数:
1400