摘要:show bgp ipv4 vpn show bgp ipv4 vpn root@mpls3:~# ip vrf list Name Table customer2 200 customer1 100 root@mpls3:~# ip route show table 100 unreachable
阅读全文
摘要:mpls3和4.4.4.3的ospf route mpls2 ping mpls3 ethertype MPLS unicast (0x8847), Ethernet II即DIX 2.0:Xerox与DEC、Intel在1982年制定的以太网标准帧格式。Cisco名称为:ARPA Ethernet
阅读全文
摘要:- /etc/quagga/ldpd.confdebug mpls ldp messages recvdebug mpls ldp messages sentdebug mpls ldp zebralog file /var/log/quagga/ldpd.log!mpls ldp router-i
阅读全文
摘要:https://blog.51cto.com/sweetpotato/1410762 1、配置步骤 1、配置loopback接口地址: //用于产生路由器的Router ID Router(config)#interface loopback 0 Router(config-if)#ip addre
阅读全文
摘要:在 UTC 时间今天( 2019年6月24号)10 点 30 分,互联网遭受了一场不小的冲击。通过主要互联网转接服务提供供应商 Verizon (AS701) 转接的许多互联网路由,都被先导至宾夕法尼亚北部的一家小型公司。这相当于 滴滴错误地将整条高速公路导航至某小巷 – 导致大部分互联网用户无法访
阅读全文
摘要:原文地址 http://soft.dog/2015/11/06/check-BGP-IDC/ 前言 BGP(Border Gateway Protocol)是一种在自治系统之间动态交换路由信息的路由协议。 BGP数据中心,就是具备BGP线路的机房。 BGP双线优点: 安全:由于BGP协议本身具有冗余
阅读全文
摘要:有公网ip的机器上 root@PORT:~# traceroute -A www.dyxnet.com traceroute to www.dyxnet.com (202.134.64.17), 30 hops max, 60 byte packets 1 210.22.22.129 (210.22
阅读全文
摘要:mpls2# show mpls ldp neighbor AF ID State Remote Address Uptime mpls2# mpls ldp router-id 192.168.122.164 ! address-family ipv4 discovery transport-ad
阅读全文
摘要:root@mpls1:/home/devuser# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.122.1 0.0.0.0 UG 0 0
阅读全文
摘要:point-to-point mpls1# show ip ospf nei Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL 192.168.122.35 1 Full/Backup 34.190s 192.16
阅读全文
摘要:root@ubuntu:/var/log# cat /home/ubuntu/.ssh/authorized_keys root@ubuntu:/var/log# 空的哦 root@ubuntu:/etc/cloud/cloud.cfg.d# cat 90_dpkg.cfg # to update
阅读全文
摘要:BGP机房(代播) 目前市面上还有一种更廉价的BGP实现方式,如上图,企业采购中国电信单线机房并广播自身IP地址的同时,与另外一个第三方IDC服务商的伪BGP机房进行专线互联,同时将自己的IP地址在第三方IDC服务商AS域中进行广播(代播),这样就可以变相的在单线机房基础上实现了BGP效果,但同上一
阅读全文
摘要:192.168.122.164节点 2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:73:55:cd b
阅读全文
摘要:netns-testbed https://qiita.com/_norin_/items/f2c1b0158ee34abcdd0c Confederation 定义 考虑到在AS内部的防环机制,iBGP之间传递路由只能有一跳。 联邦,在一个AS之内,划分出多个子AS域,建立EBGP邻接关系,可以将
阅读全文
摘要:总所周知,Linux 服务器是可以作为一台路由器使用,不仅仅是可以转发单播数据包,同事也可以转发组播数据包.但是多数同学却不知道如何配置.本文将介绍将Linux配置成组播转发路由器的方法做一个分享. 目录 手工开启 1.开启转发开关 2.在需要开启组播转发的接口上打开组播转发开关. 3.手工配置静态
阅读全文
摘要:互联网拓扑结构研究对于互联网性能分析和优化,网络安全分析有着至关重要的作用, 因此吸引了大量研究人员和研究机构的关注。互联网拓扑数据获取是互联网拓扑结构研究的首要 条件,而互联网的多样性,大规模,分布式和异构性等特征使得互联网拓扑数据获取极具挑战性,所以研究互联网拓扑数据获取具有重要意义。鉴于此,首
阅读全文
摘要:https://www.ip-tracker.org/ [root@bogon ~]# whois 39.108.237.75 [Querying whois.apnic.net] [whois.apnic.net] % [whois.apnic.net] % Whois data copyrigh
阅读全文
摘要:配置OSPF的基本功能创建OSPF进程:一台路由器如果要运行OSPF协议,必须存在Router ID。路由器的Router ID是一个32比特无符号整数,是一台路由器在自治系统中的唯一标识。为保证OSPF运行的稳定性,在进行网络规划时应该确定Router ID的划分并手工配置。 ospf [ pro
阅读全文
摘要:root@focal2-2:~# netstat -gan IPv6/IPv4 Group Memberships Interface RefCnt Group lo 1 224.0.0.1 ens3 1 224.0.0.5 ens3 1 224.0.0.1 lo 1 ff02::1 lo 1 ff
阅读全文
摘要:<interface type='bridge'> <mac address='fa:16:3e:07:4f:e6'/> <source bridge='brq07e0cfa1-17'/> <target dev='tap36ab4e20-b9'/> <model type='virtio'/> <
阅读全文
摘要:root@focal2-2:~# ntpdate ntp1.aliyun.com 27 Jul 06:03:10 ntpdate[7293]: adjust time server 120.25.115.20 offset 0.000071 sec root@focal2-2:~# date Mon
阅读全文
摘要:内容分发网络即CDN网络,是在用户和服务器之间增加边缘Cache服务层,主要是通过接管DNS,在localDns上增加一次域名解析实现,将用户的请求引导到临近且可用的边缘Cache服务器上,获得从源服务器上缓存下来的数据。这里先特别注意到几个点:“引导”、“临近”、“可用”、“从源服务器上缓存”。C
阅读全文
摘要:。MPLS TE 利用对现有协议(中间系统到中间系统 (IS-IS)、资源预留协议 (RSVP)、OSPF)的扩展计算并建立根据网络约束设置的单向隧道。通信流在不同的隧道被映射根据他们的目的地。 (OSPF Traffic Engineering,即OSPF流量工程)是为了支持MPLS流量工程(MP
阅读全文
摘要:我们用一张图来引入QoS,这张图显示出QoS的大致框架及逻辑。 QoS目前常用于差分服务模型中,那么QoS到底有几个模型呢? ① 尽力而为模型——简单粗暴,不区别对待,谁先来就帮谁转发。 ② 综合服务模型——利用RSVP协议(资源预留协议)预留出例如一个10M的带宽给客户的特殊流量单独使用。优点是特
阅读全文
摘要:MPLS VPN场景下LDP和MP-BGP分发标签的区别 解决方案 LDP动态为IPv4前缀即FEC生成本地in标签,组成由(FEC+标签)的binding向周围flooding,默认只为32位主机路由分发,也可以修改;MP-BGP可以为vpnv4前缀(RD+ipv4)分发标签;两者都是共用一套标签
阅读全文
摘要:解释下所操作的服务: networkd-dispatcher 是 Netplan 后端服务(桌面版则是 NetworkManager); networkd-dispatcher 是 Netplan 守护服务,可通过监听连接状态以执行特定事件操作; systemd-networkd-wait-onli
阅读全文
摘要:10.10.18.148节点 focal# show run Building configuration... Current configuration: ! frr version 7.2.1 frr defaults traditional hostname focal log syslog
阅读全文
摘要:root@focal:/boot# modprobe vrf modprobe: FATAL: Module vrf not found in directory /lib/modules/5.4.0-42-generic root@focal:/boot# grep VRF /boot/confi
阅读全文
摘要:传统基于RSVP的流量工程通过IGP协议的扩展,可以根据考虑链路负载的TED和LSDB进行CSPF计算选路,但由于协议复杂、部署繁琐,设备之间要维护协议状态导致实际应用中受到了很大限制。 SDN可以实现用户对网络开放能力、可编程能力、集中控制能力、可视化能力的诉求,成为下一代网络的最佳选择,本文针对
阅读全文
摘要:什么是 Segment Routing? Segment Routing (分段路由,简称 SR)是基于源路由理念设计。节点(路由器 / 主机)选择路径,并引导数据包沿着该路径转发。 Segment Routing 在数据包头报文中插入带顺序的 Segment 列表,以指示接收到的这些数据包的节点怎
阅读全文
摘要:起初,互联网的设计意旨是以最低成本路径提供尽可能优质的连接。当时,连接到互联网的站点相对较少,而在这些站点中,只有满足可接受使用策略的应用才能进行连接。 如今,连接到互联网的企业、家庭和设备数量已有数十亿之多。关键应用场景包括远程医疗、交通管控和金融交易。某些应用(例如电子邮件)可以容忍丢失、延迟和
阅读全文
摘要:参考http://www.just4coding.com/2020/04/20/vxlan-fdb/ 基于BGP EVPN的VXLAN通信实践 http://www.just4coding.com/2020/04/26/vxlan-evpn/ 下面我们通过实例来手动更新FDB表来实现VXLAN通信。
阅读全文
摘要:neutron agent-list | grep dhcp-agent | 60c33247-ffcd-4a0a-bb2f-75535ff56f75 | DHCP agent | controller3 | nova | :-) | True | neutron-dhcp-agent | | 84
阅读全文
摘要:RSVP-TE技术 为了解决LDP不支持流量工程的问题,MPLS中引入了RSVP-TE控制面。 传统路由是依据目的IP进行查找转发,且只关心下一跳怎么走,而并不关心流量的完整路径。而RSVP-TE引入了源路由的概念:当流量进入RSVP网络后,在源节点就会计算出完整的每一跳路径(显式路径)。 如同导航
阅读全文
摘要:原来是A机房的交换机没有创建vlan4000 服务器: root@ubuntu:/home/ubuntu# ip link add link enahisic2i3 name enah2i3.4000 type vlan id 4000 root@ubuntu:/home/ubuntu# ip a
阅读全文
摘要:ubuntu镜像 https://mirror.tuna.tsinghua.edu.cn/ubuntu-cloud-images/focal/current/ はじめに ほぼ同じことやってる方がおりました。くやしい。https://blog.swineson.me/en/use-linux-as-a
阅读全文
摘要:https://qiita.com/watal/items/754f120f6066c2bb0064 2019年4月23日追記)Reverse Path Filteringの設定を追加 目的 FRRoutingに実装されているOSPFのSR拡張と,Linux Kernel 4.3.0より実装されてい
阅读全文
摘要:https://liuhangbin.netlify.app/post/mpls-on-linux/ [root@mpls ~]# ip -M route 16 dev customer1 proto bgp 17 dev customer2 proto bgp [root@mpls ~]# mpl
阅读全文
摘要:ip netns add host1 ip netns add host2 ip link add veth0 type veth peer netns host1 name veth1 ip link add veth2 type veth peer netns host2 name veth3
阅读全文
摘要:交换机配置 172.10.103.2 可以ping通172.10.103.82 172.10.104.81 不可以ping通172.10.104.82 原因是 交换机没有放通vlan1,执行 port trunk allow-pass vlan all
阅读全文
摘要:subnet root@ :~# ip netns exec qdhcp-94ec94a9-88d3-4974-a1f5-8e86efa66a63 ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN gro
阅读全文
摘要:next_segments_to_bind 301 def continue_binding(self, segment_id, next_segments_to_bind): 302 # TODO(rkukura) Verify binding allowed, segment in networ
阅读全文
摘要:Warning: connecting to nhrpd...success! mpls.novalocal(config)# mpls ldp % Unknown command: mpls ldp mpls.novalocal(config)# en mpls.novalocal# show m
阅读全文
摘要:checking directory to use for state file... /var/run/frr checking that generated files are newer than configure... done configure: creating ./config.s
阅读全文
摘要:The following packages have unmet dependencies: frr : Depends: (>= 0.11) but it is not installable Depends: libreadline7 (>= 6.0) but it is not instal
阅读全文
摘要:节点1 ip addr add 192.168.1.5 peer 192.168.1.6 dev enahisic2i1 root@ubuntu:/home/ubuntu# ip addr add 192.168.1.3 peer 192.168.1.4 dev enahisic2i1 root@u
阅读全文
摘要:for i in range(1, 4+1): name = 'r%s' % i eth0 = { 'mac' : '00:00:00:00:0%s:01' % i, 'ipAddrs' : ['10.0.%s.1/24' % i] } eth1 = { 'ipAddrs' : ['192.168.
阅读全文
摘要:root@ubuntu:/home/ubuntu# ps -elf | grep r3 0 S root 22962 22933 0 80 0 - 1367 select 19:41 pts/10 00:00:00 bash --norc -mis mininet:mgntr3 4 S root 2
阅读全文
摘要:Exception: Could not find a default OpenFlow controller sudo apt-get install openvswitch-testcontroller sudo ln /usr/bin/ovs-testcontroller /usr/bin/c
阅读全文
摘要:更新仓库源 $ sudo apt update 安装ubuntu-desktop软件包 $ sudo apt -y install ubuntu-desktop 重启操作系统 $ sudo reboot
阅读全文
摘要:Openstack L2GW Plugin installation If you've been working with Openstack, you'll know that sometimes it's hard to find documentation specific to your
阅读全文
摘要:root@co:~# nova show f429b357-5372-4649-b4c3-522af5473c3a + + + | Property | Value | + + + | OS-DCF:diskConfig | AUTO | | OS-EXT-AZ:availability_zone
阅读全文
摘要:Examples Matlab Doing large calculations in MATLAB can crash your system, because Matlab does not have any protection against taking all your machine'
阅读全文
摘要:[root@bogon ~]# cd /etc/xinetd.d/ [root@bogon xinetd.d]# ls chargen-dgram daytime-dgram discard-dgram echo-dgram tcpmux-server time-dgram chargen-stre
阅读全文
摘要:*************************** 3. row *************************** created_at: 2020-07-16 00:50:46 updated_at: 2020-07-16 00:54:47 version: 1.7 id: 126 uu
阅读全文
摘要:root@ubuntu:/data1/root/ryu/SDN-IP-Ryu# sshd -T Missing privilege separation directory: /run/sshd Missing privilege separation directory: /run/sshd ro
阅读全文
摘要:mininet> r1 xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot
阅读全文
摘要:mininet> h1 ping h4 <不同网段> PING 192.168.4.1 (192.168.4.1) 56(84) bytes of data. From 192.168.1.254 icmp_seq=1 Destination Net Unreachable From 192.168
阅读全文
摘要:mininet> sdnh2 ping sdnh1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.443 ms 64 bytes fro
阅读全文
摘要:Will try to reconnect to 10.10.10.1 after 30 secs: True Will try to reconnect to 10.10.10.1 after 30 secs: True Will try to reconnect to 10.10.10.1 af
阅读全文
摘要:openvswitch-switch -y apt install python-pip apt-get install git -y git clone https://github.com/mininet/mininet.git cd mininet/ git checkout 2.2.0 gi
阅读全文
摘要:ovsdb-server /etc/openvswitch/conf.db /etc/openvswitch/hw_vtep.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock
阅读全文
摘要:https://cloud-images.ubuntu.com/bionic/current/ (dib-env) [root@bogon dib-env]# DIB_RELEASE=bionic disk-image-create vm ubuntu baremetal dhcp-all-inte
阅读全文
摘要:#!/bin/bash # These are useful, or at worst not harmful, for all images we build. if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then set -x fi set -eu set -o pi
阅读全文
摘要:yum install setroubleshoot setools systemctl start polkit
阅读全文
摘要:<JG05-SA-01-CE8850>sys Enter system view, return user view with return command. [~JG05-SA-01-CE8850]bridge-domain 100 [~JG05-SA-01-CE8850-bd100]dis th
阅读全文
摘要:[root@kunpeng82 mininet]# git branch -vv * master bfc42f6 [origin/master] Merge pull request #921 from timgates42/bugfix/typo_updates [root@kunpeng82
阅读全文
摘要:*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo'] https://mailman.stanford.edu/pipermail/mininet-discuss/2016-January/006672.html [root@kunpeng
阅读全文
摘要:[root@kunpeng82 Ryu-SDN-IP]# pip3 show networkx Name: networkx Version: 2.4 Summary: Python package for creating and manipulating graphs and networks
阅读全文
摘要:[root@kunpeng82 sdn-ip-topology]# zebra -d -f quagga-sdn.conf vty_read_config: failed to open configuration file /root/ryu/SDN-IP-Ryu/sdn-ip-topology/
阅读全文
摘要:[root@kunpeng82 Ryu-SDN-IP]# zebra -d [root@kunpeng82 Ryu-SDN-IP]# ps -elf | grep zebra 0 S root 1143 50677 0 80 0 - 1729 pipe_w 11:44 pts/22 00:00:00
阅读全文
摘要:router = self.addHost(name, cls=Router, quaggaConfFile=quaggaConf, zebraConfFile=zebraConf, intfDict=intfs) host = self.addHost('h%s' % i, cls=SdnIpHo
阅读全文
摘要:[root@kunpeng82 Ryu-SDN-IP]# ovs-vsctl set Bridge s4 protocols=OpenFlow13 [root@kunpeng82 Ryu-SDN-IP]# ovs-ofctl dump-flows s4 2020-07-12T10:14:09Z|00
阅读全文
摘要:https://github.com/sdnds-tw/Ryu-SDN-IP [root@kunpeng82 Ryu-SDN-IP]# pip3 install networkx ./bin/sdnip-mgr --sdn-ip-cfg-file ./config.json --observe-li
阅读全文
摘要:[root@kunpeng82 sdx-ryu]# ryu-manager ctrl/asdx.py loading app ctrl/asdx.py Traceback (most recent call last): File "/usr/local/lib/python3.6/site-pac
阅读全文
摘要:[root@kunpeng82 Ryu-SDN-IP]# ./bin/sdnip-mgr --sdn-ip-cfg-file ./config.json --observe-links sdnip.arp_proxy sdnip.fwd_bgp sdnip.sdn_ip Traceback (mos
阅读全文
摘要:[root@kunpeng82 mininet]# ls /lib/systemd/system/zebra.service /lib/systemd/system/zebra.service [root@kunpeng82 mininet]# vi /lib/systemd/system/zebr
阅读全文
摘要:[root@kunpeng82 ryu]# cd sdx-ryu/examples/simple/mininet [root@kunpeng82 mininet]# ls configs sdx_mininext.py [root@kunpeng82 mininet]# ./sdx_mininext
阅读全文
摘要:[root@kunpeng82 devuser]# yum install quagga -y [root@kunpeng82 devuser]# setsebool -P zebra_write_config 1 [root@kunpeng82 devuser]# rpm -qal | grep
阅读全文
摘要:[root@kunpeng82 miniNExT]# make deps help2man python-setuptools python-pip [root@kunpeng82 miniNExT]# yum install `make deps` Installing MiniNExT Depe
阅读全文
摘要:转载 https://bg6cq.github.io/ITTS/security/bgp/exabgp/ 一、BGP介绍 BGP是路由协议,通过BGP协议可以方便的控制路由器上的路由表,运维中最常用是用于引流或黑洞路由。 把某个IP的next-hop设置为特定的IP,称为引流。用于黑洞路由时, 通常
阅读全文
摘要:Quagga BGP and exabgp: work together for BGP blackhole implementation In our test case we will deploy two machines: 10.0.3.114 for exabgp (it announce
阅读全文
摘要:As part of my work in OpenDaylight, we are looking at creating a router using Open vSwitch... Why? Well OpenStack requires some limited L3 capabilitie
阅读全文
摘要:https://osrg.github.io/ryu-book/en/html/rest_router.html https://zoo.cs.yale.edu/classes/cs434/cs434-2017-spring/lectures/02-prognet-openflow.pdf rest
阅读全文
摘要:https://github.com/Barthurmun/Ryu-Dynamic_Routing SDN Ryu controller with Load Balancing and dynamic routing OpenFlow version used: OpenFlow 1.3 Descr
阅读全文
摘要:https://github.com/hyunsun/documentations/wiki/ONOS-vRouter-with-OVS https://wiki.onosproject.org/display/ONOS/How+to+set+up+gateway+node+using+vRoute
阅读全文
摘要:[root@kunpeng82 devuser]# ovs-vsctl show ec7f002f-352c-476c-8348-5f2c86c8194f Bridge "br1" Port "br1" Interface "br1" type: internal Bridge "br0_vtep_
阅读全文
摘要:[root@bogon ~]# ip netns exec ns2 ping 10.0.10.12 PING 10.0.10.12 (10.0.10.12) 56(84) bytes of data. From 10.0.10.123 icmp_seq=1 Destination Host Unre
阅读全文
摘要:[~ZZKK-LoopBack1]undo ip address 2.2.2.2 255.255.255.255 [*ZZKK-LoopBack1]ip address 192.168.117.250 255.255.255.255 [*ZZKK-LoopBack1]commit [~ZZKK-Lo
阅读全文
摘要:[~ZZKK]int 100GE1/0/58.1 [~ZZKK-100GE1/0/58.1]dis this # interface 100GE1/0/58.1 mode l2 encapsulation untag bridge-domain 100 # return [~ZZKK-100GE1/
阅读全文
摘要:[~ZZKK-bd100]dis interface nve Nve1 current state : UP (ifindex: 77) Line protocol current state : UP Description: IP Sending Frames' Format is PKTFMT
阅读全文
摘要:配置VXLAN业务接入点。(请根据需要选择以下两种方式中的一种) 通过将VLAN绑定到广播域BD配置VXLAN业务接入点 执行命令bridge-domain bd-id,进入BD视图。 执行命令l2 binding vlan vlan-id,将VLAN绑定到广播域BD。 缺省情况下,VLAN没有绑定
阅读全文
摘要:[*ZZKK]interface 100GE1/0/58.1 mode l2 [*ZZKK-100GE1/0/58.1]encapsulation untag Warning: Exercise caution when configuring an untagged default sub-int
阅读全文
摘要:root@con # nova hypervisor-list | grep 1dc3a796-e55f-4ea3-ae0f-269e1518df6a | 1022 | 1dc3a796-e55f-4ea3-ae0f-269e1518df6a | up | enabled | | 1025 | 1d
阅读全文
摘要:nova-scheduler.log:220925:2020-07-10 10:49:43.084 8 INFO nova.filters [req-1d842317-8624-4354-9839-73fc0972ecb6 8d5522dc65ad4669aebbc2c80de7d2e9 5bf9c
阅读全文
摘要:[root@kunpeng82 scripts]# ovs-vsctl show ec7f002f-352c-476c-8348-5f2c86c8194f Bridge "br1" Port "br1" Interface "br1" type: internal Bridge "br0_vtep_
阅读全文
摘要:[root@kunpeng82 scripts]# vtep-ctl add-ls ls1 vtep-ctl set Logical_Switch ls1 tunnel_key=33 [root@kunpeng82 scripts]# vtep-ctl list-ls ls2 [root@kunpe
阅读全文
摘要:Tunnel_Ip def setup(): br_list = ovs_vsctl("list-br").split() if (ps_name not in br_list): ovs.util.ovs_fatal(0, "couldn't find OVS bridge %s" % ps_na
阅读全文
摘要:[root@kunpeng82 scripts]# vtep-ctl del-ls ls0 2020-07-09T09:46:02Z|00002|ovsdb_idl|WARN|transaction error: {"details":"cannot delete Logical_Switch ro
阅读全文
摘要:[root@kunpeng82 scripts]# ovs-vsctl show ec7f002f-352c-476c-8348-5f2c86c8194f Bridge "br1" Port "br1" Interface "br1" type: internal Bridge "br0_vtep_
阅读全文
摘要:yum install edk2-aarch64 kvm qemu qemu-img -y
阅读全文
摘要:没生效 执行以下 然后,就修复了,再执行init 6
阅读全文
摘要:def add_tunnel(self, tunnel, tunnel_key): global tun_id vlog.info("adding tunnel %s" % tunnel) encap, ip = tunnel.split("/") if encap != "vxlan_over_i
阅读全文
摘要:Nobody doubts that OpenStack is the best open source project for private and public clouds today. OpenStack has begun to be perceived as a standard pl
阅读全文
摘要:[root@kunpeng82 devuser]# ovs-vsctl show ec7f002f-352c-476c-8348-5f2c86c8194f Bridge "br0_vtep_ls1" Port "0100-tortap3-l" Interface "0100-tortap3-l" t
阅读全文
摘要:没有cloud init 有cloud init
阅读全文
摘要:NVE是一个虚拟接口,用来做建立隧道的 手动配置隧道时,交换机要跟谁建立隧道都写在里面 就类似于传统网络中VLAN(虚拟局域网)的概念,只不过在VXLAN网络中,它有另外一个名字,叫做Bridge-Domain,简称BD。 表1 VMware NSX控制器下发的配置 配置 说明 NVE接口视图下:v
阅读全文
摘要:[root@kunpeng82 devuser]# cat /lib/modules/$(uname -r)/modules.builtin kernel/arch/arm64/crypto/aes-ce-cipher.ko kernel/arch/arm64/crypto/aes-ce-ccm.k
阅读全文
摘要:10.0.10.121/24 访问8.8.8.8 ,会经过 gw:10.0.10.254,网桥做了arp proxy,报文的目的mac是网桥的mac.由网桥走内核协议栈三层转发 192.168.116.121/24 访问8.8.8.8 ,会经过 网桥做二层转发,不会进行三层转发,由网关192.168
阅读全文
摘要:规则的顺序很重要,一旦有一个规则匹配成功了,后面的规则将会被忽略 - -I: 指定一个链,表示要加入一条规则在链中,放在所有规则的首部 - -A:指定一个链,追加一条规则,放在所有规则尾部 10.10.28.18的网关是10.10.28.1 root@ubuntu:/home/devuser# pi
阅读全文
摘要:82节点 [root@kunpeng82 devuser]# ip a del 172.168.1.82/24 dev lo [root@kunpeng82 devuser]# ip a del 172.168.1.82/32 dev lo RTNETLINK answers: Cannot ass
阅读全文
摘要:组网需求 如图14-5所示,某企业在不同的数据中心都拥有自己的VM,服务器1的VM1属于VLAN 10,服务器3的VM1属于VLAN 30,服务器2上的VM1属于VLAN 20。服务器1和服务器2位于不同网段,服务器3和服务器2位于相同网段。现需要通过VXLAN网关实现不同数据中心相同名称VM的互通
阅读全文
摘要:https://macauleycheng.gitbooks.io/ovn/examplewith-vtep.html 82节点 [root@kunpeng82 ~]# ip netns exec ns2 ip a 257: nstap2@if256: <BROADCAST,MULTICAST,UP
阅读全文
摘要:修改CentOS7,修改默认语言环境 1.临时修改: # export LANG=en_US.UTF-8 2.永久修改: # vim /etc/locale.conf or # localectl set-locale LANG=en_US.UTF-8 更改为 ,重启。
阅读全文
摘要:2020-07-07 03:13:16,711 - util.py[WARNING]: Failed growpart --dry-run for (/dev/sda, 3) 2020-07-07 03:13:16,712 - util.py[DEBUG]: Failed growpart --dr
阅读全文
摘要:日前,ASPLOS 2020公布了计算机界最新科技成果,其中包括阿里云提交的名为《High-density Multi-tenant Bare-metal Cloud》的论文,该论文阐述了阿里云自研的神龙服务器架构如何解决困扰云计算行业多年的虚拟化性能损耗问题,打破物理机的性能神话,让云服务器突破性
阅读全文
摘要:export ELEMENTS_PATH=./builder/ironic-python-agent-builder/dib/ export DIB_DEV_USER_USERNAME=devuser export DIB_DEV_USER_PASSWORD=cloud_123. export DI
阅读全文
摘要:1,qemu-nbd 使用qemu-nbd之前,需要先确认当前环境上是不是支持linux nbd: ls /dev/nbd*来确认是不是已经支持nbd了。 如果支持,下面加载部分的操作可以省略。 modinfo nbd命令来确认nbd模块是不是在当前环境中已经存在。 modprobe nbd nbd
阅读全文
摘要:mount -o remount,rw / chattr -i /etc/passwd /etc/shadow
阅读全文
摘要:[centos@ boot]$ cat /etc/fstab LABEL=cloudimg-rootfs / ext4 defaults 0 1 LABEL=MKFS_ESP /boot/efi vfat defaults 0 1 [centos@ boot]$ swap swaplabel -L
阅读全文
摘要:[root@bogon 34f63019-78d0-42d5-a06b-0db19e1f71bd]# ls config deploy_kernel deploy_ramdisk [root@bogon 34f63019-78d0-42d5-a06b-0db19e1f71bd]# [root@bog
阅读全文
摘要:Overview In previous post, we introduced the concept of VXLAN and analyzed the traffic flow in a VXLAN network. It may help understand VXLAN by lookin
阅读全文
摘要:[root@kunpeng82 devuser]# ovsdb-client dump -f list | grep -A 7 "Manager" Manager table Mirror table NetFlow table Open_vSwitch table _uuid : ec7f002f
阅读全文
摘要:[root@kunpeng82 devuser]# ovs-vsctl show ec7f002f-352c-476c-8348-5f2c86c8194f Bridge "br0_vtep_ls1" Port "vx1" Interface "vx1" type: vxlan options: {k
阅读全文
摘要:[root@kunpeng82 ~]# ovs-vsctl add-br br1 ^C2020-07-02T10:28:04Z|00002|fatal_signal|WARN|terminating with signal 2 (Interrupt) [root@kunpeng82 ~]# ovs-
阅读全文
摘要:用户可以根据自己的需求,使用特定选项分别启动/停止守护进程。 场景一:仅启动ovsdb守护进程,不启动ovs-vswitchd守护进程 $ ovs-ctl --no-ovs-vswitchd start 场景二:仅启动ovs-vswitchd守护进程,不启动ovsdb守护进程 $ ovs-ctl -
阅读全文
摘要:参考:https://ywnz.com/linuxjc/7269.html yum install -y epel-release yum install -y centos-release-openstack-train yum install openvswitch libibverbs [ro
阅读全文
摘要:What is L2GW Layer 2 Gateway (L2GW) is an Openstack plugin which allows you to extend communication from virtual machines on your Openstack deployment
阅读全文
摘要:Since I have all my OpenStack environment running inside UNetLab, it makes it really easy for me to extend my L3 fabric with a switch from another ven
阅读全文
摘要:This post shows how to configure a OpenStack L2 Gateway setup using Mellanox Spectrum Switch. References Overview Configuration L2 Gateway installatio
阅读全文
摘要:华为CloudEngine系列交换机(下文简称CE交换机)支持VXLAN(Virtual eXtensible Local Area Network)和OVSDB控制协议 https://support.huawei.com/enterprise/zh/doc/EDOC1100075306/f7fe
阅读全文
摘要:转载http://kimizhang.com/neutron-l2-gateway-hp-5930-switch-ovsdb-integration/ http://kimizhang.com/ Neutron L2 Gateway is a new Openstack project workin
阅读全文
摘要:[root@host-172-16-103-3 log]# systemctl is-enabled cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service enabled enable
阅读全文