[Svc]linux on Vxlan Combat

Source: Internet
Author: User

Linux Vxlan enables access to segment IP Interoperability for 2 machines

- 在n1上ip l a vxlan0 type vxlan id 42 dstport 4789 remote 192.168.1.12 local 192.168.1.11 dev eth0ip -d l show dev vxlan0ip a a 12.1.1.1/24 dev vxlan0ip l s vxlan0 upip route   # 去12.1.1.0/24的数据丢给了vxlan0口- 在n2上ip l a vxlan0 type vxlan id 42 dstport 4789 remote 192.168.1.11 local 192.168.1.12 dev eth0ip -d l show dev vxlan0ip a a 12.1.1.2/24 dev vxlan0ip l s vxlan0 upip route
[[email protected] ~]# bridge fdb00:00:00:00:00:00 dev vxlan0 dst 192.168.1.12 via eth0 self permanent

Https://github.com/lannyMa/scripts/blob/master/pkgs/vxlan.pcap

Vxlan Multicast for multi-platform interoperability

- n1ip link add vxlan0 type vxlan     id 42     dstport 4789     group 239.1.1.1     dev eth0ip addr add 12.1.1.1/24 dev vxlan0ip link set vxlan0 up-n2ip link add vxlan0 type vxlan     id 42     dstport 4789     group 239.1.1.1     dev eth0ip addr add 12.1.1.2/24 dev vxlan0ip link set vxlan0 up-n3ip link add vxlan0 type vxlan     id 42     dstport 4789     group 239.1.1.1     dev eth0ip addr add 12.1.1.3/24 dev vxlan0ip link set vxlan0 up

[Svc]linux on Vxlan Combat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.