20170126

Xen에서 공인 IP 브릿지와 사설 IP 브릿지를 함께 쓰는 설정
xenbr0는 공인 IP 브릿지, xenbr1은 사설 IP 브릿지로 사용함. em1은 실제 포트, em3는 가상의 포트임.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
iface em3 inet manual

auto xenbr0
    iface xenbr0 inet static    
    bridge_ports em1 
    address XXX.XXX.XXX.XXX
    netmask 255.255.255.0
    broadcast XXX.XXX.XXX.255
    gateway XXX.XXX.XXX.1
    dns-nameservers XXX.XXX.XXX.XXX

auto xenbr1
    iface xenbr1 inet static
    bridge_ports em3 
    address 192.168.255.254
    netmask 255.255.0.0
    network 192.168.0.0
    broadcast 192.168.255.255

auto p1p1
iface p1p1 inet static
    address 10.0.0.10
    netmask 255.255.255.0
    broadcast 10.0.0.255
Advertisements
Posted in 1) Memo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

누적 방문자 수
  • 98,779 hits
%d bloggers like this: