02 2020 档案

ip link add type vrf报错哦
摘要:CentOS使用yum的elrepo源升级内核 1、 导入public key 参考:http://elrepo.org/tiki/tiki-index.php Import the public key: rpm --import https://www.elrepo.org/RPM-GPG-KE 阅读全文

posted @ 2020-02-28 11:01 tycoon3 阅读(287) 评论(0) 推荐(0) 编辑

debug frrouting
摘要:debug bgp neighbor-eventsdebug bgp keepalivesdebug bgp zebradebug bgp update-groupsdebug bgp updates bgp log-neighbor-changes Troubleshooting To troub 阅读全文

posted @ 2020-02-25 16:02 tycoon3 阅读(569) 评论(0) 推荐(0) 编辑

VXLAN/EVPN on Linux + frrouting
摘要:节点1:-bgp配置 [root@localhost ~]# cat /etc/frr/bgpd.conf ! ! Zebra configuration saved from vty ! 2020/02/25 08:59:54 ! frr version 7.3-MyOwnFRRVersion f 阅读全文

posted @ 2020-02-25 13:20 tycoon3 阅读(1639) 评论(0) 推荐(0) 编辑

frr 无法建立邻居关系--179端口访问不通
摘要:发现bgp邻居一直处于active状态,没有建立邻居 但是179端口一直是开着的 但是telnet 总是不通 猜想是放火墙的问题 执行: systemctl stop firewalld.service vi /etc/selinux/config SELINUX=disabled setenfor 阅读全文

posted @ 2020-02-21 14:52 tycoon3 阅读(875) 评论(0) 推荐(0) 编辑

frr 配置
摘要:[root@host-10-10-18-195 ~]# chown frr:frr /var/log/frr/ [root@host-10-10-18-195 ~]# vtysh Hello, this is FRRouting (version 7.3-MyOwnFRRVersion). Copy 阅读全文

posted @ 2020-02-20 14:07 tycoon3 阅读(1375) 评论(0) 推荐(0) 编辑

quagga 删除 network
摘要:localhost.localdomain# show running-config Building configuration... Current configuration: ! frr version 7.3-MyOwnFRRVersion frr defaults traditional 阅读全文

posted @ 2020-02-20 12:54 tycoon3 阅读(467) 评论(0) 推荐(0) 编辑

端口重用导致 vxlan接口 up失败
摘要:用netstat看一下: 重新建一个vxlan 阅读全文

posted @ 2020-02-19 12:29 tycoon3 阅读(284) 评论(0) 推荐(0) 编辑

frr集中式vxlan网关
摘要:leaf1[root@kunpeng82 frr-stable-7.3]# vtysh Hello, this is FRRouting (version 7.3-MyOwnFRRVersion). Copyright 1996-2005 Kunihiro Ishiguro, et al. kunp 阅读全文

posted @ 2020-02-19 11:53 tycoon3 阅读(532) 评论(0) 推荐(0) 编辑

编译libyang遇到的问题
摘要:从其他机器把libyang拷贝过来 把build目录下的 CMakeCache.txt 删掉 阅读全文

posted @ 2020-02-19 11:03 tycoon3 阅读(984) 评论(0) 推荐(0) 编辑

安装qugga和frr引发的user group 冲突问题
摘要:机器装了quagga [root@kunpeng82 frr-stable-7.3]# tail -n 5 /etc/group devuser:x:1001: kylin:x:1002: unbound:x:994: quagga:x:92: quaggavt:x:85: [root@kunpen 阅读全文

posted @ 2020-02-19 10:57 tycoon3 阅读(312) 评论(0) 推荐(0) 编辑

FRRouting 配置bgp--l2vpn evpn
摘要:[root@host-10-10-18-195 frr-stable-7.3]# vtysh Hello, this is FRRouting (version 7.3-MyOwnFRRVersion). Copyright 1996-2005 Kunihiro Ishiguro, et al. h 阅读全文

posted @ 2020-02-18 21:29 tycoon3 阅读(7) 评论(0) 推荐(0) 编辑

安装FRRouting
摘要:http://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-centos7.html CentOs7 :git clone https://github.com/frrouting/frr.git frr 或者git 阅读全文

posted @ 2020-02-18 20:29 tycoon3 阅读(1688) 评论(0) 推荐(0) 编辑

qugga配置bgp
摘要:[root@localhost ~]# systemctl start zebra [root@localhost ~]# vtysh Hello, this is Quagga (version 0.99.22.4). Copyright 1996-2005 Kunihiro Ishiguro, 阅读全文

posted @ 2020-02-17 17:21 tycoon3 阅读(1163) 评论(0) 推荐(0) 编辑

