Neutron Architecture & Installation — Openvswitch

把之前写的演示稿先发出来,后期整理文档详细说明如何在搭建网络环境
lThe Whole Network Topology

                                                                                                                                                 For Hyper-V 
           
                                                                                                                                                          For KVM
lNetwork Basic
                    

LinkLayer:

 the purpose of the link layer in the TCP/IPprotocol suite is to send and

  receive

  (1) IP datagrams for the IP module,

  (2) ARP requests and replies for the ARP module

  (3) RARP requests and replies for the RARP module. TCP/IP supports

  What is the link layer structure in LAN

Vlan: 

How to create a Vlan in linux :

ifconfig eth0 0.0.0.0 up

vconfig eth0 10

ifconfig eth0.10 up


  

1. The application, the FTP client,calls the function gethostbyname to convert the hostname

(bsdi) into its 32-bit IP address. This function is called a resolver in theDNS (Domain Name System),

which we describe in Chapter 14.This conversion is done using the DNS, or on smaller networks, a

static hosts file (/etc/hosts).

2. The FTP client asks its TCP toestablish a connection with that IP address.

3. TCP sends a connection requestsegment to the remote host by sending an IP datagram to its IP address.

4. If the destination host is on alocally attached network (e.g., Ethernet, token ring, or the other end of a

point-to-point link), the IPdatagram can be sent directly to that host. If the destination host is on a

remote network, the IP routingfunction determines the Internet address of a locally attached next-hop

router to send the IP datagram to.In either case the IP datagram is sent to a host or router on a locally

attached network.

5. Assuming an Ethernet, thesending host must convert the 32-bit IP address into a 48-bit Ethernet

address. A translation is requiredfrom the logical Internet address to its corresponding physical

hardware address. This is thefunction of ARP.

ARP is intended for broadcastnetworks where many hosts or routers are connected to a single network.

6. ARP sends an Ethernet framecalled an ARP request to every host on the network. This is called a

broadcast. We show the broadcast inFigure 4.2 with dashed lines. The ARP request contains the IP

address of the destination host(whose name is bsdi)and is the request "if you are the owner of this IP

address, please respond to me withyour hardware address."

7. The destination host's ARP layerreceives this broadcast, recognizes that the sender is asking for its

hardware address, and replies withan ARP reply. This reply contains the IP address and the

corresponding hardware address.

8. The ARP reply is received andthe IP datagram that forced the ARP request-reply to be exchanged can

now be sent.

9. The IP datagram is sent to the destination host.


                                                                          

lNeutron
                       




l Openvswitch
     What is Open vSwitch?
Open vSwitch is a production quality, multilayer virtual switch
It is designed to enablemassive network automation through programmatic extension, while stillsupporting           standard management interfaces and protocols (e.g. NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag).
        Support distribution acrossmultiple physical servers
What can OVS do?
    Standard 802.1Q VLAN modelwith trunk and access ports
    NIC bonding with or withoutLACP on upstream switch
    NetFlow, sFlow(R), and mirroring for increased visibility
    QoS (Quality of Service)configuration, plus policing
    GRE, GRE over IPSEC, VXLAN,and LISP tunneling
    802.1ag connectivity faultmanagement
    OpenFlow 1.0 plus numerous extensions
    Transactional configurationdatabase with C and Python bindings
    High-performance forwardingusing a Linux kernel module
What virtualization platform VSwitch can support ?
    These platforms contain: KVM, VirtualBox, Xen,Xen Cloud Platform,     XenServer.
Where we could get it ?
    Just need to install it using “yum install openvswitch”
    Git it “ gitgithub.com/horms/openvswitch.git”   
Why Openvswitch, not linux bridge?
    More simple network isolation, More comprehensive QoS feature, sFlow, like-openflow switch     
How to create a vlan access port  ?
ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth0
ovs-vsctl add-port br0 tap0 tag=9
How to bond two port as a v-port ? 
ovs-vsctl add-br br0
ovs-vsctl add-bond br0 bond0 eth0 eth1


lESXI Vlan Model
     Thereare three models in EXSI Vlan implement:
     EST 
     
           VST
                  
       VGT
               

          

                
             
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值