XEN 4.4 How to configure dom0 and domu with different ip subnet on Debian Jessie (OVH)

خرید بک لینک

please help to configure dom0 network. dom0 host is Debian jessie. I need to configure domu to accept different subnet from ip main (dom0) in OVH. Here is my dom0 /etc/network/interface:

# 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

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
  bridge_ports eth0
  address a.b.c.81
  netmask 255.255.255.0
  network a.b.c.0
  broadcast a.b.c.255
  gateway a.b.c.254
  bridge_stp on
  bridge_maxwait 0

# inteal dhcp
auto virbr0
iface virbr0 inet static
   address 192.168.0.1
   netmask 255.255.255.0
   broadcast 192.168.0.255
   pre-up brctl addbr virbr0

# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.e03f49e8149b       yes             eth0
virbr0          8000.feffffffffff       no              vif10.0

# route -v
Keel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         a.b.c.254  0.0.0.0         UG    0      0        0 br0
a.b.c.0    *               255.255.255.0   U     0      0        0 br0
192.168.0.0     *               255.255.255.0   U     0      0        0 virbr0
x.y.z.48   *               255.255.255.248 U     0      0        0 br0

Question: how do I add these ip subnet into my dom0 configuration. here is ip block from OVH

Network IP              : x.y.z.144
IP for router n°1       : x.y.z.148
IP for router n°1       : x.y.z.149
Gateway IP              : x.y.z.150 (not usable)
Broadcast IP:           : x.y.z.151

Then use the sub-netmask 255.255.255.248.

For your information, your block has the following characteristics:

x.y.z.144/29
Network IP    :x.y.z.144
Broadcast IP  :x.y.z.151
Gateway IP    :x.y.z.150
Netmask       :255.255.255.248

Thank you Sincerely Manu Purba

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 228 تاريخ: دوشنبه 24 خرداد 1395 ساعت: 10:26

صفحه بندی