目的: 跨越公网和私网实现全网互通。 部署拓扑图: 配置文件: LSW1#sysname lsw1#vlan batch 11 to 12 1001#interface Vlanif11 ip address 10.1.11.1 255.255.255.0#interface Vlanif12 ip ...
分类:
其他好文 时间:
2020-10-18 16:47:25
阅读次数:
32
目的: 实现全网互通,并按要求的路线进行数据传输。 部署拓扑图: 配置文件: R1:#sysname r1#interface GigabitEthernet0/0/0 ip address 12.1.1.1 255.255.255.0interface LoopBack0 ip address 1 ...
分类:
其他好文 时间:
2020-10-18 16:46:10
阅读次数:
23
部署拓扑图: 1、对Cloud进行如下设置,选择VMnet1网卡 2、二层交换机的命令: # vlan batch 10 20 30 100 # interface Ethernet0/0/1 port link-type access port default vlan 100 # interfa ...
分类:
其他好文 时间:
2020-10-18 16:45:34
阅读次数:
22
netstat -tulnp 简介 Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。 输出信息含义 执行netstat后,其输出结果为 ...
分类:
其他好文 时间:
2020-10-18 16:26:39
阅读次数:
22
2020 IT邦幫忙鐵人賽 Kubernetes 原理分析系列文章 kubernetes 探討 Container & Open Container Initiative Container Runtime Interface Container Network Interface Containe ...
分类:
其他好文 时间:
2020-10-18 09:39:20
阅读次数:
21
今天有个参数看到挺好用的,记录一下,后期有其他看到往这里添加好了,可能性不大,哈哈 #这个是设置连接会话的过期时间,会影响cleansession为false相关应用,但对于大部分为true的应用来说改小性能提升比较多,能够#尽早释放会话资源,默认2h太长了,可以改成2mzone.external.... ...
分类:
其他好文 时间:
2020-10-18 09:22:47
阅读次数:
22
微服务的本质是一系列分布式REST API的集合,因此,各服务间最常用的通信协议为HTTP协议。诚然,通过传统的写URL进行调用的方式当然可以,但未免不够优雅。而通过使用Feign,可以做到像调用本地服务一样优雅地调用远程服务。 开发目标是在Zuul中实现一个基础的过滤器,对所有经过Zuul的请求进 ...
分类:
其他好文 时间:
2020-10-16 10:35:40
阅读次数:
22
操作系统:CentOSLinuxrelease7.8.2003(Core)gitlab版本:gitlab-ce-12.3.9-ce下载镜像清华大学开源软件镜像站https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/wgethttps://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab
分类:
其他好文 时间:
2020-10-12 20:50:37
阅读次数:
34
今天在测试Spring的AOP时,发现使用注解配置AOP的方式会导致通知的执行顺序紊乱。【最终通知居然在异常通知之前执行了】 测试代码 (1)定义TargetInterface目标接口 `public interface TargetInterface { public abstract void ...
分类:
编程语言 时间:
2020-10-12 20:03:14
阅读次数:
26
1.Spring 容器几个重要的接口 org.springframework.core.env.Environment Interface representing the environment in which the current application is running. 继承自org ...
分类:
编程语言 时间:
2020-10-09 20:48:51
阅读次数:
25