S
S
StanEgo2011-06-04 12:55:02
linux
StanEgo, 2011-06-04 12:55:02

Configuring a Bridge to a VM in Debian+KVM

During the smooth migration of the server infrastructure to Linux, I decided to experiment with a host system based on Debian and KVM, under which virtual machines with Windows will spin. The notorious hetzner.de was chosen as a test site. Input parameters - Debian Squeeze in a minimal installation, 2 external IPs and 2 MAC addresses for them. It is necessary that the host system be accessible via one external IP, and the VM with Windows on another. It seems that I have set up everything I need, Windows is spinning, but I can’t set up the bridge in any way. In numerous manuals on the network, the settings are mainly carried out by entire subnets and it has not yet been possible to adapt to my situation.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Pilat, 2011-06-06
@Pilat

Specifically, with the hatzner, everything is trivial - in the server panel, select the IP address and request a dedicated MAC address for it, you assign this MAC to the virtual machine adapter. Nothing more needs to be done.

P
Puma Thailand, 2011-06-04
@opium

In hatzner, additional IPs are issued to the main route, and not to bridging.
The Internet is full of guides about setting up routes for xen hetzner routing
www.google.ru/search?rlz=1C1CHHP_ruRU418RU418&aq=0&oq=hetzner+xen+r&sourceid=chrome&ie=UTF-8&q=hetzner+xen+routing&qscrl=1
I think there is one for kvm.
I myself use xen, so I won’t say a solution about kvm offhand.

V
Vlad Zhivotnev, 2011-06-04
@inkvizitor68sl

debian.pro/347

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question