feat: part 2
This commit is contained in:
parent
f36279ab60
commit
b0b42b96a6
Binary file not shown.
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
ip addr add 30.1.1.1/24 dev eth1
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
ip addr add 30.1.1.2/24 dev eth1
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
apk add iproute2
|
||||||
|
alias ip=/sbin/ip
|
||||||
|
ip link add br0 type bridge
|
||||||
|
ip link set dev br0 up
|
||||||
|
ip addr add 10.1.1.1/24 dev eth0
|
||||||
|
ip link add name vxlan10 type vxlan id 10 dev eth0 group 239.1.1.1 dstport 4789
|
||||||
|
ip addr add 20.1.1.1/24 dev vxlan10
|
||||||
|
brctl addif br0 eth1
|
||||||
|
brctl addif br0 vxlan10
|
||||||
|
ip link set dev vxlan10 up
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
apk add iproute2
|
||||||
|
alias ip=/sbin/ip
|
||||||
|
ip link add br0 type bridge
|
||||||
|
ip link set dev br0 up
|
||||||
|
ip addr add 10.1.1.2/24 dev eth0
|
||||||
|
ip link add name vxlan10 type vxlan id 10 dev eth0 group 239.1.1.1 dstport 4789
|
||||||
|
ip addr add 20.1.1.2/24 dev vxlan10
|
||||||
|
brctl addif br0 eth1
|
||||||
|
brctl addif br0 vxlan10
|
||||||
|
ip link set dev vxlan10 up
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
apk add iproute2
|
||||||
|
alias ip=/sbin/ip
|
||||||
|
ip link add br0 type bridge
|
||||||
|
ip link set dev br0 up
|
||||||
|
ip addr add 10.1.1.1/24 dev eth0
|
||||||
|
ip link add name vxlan10 type vxlan id 10 dev eth0 remote 10.1.1.2 local 10.1.1.1 dstport 4789
|
||||||
|
ip addr add 20.1.1.1/24 dev vxlan10
|
||||||
|
brctl addif br0 eth1
|
||||||
|
brctl addif br0 vxlan10
|
||||||
|
ip link set dev vxlan10 up
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
apk add iproute2
|
||||||
|
alias ip=/sbin/ip
|
||||||
|
ip link add br0 type bridge
|
||||||
|
ip link set dev br0 up
|
||||||
|
ip addr add 10.1.1.2/24 dev eth0
|
||||||
|
ip link add name vxlan10 type vxlan id 10 dev eth0 remote 10.1.1.1 local 10.1.1.2 dstport 4789
|
||||||
|
ip addr add 20.1.1.2/24 dev vxlan10
|
||||||
|
brctl addif br0 eth1
|
||||||
|
brctl addif br0 vxlan10
|
||||||
|
ip link set dev vxlan10 up
|
Loading…
Reference in New Issue