D
D
DREMOR242015-10-21 15:20:09
Asterisk
DREMOR24, 2015-10-21 15:20:09

How to migrate Asterisk to a Proxmox virtual machine?

---Proxy
192.168.15.1

---Asterisk
eth0 Link encap:Ethernet
inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

eth1 Link encap:Ethernet
inet addr: 172.17.0.36 Bcast:172.17.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436

Metric.17 .0.0/24 dev eth1 proto kernel scope link src 172.17.0.36
192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.3
default via 192.168.15.1 dev eth0

---Proxmox:
eth0 Link encap:Ethernet
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

eth2 Link encap:Ethernet
UP BROADCAST MULTICAST MTU:1500 Metric:1

lo Link encap:Local Loopback
inet addr: 127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1

tap100i0 Link encap:Ethernet
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1

tap102i0 Link encap:Ethernet
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric1:

1500 Link encap:Ethernet
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

vmbr0 Link encap:Ethernet
inet addr:192.168.15.11 Bcast:192.168.15.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

vmbr1 Link encap:Ethernet
inet Mask addr:192.168.15.14 Bcast:192.165.5.255.15
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

192.168.15.0/24 dev vmbr0 proto kernel scope link src 192.168.15.10
192.168.15.0/24 dev vmbr1 proto kernel scope link src 192.168.15.14 --
default via

195.168.1 Virtual on Proxmox
eth0: flags=4163 mtu 1500
inet 192.168.15.12 netmask 255.255.255.0 broadcast 192.168.15.255
ether 82:61:5c:71:82:f0 txqueuelen 1000 (Ethernet)

lo: flags=73 mtu 65536
inet.25 netmask 125.0. 0.0
loop txqueuelen 0 (Local Loopback)

default via 192.168.15.1 dev eth0 proto static metric 100
192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.12 metric

100 Proxmox interface:
eth2 Link encap:Ethernet
UP BROADCAST MULTICAST MTU:1500 Metric:1
with address assigned to it:
inet addr:172.17.0.36 Bcast:172.17.0.255 Mask:255.255.255.0
on the virtual interface of the virtual machine on Proxmox (Virtual Asterisk), but so that the gateway for everyone remains 192.168.15.1
is this generally feasible?
Help to understand please.

Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Baidin, 2015-10-22
@zeronice

it looks like both interfaces are already involved in proxmox - vmbr1 and vmbr2, and eth0 and eth2 setevushki, respectively, are attached to them. no one prevents the virtual machine from adding an interface bridged to vmbr1. another thing is that you have 172.17.0/24 and 192.168.15/24 hanging on the same port. it's good or bad - it depends on the context, but you didn't say why Aster looks at 172.17.0/24 and on proxmox both interfaces at 192.168.15/24

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question