ovs 添加物理端口
摘要:Bridge ovs-switch Port ovs-switch Interface ovs-switch type: internal Port "enahisic2i1" Interface "enahisic2i1" 注意:进行OVS设置时很容易造成虚拟交换机与物理交换机构成二层环路(比如虚 阅读全文

posted @ 2020-02-16 16:32 tycoon3 阅读(2517) 评论(0) 推荐(0) 编辑

vxlan层次化绑定
摘要:http://specs.openstack.org/openstack/neutron-specs/specs/kilo/ml2-hierarchical-port-binding.html 步骤如下: 用户用Nova boot创建一个虚拟机, vm 的网络设定为VXLAN A; Neutron创 阅读全文

posted @ 2020-02-16 13:13 tycoon3 阅读(1286) 评论(0) 推荐(0) 编辑

vpn&bgp&ofpf
摘要:BGP传递私网路由 一个是自治系统内部路由-ospf一个是自治系统间路由-bgp 转载于:https://www.cnblogs.com/zhouhaibing/p/7740533.html MPLS 的格式如图所示,在原始的 IP 头之外,多了 MPLS 的头,里面可以打标签。 在二层头里面,有类 阅读全文

posted @ 2020-02-16 10:43 tycoon3 阅读(5) 评论(0) 推荐(0) 编辑

EVPN&OpenFlow方案--VXLAN的控制平面
摘要:OpenFlow方案 OpenFlow方案主要由OpenFlow交换机、SDN Controller二部分组成。OpenFlow交换机进行数据层的转发;Controller对网络进行集中控制,实现控制层的功能。 OpenFlow网络中转发层面的核心是由各种支持OpenFlow的软件和硬件的交换机组成 阅读全文

posted @ 2020-02-15 20:49 tycoon3 阅读(2168) 评论(0) 推荐(0) 编辑

ovs flow操作
摘要:[root@kunpeng82 ovs]# ovs-ofctl dump-flows s1 cookie=0x0, duration=432.489s, table=0, n_packets=1, n_bytes=70, in_port="s1_p1" actions=output:"s1_p1" 阅读全文

posted @ 2020-02-14 17:44 tycoon3 阅读(392) 评论(0) 推荐(0) 编辑

ovs internal & patch port连接两个ovs bridge
摘要:[root@kunpeng82 devuser]# ovs-vsctl add-br s1 [root@kunpeng82 devuser]# ovs-vsctl add-br s2 patch port 说明请看https://arthurchiao.github.io/blog/ovs-deep 阅读全文

posted @ 2020-02-14 17:39 tycoon3 阅读(2309) 评论(0) 推荐(0) 编辑

ovs+linux bridge
摘要:1、 创建ovs br-int br-tun ovs-vsctl add-br br-tun ovs-vsctl add-br br-int [root@kunpeng82 ovs]# ovs-vsctl list-ports br-int patch-int [root@kunpeng82 ovs 阅读全文

posted @ 2020-02-14 12:32 tycoon3 阅读(821) 评论(0) 推荐(0) 编辑

ovs 实战
摘要:[root@kunpeng82 ovs]# ovs-vsctl add-br ovs-switch [root@kunpeng82 ovs]# ovs-vsctl add-port ovs-switch p0 -- set Interface p0 ofport_request=100 ovs-vs 阅读全文

posted @ 2020-02-12 16:53 tycoon3 阅读(797) 评论(0) 推荐(0) 编辑

鲲鹏920上安装ovs
摘要:配置yum源 curl -O http://mirrors.aliyun.com/repo/Centos-7.repo 1、 安装依赖包 yum install -y python-six selinux-policy-devel gcc make python-devel openssl-deve 阅读全文

posted @ 2020-02-12 16:11 tycoon3 阅读(791) 评论(0) 推荐(0) 编辑

基于AC控制器+VXLAN解决方案
摘要:http://support.huawei.com/enterprise/zh/doc/DOC1100004219?section=k004 https://support.huawei.com/enterprise/zh/doc/EDOC1000074415?section=k005 .2 VXL 阅读全文

posted @ 2020-02-12 12:30 tycoon3 阅读(805) 评论(0) 推荐(0) 编辑

二层MAC学习及BUM报文转发
摘要:https://support.huawei.com/enterprise/zh/doc/EDOC1100023543?section=j018 在VXLAN网络中,同子网虚拟机的互通是通过查找MAC表进行转发。如下图所示,VM1给VM2发送报文时,经过VTEP1转发,VTEP1上需要学习到VM2的 阅读全文

posted @ 2020-02-12 11:52 tycoon3 阅读(2674) 评论(0) 推荐(1) 编辑

基于mac表的vxlan转发
摘要:基于基于mac表的vxlan转发依赖于两个表: 1、 VLAN和VXLAN的映射关系表 2、MAC地址表,里面包含了MAC 地址,VXLAN ID和远端VTEP IP地址的对应关系。 VTEP收到uplink主机的网络数据帧时,会先根据VLAN,查第一个表获得对应的VXLAN ID,然后根据VXLA 阅读全文

posted @ 2020-02-12 11:28 tycoon3 阅读(913) 评论(0) 推荐(0) 编辑

Agile Controller vxlan
摘要:http://support.huawei.com/enterprise/zh/doc/DOC1100004219?section=k004 1.2 VXLAN部署方案 目前,设备支持通过单机方式和控制器方式来部署VXLAN网络。 单机方式:传统网络部署方式,按照网络规划登录到每台设备上进行配置。云 阅读全文

posted @ 2020-02-11 16:58 tycoon3 阅读(542) 评论(0) 推荐(0) 编辑

设置鲲鹏916/920通过pxe安装os
摘要:1、将pxe 启动的网卡设置为enable状态 2、 设置启动顺序,pxe first 3、 在bmc管理平台开启ipmi lan服务 进入grub模式调试pxe安装os 阅读全文

posted @ 2020-02-10 20:13 tycoon3 阅读(927) 评论(0) 推荐(0) 编辑

ovs-vxlan&vlan
摘要:在 Open vSwitch 环境中,一个数据包从 instance 发送到物理网卡大致会经过下面几个类型的设备: tap interface 命名为 tapXXXX。 linux bridge 命名为 qbrXXXX。 veth pair 命名为 qvbXXXX, qvoXXXX。 OVS int 阅读全文

posted @ 2020-02-10 18:40 tycoon3 阅读(699) 评论(0) 推荐(0) 编辑

Openvswitch-ovs
摘要:与Linux-bridge不同,使用Openvswitch作为网络驱动之后创建vxlan网络会在controller生成三个网桥,分别是: br-int 连接 Dnsmasq,流表逻辑处理 br-ex 连接网卡,出外网网桥 br-tun 隧道端点 在compute节点生成两种网桥,分别是: br-i 阅读全文

posted @ 2020-02-10 10:16 tycoon3 阅读(535) 评论(0) 推荐(0) 编辑

双网卡+策略路由实现nat
摘要:想在鲲鹏920 + centos7虚拟机上实现 nat 添加如下规则之后: 按道理来说,应该在内网网卡eth0用tcpdump能抓到dst host=10.10.16.81的数据包,实际上抓不到,tcpdump -nnnv host 10.10.16.81 -i eth0 然而,外网网卡eth1上能 阅读全文

posted @ 2020-02-09 18:09 tycoon3 阅读(1010) 评论(0) 推荐(0) 编辑

dropwatch 网络协议栈丢包检查
摘要:dropwatch使用前提: 1、首先内核必须大于等于2.6.30; 2、编译内核时应该加上“NET_DROP_MONITOR=y”; 阅读全文

posted @ 2020-02-09 15:33 tycoon3 阅读(738) 评论(0) 推荐(0) 编辑

dnat & snat
摘要:67 static struct nf_hook_ops nf_nat_ipv4_ops[] __read_mostly = { 68 /* Before packet filtering, change destination */ 69 { 70 .hook = iptable_nat_ipv4 阅读全文

posted @ 2020-02-08 18:59 tycoon3 阅读(143) 评论(0) 推荐(0) 编辑

鲲鹏920 上实现lvs fullnat--安装ipvsadm
摘要:kylin os : 一开始lsmod | grep ip_vs,发现什么都没有 执行modprobe ip_vs 移除:modprobe -r ip_vs centos7 安装 ipvsadm yum -y install kernel-devel 2、 建立软连接 3、 yum -y insta 阅读全文

posted @ 2020-02-08 14:39 tycoon3 阅读(413) 评论(0) 推荐(0) 编辑

neutron--虚拟机双网卡--内外网访问问题
摘要:创建一台虚拟机满足以上两个要求 1、 虚拟机可以连接办公网192.xx.xx.XX 和10.xx.xx.XX2、 可以通过外网访问虚拟机 方法:给虚拟机创建两个网卡 网卡1: 位于虚拟机办公网,此网络和办公网打通 虚拟机办公网 10.xx.xx.XX/24 网卡2:位于互联网网络,此网络和inter 阅读全文

posted @ 2020-02-06 17:05 tycoon3 阅读(376) 评论(0) 推荐(0) 编辑

kylin os操作系统镜像适配ironic 裸金属 管理
摘要:1、一开始以为kylin os走的是标准uefi,所以在在esp分区下安装了标准grubaa64.efi,系统启动时直接报错: 2、找kylin os确认后原来目前在ft2000上采用的是定制的昆仑和百熬固件 3、 将grub_ba.efi重命名为bootaa64.efi,并且安装在esp分区下,但 阅读全文

posted @ 2020-02-06 11:25 tycoon3 阅读(846) 评论(1) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示