摘要:Overlay SDN with VxLAN, BGP-EVPN and FRR 13 minute read , Sep 26, 2018 In BGP based control plane for Vxlan, E-VPN plays the role of a distributed con
阅读全文
摘要:void br_set_state(struct net_bridge_port *p, unsigned int state) { struct switchdev_attr attr = { .orig_dev = p->dev, .id = SWITCHDEV_ATTR_ID_PORT_STP
阅读全文
摘要:Linux 4.0的switchdev一切坏消息在Linux 4.0内核中终结。 Linux 4.0引入了一个switchdev框架,它代表一类拥有“交换”能力芯片的多网口设备的抽象。其中每一个网口就是一个port,在switchdev框架中被注册成一个net_device。除此之外,内核中自带了一
阅读全文
摘要:[root@evpn2 ~]# tc qdisc add dev p0a ingress -bash: tc: command not found [root@evpn2 ~]# yum install iproute-tc [root@localhost ~]# tc filter show de
阅读全文
摘要:[root@localhost vpp]# ethtool -k enp125s0f0 | grep hw-tc-offload hw-tc-offload: off [fixed] [root@localhost vpp]# [root@localhost vpp]# ethtool -k enp
阅读全文
摘要:查询VRF邻接表和路由 ip neigh show vrf vrf-blue ip addr show vrf vrf-blue ip -br addr show vrf vrf-blue ip route show vrf vrf-blue [root@evpn1 ~]# ip neigh sho
阅读全文
摘要:一开始只有一个vrf [root@evpn2 ~]# vtysh Hello, this is FRRouting (version 7.3-MyOwnFRRVersion). Copyright 1996-2005 Kunihiro Ishiguro, et al. evpn2.novalocal
阅读全文
摘要:新增一个节点10.10.18.227 10.10.16.82通过vxlan vni=48和vxlan vni=32分别连接10.10.18.227和10.10.18.216 10.10.28.227网络配置如下 #/bin/bash set -e #添加ovs网桥: br-tun/br-int #o
阅读全文
摘要:10.10.16.82节点上 [root@kunpeng82 devuser]# ip netns exec ns1 ping 192.168.10.22 PING 192.168.10.22 (192.168.10.22) 56(84) bytes of data. ^C 192.168.10.2
阅读全文
摘要:Sometimes you just can’t use multicast. Some cloud providers just do not provide it. In that scenario, you need to configure your vxlan layer using un
阅读全文
摘要:1、给table 2 添加一条规则 [root@kunpeng82 devuser]# ovs-ofctl add-flow vswtich1 "table=2 actions=learn(table=10,NXM_OF_VLAN_TCI[0..11], \ NXM_OF_ETH_DST[]=NXM
阅读全文
摘要:表 1. 流表常用字段 字段名称说明 in_port=port 传递数据包的端口的 OpenFlow 端口编号 dl_vlan=vlan 数据包的 VLAN Tag 值,范围是 0-4095,0xffff 代表不包含 VLAN Tag 的数据包 dl_src=<MAC>dl_dst=<MAC> 匹配
阅读全文
摘要:[root@kunpeng82 devuser]# ovs-vsctl list port tap6_br _uuid : 70e22269-7254-4300-88fc-b3e8cfcc1df6 bond_active_slave : [] bond_downdelay : 0 bond_fake
阅读全文
摘要:eth0连接internet ns1 [root@kunpeng82 devuser]# ip netns exec ns1 route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface
阅读全文
摘要:1、ovs-vsctl set port tap0_br tag=100 [root@kunpeng82 devuser]# ovs-vsctl list port tap0_br_uuid : f8b41259-a1b3-4226-bd25-afb7c0dfe9e1bond_active_slav
阅读全文
摘要:[root@kunpeng82 devuser]# ovs-ofctl dump-flows vswitch0 cookie=0x0, duration=3.829s, table=0, n_packets=0, n_bytes=0, priority=0 actions=NORMAL [root@
阅读全文
摘要:节点ip改为192.168.2.210/24 [root@ovs216 ~]# ip netns exec ns1 ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen
阅读全文
摘要:[root@kunpeng82 devuser]# ovs-vsctl show 25581fe4-f414-4c0a-a9eb-5d04cc658c0c Bridge "vswitch0" Port "tap3_br" Interface "tap3_br" Port "vswitch0" Int
阅读全文
摘要:[root@kunpeng82 devuser]# ovs-ofctl -O OpenFlow13 dump-group-stats vswitch0 OFPST_GROUP reply (OF1.3) (xid=0x6): [root@kunpeng82 devuser]# ovs-ofctl -
阅读全文
摘要:1、把所有的flow删掉 [root@kunpeng82 devuser]# ovs-ofctl dump-flows vswitch0 table=0 cookie=0x0, duration=132.837s, table=0, n_packets=0, n_bytes=0, priority=
阅读全文