Solved

ubuntu kvm bridge

Posted on 2013-01-24
6
456 Views
Last Modified: 2013-11-26
ok settup up ubuntu 12.04 kvm and following this

http://techtips-tom.blogspot.co.uk/2012/05/ubuntu-1204-kvm-server.html

get to Use the following to show bridges
brctl show
shows virbr0, but this is not the bridge I need to be connected to eth0
setup proper bridged network as follows:
sudo nano /etc/network/interfaces
change the following lines
auto eth0
iface eth0 inet dhcp
to
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 0
bridge_stp off
bridge_maxwait 0



I try and save and I get misplaced option

after reboot I can no longer ssh to the server or ping it
0
Comment
Question by:IanTh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 11

Expert Comment

by:Chris Sandrini
ID: 38830459
Did you assign any ipadress either to the bridge or the interface?

This is my config:

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
        address 192.168.2.100
        network 192.168.2.0
        netmask 255.255.255.0
        broadcast 192.168.2.255
        gateway 192.168.2.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0

Open in new window

0
 
LVL 30

Author Comment

by:IanTh
ID: 38830491
I had an ip address first no communication took it out as the guide I was following said nothing

how does bridging work in Linux I have binned ubuntu there was no web client I found proxmox ve which is a linux iso for virtual machines using KVM or openvz which is based on debian and that needs a network bridge setting up I just dont understand the way a network bridge works in Linux
0
 
LVL 11

Accepted Solution

by:
Chris Sandrini earned 500 total points
ID: 38830502
Hi

There is different ways how you can share your network interfaces between the Host and your VMs.

Bridged network means that the VM are in the same network as the host. If you have a DHCP client on the VM it will get the ip of your DHCP server.

http://iomem.com/archives/4-Ethernet-Bridges-under-Linux.html

You need to make sure that the bridge is actually existing. Did you load the bridge?

ifup br0

Open in new window


Or restart your network service.

You should be able to see your bridge with

brctl show

Open in new window

0
Myth Busting: MongoDB Scalability (it scales!)

I was talking with one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. He mentioned to me that several customers have been telling him that “MongoDB doesn’t scale!” MongoDB’s scalability was in question?

My response was, “Is that a joke?"

 
LVL 30

Author Comment

by:IanTh
ID: 38830581
yes I did have bridge I just couldn't ssh to the machine

I know as a bridge a a physical device to connect disparate networks st fiber and ethernet for instance although a bridge and a switch can be the same thing these days
0
 
LVL 11

Expert Comment

by:Chris Sandrini
ID: 38830655
Can you ssh now then?
0
 
LVL 30

Author Comment

by:IanTh
ID: 38830712
I have rebuilt it now using proxmox it still mentions a bridge as its a type 1 hypervisor based on debian v6 as I was looking for a web client for the ubuntu nodes and I stumbled on proxmox I had a cluster up and running well 85% of the cluster as it was inside esxi free within say 2 hours
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question