macsplex.com 로그인

검색

CentOS
2016.12.19 20:14

centos 6 kvm bridge setting

조회 수 86 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
Extra Form
출처 : http://www.techotopia.com/index.php/Creating_a_CentOS_6_KVM_Networked

su –
cd /etc/sysconfig/network-scripts
If the interface to be bridged is currently running it should be taken down before proceeding:
ifdown eth0
The next step is to add a script file to establish the bridge for the physical network device. In this example the device is eth0 so we need to create a file name ifcfg-eth0 and add the following lines to it. For the purposes of this example we will name the interface br0:
DEVICE=eth0
onBOOT=yes
BRIDGE=br0
The next step is to create a script file for the bridge interface. The name of this file must take the form ifcfg-<bridgename> where <bridgename> matches the name of the bridge defined in the BRIDGE= directive outlined above. Given this requirement, we will name the file ifcfg-br0. The contents of this file for this example will read as follows:
DEVICE=br0
onBOOT=yes
TYPE=Bridge
BOOTPROTO=dhcp
STP=on
DELAY=0
Note that the DEVICE= line must refer to the bridge name previously specified (i.e. bridge0 in this instance). Save the file and then start up both interfaces:
ifup eth0
ifup br0




--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------



리눅스 Tip

Linux Tip

  1. 1. Apache + PHP + ?MySQL + GD 설치

    CategoryDebian
    Read More
  2. A- CLI System Monitoring Tools & Commands

    Read More
  3. Apache Mod_rewrite Lesson

    CategoryApache2
    Read More
  4. apache2 could not reliably determine 에러발생시

    CategoryDebian
    Read More
  5. apache2 ssl 모드 활성 및 비활성화 명령어

    CategoryApache2
    Read More
  6. apache2 접속자수 확인

    CategoryApache2
    Read More
  7. apt-get 실행시 Could not get lock /var/lib/dpkg/lock 에러발생시

    CategoryUbuntu
    Read More
  8. Arch 저장소(repo)추가 방법

    CategoryArch
    Read More
  9. audacious plugin 폴더위치

    Read More
  10. Bash Keyboard Shortcuts

    Read More
  11. cache memory delete command

    Read More
  12. centos 6 kvm bridge setting

    CategoryCentOS
    Read More
  13. centos 6 KVM tip

    CategoryCentOS
    Read More
  14. centos 6 monitorx install

    CategoryCentOS
    Read More
  15. centos 6.7 kvm install after iso permission denied

    CategoryCentOS
    Read More
  16. CentOS 7 네트워크 설정

    CategoryCentOS
    Read More
  17. CentOS 8 웹콘솔(Cokpit) 설치하기

    CategoryCentOS
    Read More
  18. CentOS APM 설치운영

    CategoryCentOS
    Read More
  19. centos mysql 암호초기화

    CategoryCentOS
    Read More
  20. CentOS webpanel

    CategoryCentOS
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8