zoukankan      html  css  js  c++  java
  • kvm网桥

    root@ok Downloads]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
    DEVICE=eth0
    HWADDR=54:EE:75:4E:37:D9
    TYPE=Ethernet
    UUID=ea35184e-8417-4ce4-9843-dfc37a26a363
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    BRIDGE=br0
     
     
    [root@ok Downloads]# cat /etc/sysconfig/network-scripts/ifcfg-br0
    DEVICE=br0
    TYPE=Bridge
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    IPADDR=192.168.1.10
    PREFIX=24
    GATEWAY=192.168.1.1
    DNS1=202.106.196.115
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    1
    2
    3
    4
    [root@ok Downloads]# chkconfig |grep NetworkManager
    NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off
    [root@ok Downloads]# service NetworkManager status
    NetworkManager is stopped
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    [root@ok Downloads]# ifconfig
    br0       Link encap:Ethernet  HWaddr 54:EE:75:4E:37:D9 
              inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::56ee:75ff:fe4e:37d9/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:211324 errors:0 dropped:0 overruns:0 frame:0
              TX packets:227274 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:15475676 (14.7 MiB)  TX bytes:322088646 (307.1 MiB)
     
    eth0      Link encap:Ethernet  HWaddr 54:EE:75:4E:37:D9 
              inet6 addr: fe80::56ee:75ff:fe4e:37d9/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:212843 errors:0 dropped:0 overruns:0 frame:0
              TX packets:227283 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:19708819 (18.7 MiB)  TX bytes:323034073 (308.0 MiB)
              Interrupt:20 Memory:f2600000-f2620000
  • 相关阅读:
    NSData和NSString 、 NSFileManager
    通知(Notification) 、 应用间通信(一)
    Dynamic支持CollectionView布局 、 MotionEffects特效 、 BlurImage效果 、 TextKit
    Dynamic Animator 、 CollectionViewLayout
    动画(Animation) 、 高级动画(Core Animation)
    Autoresizing和AutoLayout
    触控(Touch) 、 布局(Layout)
    手势与变形 、 视图与坐标系
    常用的静态变量,包括颜色等
    JSPatch动态修改已上架app的bug,即时修复bug
  • 原文地址:https://www.cnblogs.com/jeryl/p/5553283.html
Copyright © 2011-2022 走看看