Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


KVM Bridge Configuration.
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

KVM Bridge Configuration.

I got small dedicated server for create few KVM VPS's. I just need to run few Windows Guest's. then i install SolusVM slave with KVM VT and successful connected to the SolusVM master. Now i have problem with creating KVM Bridge inside in dedi box. can anyone please tell me if steps are wrong.:/ when i restart my network it's going down due to bridge configuration error. here is how I'm configure it.

01). create ifcfg-br0 with this lines.

DEVICE=br0 TYPE=Bridge BOOTPROTO=static BROADCAST=192.151.xxx.xxx IPADDR=192.151.xxx.xxx NETMASK=255.255.255.248 NETWORK=192.151.xxx.xxx ONBOOT=yes

02). then i change my ifcfg-eth0 as following

DEVICE=eth0 HWADDR=00:27:0E:09:0C:B2 IPV6INIT=yes IPV6_AUTOCONF=yes ONBOOT=yes BRIDGE=br0

after that i enter service network restart command and then network goes offline.

can anyone help me if I'm wrong please.

Comments

  • please check your original eth0 is it use "" at the config?

  • Change the xxx.xxx to actual numbers and try again.

  • robohost said: please check your original eth0 is it use "" at the config?

    nope. "" used only in UUID. is it wrong ?

    ATHK said: Change the xxx.xxx to actual numbers and try again.

    yeah. i use actual numbers :3

  • HaroldM said: yeah. i use actual numbers :3

    Just checking :)

    Should I assume you've also changed the HWADDR too?

    Same as here - http://docs.solusvm.com/kvm_bridge_setup

  • ATHK said: Should I assume you've also changed the HWADDR too?

    yep, i replace it with my original configuration file's HWADDR.

  • edited September 2014

    Remove the network in br0 and add the gateway to br0. Now do you know if the ips are on a vlan? If the answer is no then you have to run a routed bridge configuration.

  • Here is mine :

    eth0

    DEVICE="eth0"

    DNS1="127.0.0.1"

    HWADDR="00:1B:xx:xx:xx:xx"

    IPV6INIT="yes"

    IPV6_AUTOCONF="yes"

    NM_CONTROLLED="yes"

    ONBOOT="yes"

    TYPE="Ethernet"

    BRIDGE="br0"

    UUID="cbac3cac-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

    br0

    DEVICE="br0"

    TYPE="Bridge"

    BOOTPROTO="static"

    IPADDR="199.xxx.xxx.xxx"

    BROADCAST="199.xxx.xxx.xxx"

    NETMASK="255.255.255.xxx"

    NETWORK="199.xxx.xxx.xxx"

    GATEWAY="199.xxx.xxx.xxx"

    ONBOOT="yes"

  • edited September 2014

    DEVICE=eth0

    ONBOOT=yes

    NM_CONTROLLED=no

    BOOTPROTO=none

    HWADDR=60:EB:69:FE:4F:E2

    BRIDGE=br0

    DEVICE=br0

    ONBOOT=yes

    BOOTPROTO=static

    IPADDR=104.128.xxx.xxx

    GATEWAY=104.128.xxx.xxx

    NETMASK=255.255.255.248 # Look this up, might be .248 or .192

    DNS1=8.8.8.8

    DNS2=8.8.4.4

    DEFROUTE=yes

    IPV4_FAILURE_FATAL=yes

    IPV6INIT=no

  • Shoaib_AShoaib_A Member
    edited September 2014

    DEVICE="eth0"

    BOOTPROTO="none"

    HWADDR="00:19:BB:24:9D:68"

    ONBOOT="yes"

    TYPE="Ethernet"

    UUID="d6d38d7b-5936-4093-be64-3336c677bg89"

    BRIDGE="br0"


    DEVICE="br0"

    BOOTPROTO="none"

    DNS1="127.0.0.1"

    GATEWAY="1.1.1.62"

    HWADDR="00:19:BB:24:9D:68"

    IPADDR="1.1.1.1"

    IPV6INIT="yes"

    NETMASK="255.255.255.192"

    ONBOOT="yes"

    TYPE="Bridge"

    UUID="d6d38d7b-5936-4093-be64-3336c677bg89"

    Replace UUID & HWADDR with that of your server/interface. The value of IPV6_AUTOCONF depends on whether you setup IPv6 manually(use no) or was it automatically setup(use yes in that case) when you installed the server You may also use this calculator to know your netmask, gateway & other settings. http://www.gestioip.net/cgi-bin/subnet_calculator.cgi

  • finally i configured it with help of solusvm tech team. thank you guy's for comments and narrow me to right direction :)

Sign In or Register to comment.