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. No Image

    하드속도체크 명령어

  2. No Image

    프로세스 강제종료

  3. 편리하게 이미지크기, 이미지 회전이 필요할때

  4. 페도라에서 VLC를 설치하고 싶을때

  5. No Image in Fedora

    페도라 방화벽포트열기

  6. No Image in Ubuntu

    파이어폭스 시작페이지가 변경이 되지 않을때

  7. No Image

    지메일을 리눅스 파일시스템으로 쓰는 방법

  8. No Image

    젠투에서 한글콘솔 유니콘사용법

  9. No Image

    젠투리눅스 백업 스크립트 예제

  10. No Image

    웹분석프로그램 분석사이트

  11. 웹로그분석툴 GoAccess

  12. No Image in Debian

    워드프레스 고유주소 nginx 설정

  13. 우분투에서 윈도우7 설치 USB 만들기(WinUSB)

  14. 우분투에서 안드로이드 스튜디오 설치방법

  15. No Image in Ubuntu

    우분투에서 iso 파일만들기

  16. No Image in Ubuntu

    우분투에서 7zip 프로그램 설치

  17. No Image in Ubuntu

    우분투에서 alt키를 한영키로 변환하는법

  18. No Image in Ubuntu

    우분투서버 12.04

  19. 우분투 파일관리자 네트워크에 컴퓨터들이 보이지 않을때

  20. 우분투 시스템세팅이 실행되지 않은다면

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