You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create VXLAN interfaces and companion bridges for VNI 100 on datacentre1 leaf1
docker exec -it clab-dc-d1l1 ip link add vxlan100 type vxlan id 100 dstport 4789 local 192.168.1.2 nolearning ttl 5
docker exec -it clab-dc-d1l1 brctl addbr br100
docker exec -it clab-dc-d1l1 brctl addif br100 vxlan100
docker exec -it clab-dc-d1l1 brctl stp br100 off
docker exec -it clab-dc-d1l1 ip link set up dev br100
docker exec -it clab-dc-d1l1 ip link set up dev vxlan100
docker exec -it clab-dc-d1l1 brctl addif br100 eth3
docker exec -it clab-dc-d1l1 ip link set br100 addr aa:bb:cc:00:00:01
docker exec -it clab-dc-d1l1 ip addr add 192.168.1.100/24 dev br100
Create VXLAN interfaces and companion bridges for VNI 100 on datacentre1 leaf2
docker exec -it clab-dc-d1l2 ip link add vxlan100 type vxlan id 100 dstport 4789 local 192.168.2.3 nolearning ttl 5
docker exec -it clab-dc-d1l2 brctl addbr br100
docker exec -it clab-dc-d1l2 brctl addif br100 vxlan100
docker exec -it clab-dc-d1l2 brctl stp br100 off
docker exec -it clab-dc-d1l2 ip link set up dev br100
docker exec -it clab-dc-d1l2 ip link set up dev vxlan100
docker exec -it clab-dc-d1l2 brctl addif br100 eth3
docker exec -it clab-dc-d1l2 brctl addif br100 eth4
docker exec -it clab-dc-d1l2 ip link set br100 addr aa:bb:cc:00:00:02
docker exec -it clab-dc-d1l1 ip addr add 192.168.2.100/24 dev br100
Create VXLAN interfaces and companion bridges for VNI 100 on datacentre2 leaf1
docker exec -it clab-dc-d2l2 ip link add vxlan100 type vxlan id 100 dstport 4789 local 192.168.4.2 nolearning ttl 5
docker exec -it clab-dc-d2l2 brctl addbr br100
docker exec -it clab-dc-d2l2 brctl addif br100 vxlan100
docker exec -it clab-dc-d2l2 brctl stp br100 off
docker exec -it clab-dc-d2l2 ip link set up dev br100
docker exec -it clab-dc-d2l2 ip link set up dev vxlan100
docker exec -it clab-dc-d2l2 brctl addif br100 eth3
docker exec -it clab-dc-d2l2 ip link set br100 addr aa:bb:cc:00:00:04
docker exec -it clab-dc-d1l1 ip addr add 192.168.4.100/24 dev br100
Create VXLAN interfaces and companion bridges for VNI 100 on datacentre2 leaf2
docker exec -it clab-dc-d2l2 ip link add vxlan100 type vxlan id 100 dstport 4789 local 192.168.5.3 nolearning ttl 5
docker exec -it clab-dc-d2l2 brctl addbr br100
docker exec -it clab-dc-d2l2 brctl addif br100 vxlan100
docker exec -it clab-dc-d2l2 brctl stp br100 off
docker exec -it clab-dc-d2l2 ip link set up dev br100
docker exec -it clab-dc-d2l2 ip link set up dev vxlan100
docker exec -it clab-dc-d2l2 brctl addif br100 eth3
docker exec -it clab-dc-d2l2 ip link set br100 addr aa:bb:cc:00:00:05
docker exec -it clab-dc-d2l2 ip link add vxlan200 type vxlan id 200 dstport 4789 local 192.168.5.3 nolearning ttl 5
docker exec -it clab-dc-d2l2 brctl addbr br200
docker exec -it clab-dc-d2l2 brctl addif br200 vxlan200
docker exec -it clab-dc-d2l2 brctl stp br200 off
docker exec -it clab-dc-d2l2 ip link set up dev br200
docker exec -it clab-dc-d2l2 ip link set up dev vxlan200
docker exec -it clab-dc-d2l2 brctl addif br200 eth4
docker exec -it clab-dc-d2l2 ip link set br200 addr aa:bb:cc:00:00:06
docker exec -it clab-dc-d1l2 ip addr add 192.168.5.100/24 dev br100
docker exec -it clab-dc-d1l2 ip addr add 192.168.5.100/24 dev br200
# Create VXLAN interfaces and companion bridges for VNI 200 on dc1 leaf2
docker exec -it clab-dc-d1l2 ip link add vxlan200 type vxlan id 200 dstport 4789 local 1.1.1.12 nolearning ttl 5
docker exec -it clab-dc-d2l2 ip link set br202 addr aa:bb:cc:00:00:06
docker exec -it clab-dc-d2l2 ip addr add 192.168.2.103/24 dev br202
Create VXLAN interfaces and companion bridges for VNI 300 on dc1 leaf3
docker exec -it clab-dc-d1l3 ip link add vxlan200 type vxlan id 200 dstport 4789 local 192.168.3.2 nolearning ttl 5
docker exec -it clab-dc-d1l3 brctl addbr br200
docker exec -it clab-dc-d1l3 brctl addif br200 vxlan200
docker exec -it clab-dc-d1l3 brctl stp br200 off
docker exec -it clab-dc-d1l3 ip link set up dev br200
docker exec -it clab-dc-d1l3 ip link set up dev vxlan200
docker exec -it clab-dc-d1l3 brctl addif br200 eth3
docker exec -it clab-dc-d1l3 ip link set br200 addr aa:bb:cc:00:00:03
docker exec -it clab-dc-d1l3 ip addr add 192.168.3.100/24 dev br200
Create VXLAN interfaces and companion bridges for VNI 500 on dc2 leaf3
docker exec -it clab-dc-d1l3 ip link add vxlan200 type vxlan id 200 dstport 4789 local 192.168.6.2 nolearning ttl 5
docker exec -it clab-dc-d1l3 brctl addbr br200
docker exec -it clab-dc-d1l3 brctl addif br200 vxlan200
docker exec -it clab-dc-d1l3 brctl stp br200 off
docker exec -it clab-dc-d1l3 ip link set up dev br200
docker exec -it clab-dc-d1l3 ip link set up dev vxlan200
docker exec -it clab-dc-d1l3 brctl addif br200 eth3
docker exec -it clab-dc-d1l3 ip link set br200 addr aa:bb:cc:00:00:07
docker exec -it clab-dc-d1l3 ip addr add 192.168.6.100/24 dev br200
This discussion was converted from issue #2204 on September 26, 2024 13:50.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
RTNETLINK answers: File exists
brctl: bridge br100: File exists
brctl: bridge br100: Resource busy
brctl: bridge br100: Resource busy
Error: ipv4: Address already assigned.
RTNETLINK answers: File exists
brctl: bridge br100: File exists
brctl: bridge br100: Resource busy
brctl: bridge br100: Resource busy
brctl: bridge br100: Resource busy
Error: ipv4: Address already assigned.
RTNETLINK answers: File exists
brctl: bridge br100: File exists
brctl: bridge br100: Resource busy
brctl: bridge br100: Resource busy
Error: ipv4: Address already assigned.
RTNETLINK answers: File exists
brctl: bridge br100: File exists
brctl: bridge br100: Resource busy
brctl: bridge br100: Resource busy
RTNETLINK answers: File exists
brctl: bridge br200: File exists
brctl: bridge br200: Resource busy
brctl: bridge br200: Resource busy
Error: ipv4: Address already assigned.
Cannot find device "br200"
RTNETLINK answers: File exists
brctl: bridge br200: File exists
brctl: bridge br200: Resource busy
brctl: bridge br200: Resource busy
Error: ipv4: Address already assigned.
RTNETLINK answers: File exists
brctl: bridge br200: File exists
brctl: bridge br200: Resource busy
brctl: bridge br200: Resource busy
Error: ipv4: Address already assigned.
jynt@jynt-Inspiron-15-3511:~/containerlab/btp/evpn$ ^C
my code is as following
#!/bin/bash
Create VXLAN interfaces and companion bridges for VNI 100 on datacentre1 leaf1
docker exec -it clab-dc-d1l1 ip link add vxlan100 type vxlan id 100 dstport 4789 local 192.168.1.2 nolearning ttl 5
docker exec -it clab-dc-d1l1 brctl addbr br100
docker exec -it clab-dc-d1l1 brctl addif br100 vxlan100
docker exec -it clab-dc-d1l1 brctl stp br100 off
docker exec -it clab-dc-d1l1 ip link set up dev br100
docker exec -it clab-dc-d1l1 ip link set up dev vxlan100
docker exec -it clab-dc-d1l1 brctl addif br100 eth3
docker exec -it clab-dc-d1l1 ip link set br100 addr aa:bb:cc:00:00:01
docker exec -it clab-dc-d1l1 ip addr add 192.168.1.100/24 dev br100
Create VXLAN interfaces and companion bridges for VNI 100 on datacentre1 leaf2
docker exec -it clab-dc-d1l2 ip link add vxlan100 type vxlan id 100 dstport 4789 local 192.168.2.3 nolearning ttl 5
docker exec -it clab-dc-d1l2 brctl addbr br100
docker exec -it clab-dc-d1l2 brctl addif br100 vxlan100
docker exec -it clab-dc-d1l2 brctl stp br100 off
docker exec -it clab-dc-d1l2 ip link set up dev br100
docker exec -it clab-dc-d1l2 ip link set up dev vxlan100
docker exec -it clab-dc-d1l2 brctl addif br100 eth3
docker exec -it clab-dc-d1l2 brctl addif br100 eth4
docker exec -it clab-dc-d1l2 ip link set br100 addr aa:bb:cc:00:00:02
docker exec -it clab-dc-d1l1 ip addr add 192.168.2.100/24 dev br100
Create VXLAN interfaces and companion bridges for VNI 100 on datacentre2 leaf1
docker exec -it clab-dc-d2l2 ip link add vxlan100 type vxlan id 100 dstport 4789 local 192.168.4.2 nolearning ttl 5
docker exec -it clab-dc-d2l2 brctl addbr br100
docker exec -it clab-dc-d2l2 brctl addif br100 vxlan100
docker exec -it clab-dc-d2l2 brctl stp br100 off
docker exec -it clab-dc-d2l2 ip link set up dev br100
docker exec -it clab-dc-d2l2 ip link set up dev vxlan100
docker exec -it clab-dc-d2l2 brctl addif br100 eth3
docker exec -it clab-dc-d2l2 ip link set br100 addr aa:bb:cc:00:00:04
docker exec -it clab-dc-d1l1 ip addr add 192.168.4.100/24 dev br100
Create VXLAN interfaces and companion bridges for VNI 100 on datacentre2 leaf2
docker exec -it clab-dc-d2l2 ip link add vxlan100 type vxlan id 100 dstport 4789 local 192.168.5.3 nolearning ttl 5
docker exec -it clab-dc-d2l2 brctl addbr br100
docker exec -it clab-dc-d2l2 brctl addif br100 vxlan100
docker exec -it clab-dc-d2l2 brctl stp br100 off
docker exec -it clab-dc-d2l2 ip link set up dev br100
docker exec -it clab-dc-d2l2 ip link set up dev vxlan100
docker exec -it clab-dc-d2l2 brctl addif br100 eth3
docker exec -it clab-dc-d2l2 ip link set br100 addr aa:bb:cc:00:00:05
docker exec -it clab-dc-d2l2 ip link add vxlan200 type vxlan id 200 dstport 4789 local 192.168.5.3 nolearning ttl 5
docker exec -it clab-dc-d2l2 brctl addbr br200
docker exec -it clab-dc-d2l2 brctl addif br200 vxlan200
docker exec -it clab-dc-d2l2 brctl stp br200 off
docker exec -it clab-dc-d2l2 ip link set up dev br200
docker exec -it clab-dc-d2l2 ip link set up dev vxlan200
docker exec -it clab-dc-d2l2 brctl addif br200 eth4
docker exec -it clab-dc-d2l2 ip link set br200 addr aa:bb:cc:00:00:06
docker exec -it clab-dc-d1l2 ip addr add 192.168.5.100/24 dev br100
docker exec -it clab-dc-d1l2 ip addr add 192.168.5.100/24 dev br200
# Create VXLAN interfaces and companion bridges for VNI 200 on dc1 leaf2
docker exec -it clab-dc-d1l2 ip link add vxlan200 type vxlan id 200 dstport 4789 local 1.1.1.12 nolearning ttl 5
docker exec -it clab-dc-d1l2 brctl addbr br102
docker exec -it clab-dc-d1l2 brctl addif br102 vxlan200
docker exec -it clab-dc-d1l2 brctl stp br102 off
docker exec -it clab-dc-d1l2 ip link set up dev br102
docker exec -it clab-dc-d1l2 ip link set up dev vxlan200
docker exec -it clab-dc-d1l2 brctl addif br102 eth4
docker exec -it clab-dc-d1l2 ip link set br102 addr aa:bb:cc:00:00:05
docker exec -it clab-dc-d1l2 ip addr add 192.168.1.100/24 dev br102
# Create VXLAN interfaces and companion bridges for VNI 400 on dc2 leaf2
docker exec -it clab-dc-d2l2 ip link add vxlan400 type vxlan id 400 dstport 4789 local 1.1.1.22 nolearning ttl 5
docker exec -it clab-dc-d2l2 brctl addbr br202
docker exec -it clab-dc-d2l2 brctl addif br202 vxlan400
docker exec -it clab-dc-d2l2 brctl stp br202 off
docker exec -it clab-dc-d2l2 ip link set up dev br202
docker exec -it clab-dc-d2l2 ip link set up dev vxlan400
docker exec -it clab-dc-d2l2 brctl addif br202 eth4
docker exec -it clab-dc-d2l2 ip link set br202 addr aa:bb:cc:00:00:06
docker exec -it clab-dc-d2l2 ip addr add 192.168.2.103/24 dev br202
Create VXLAN interfaces and companion bridges for VNI 300 on dc1 leaf3
docker exec -it clab-dc-d1l3 ip link add vxlan200 type vxlan id 200 dstport 4789 local 192.168.3.2 nolearning ttl 5
docker exec -it clab-dc-d1l3 brctl addbr br200
docker exec -it clab-dc-d1l3 brctl addif br200 vxlan200
docker exec -it clab-dc-d1l3 brctl stp br200 off
docker exec -it clab-dc-d1l3 ip link set up dev br200
docker exec -it clab-dc-d1l3 ip link set up dev vxlan200
docker exec -it clab-dc-d1l3 brctl addif br200 eth3
docker exec -it clab-dc-d1l3 ip link set br200 addr aa:bb:cc:00:00:03
docker exec -it clab-dc-d1l3 ip addr add 192.168.3.100/24 dev br200
Create VXLAN interfaces and companion bridges for VNI 500 on dc2 leaf3
docker exec -it clab-dc-d1l3 ip link add vxlan200 type vxlan id 200 dstport 4789 local 192.168.6.2 nolearning ttl 5
docker exec -it clab-dc-d1l3 brctl addbr br200
docker exec -it clab-dc-d1l3 brctl addif br200 vxlan200
docker exec -it clab-dc-d1l3 brctl stp br200 off
docker exec -it clab-dc-d1l3 ip link set up dev br200
docker exec -it clab-dc-d1l3 ip link set up dev vxlan200
docker exec -it clab-dc-d1l3 brctl addif br200 eth3
docker exec -it clab-dc-d1l3 ip link set br200 addr aa:bb:cc:00:00:07
docker exec -it clab-dc-d1l3 ip addr add 192.168.6.100/24 dev br200
pls help how to solve
Beta Was this translation helpful? Give feedback.
All reactions