Ubuntu: Creating bridge for KVM and use it in Wok, Kimchi



Question:

I have been trying for several days to access a guest machine from outside but with no success, here is my setup:

  • Ubuntu Server 16.04
  • Hosted server with cloud provider, I have 1 primary Ethernet (eth0), and another Ethernet (eth1)

Here is my /etc/network/interfaces

auto lo  iface lo inet loopback  auto eth0  iface eth0 inet static          address xx.xxx.128.19          netmask 255.255.248.0          gateway xx.xxx.128.1    auto br0  iface br0 inet static    address xx.xxx.137.26    netmask 255.255.248.0    bridge_ports eth1  

When I try this command "ip addr", i get this:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00      inet 127.0.0.1/8 scope host lo         valid_lft forever preferred_lft forever      inet6 ::1/128 scope host         valid_lft forever preferred_lft forever  2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000      link/ether 00:25:90:ca:85:30 brd ff:ff:ff:ff:ff:ff      inet xx.xxx.128.19/21 brd xx.xxx.135.255 scope global eth0         valid_lft forever preferred_lft forever      inet6 fe80::225:90ff:feca:8530/64 scope link         valid_lft forever preferred_lft forever  3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000      link/ether 00:25:90:ca:85:31 brd ff:ff:ff:ff:ff:ff  5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000      link/ether 52:54:00:d8:f1:69 brd ff:ff:ff:ff:ff:ff      inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0         valid_lft forever preferred_lft forever  6: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000      link/ether 52:54:00:d8:f1:69 brd ff:ff:ff:ff:ff:ff  

And when i try to add the bridge in WOK interface, I'm getting this error:

KCHNET0021E: Failed to activate interface eth1. Please check the physical link status.

I really appreciate any advice, and please note that I'm not that expert in Linux so details will be great


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »