Link to home
Start Free TrialLog in
Avatar of IanTh
IanThFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ubuntu kvm bridge

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
Avatar of Chris Sandrini
Chris Sandrini
Flag of Switzerland image

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

Avatar of IanTh

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Chris Sandrini
Chris Sandrini
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IanTh

ASKER

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
Can you ssh now then?
Avatar of IanTh

ASKER

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