[TriLUG] Bridging and adapter for KVM

Christopher Merrill via TriLUG trilug at trilug.org
Wed Jan 18 18:39:10 EST 2017


This was working after my recent AT&T Fiber install, but has broken since
putting the network behind a Linksys router.

The machine, which was not originally setup by me, has 2 ethernet
interfaces. The non-bridged interface is working fine, by which I mean that
I can SSH in and ping devices both on my network and the internet. It's
config is:

DEVICE="em2"
BOOTPROTO="dhcp"
HWADDR="A4:BA:DB:45:D9:43"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"


These are the configs for the bridged adapter:

DEVICE="em1"
ONBOOT="yes"
HWADDR="A4:BA:DB:45:D9:42"
NM_CONTROLLED="yes"
TYPE="Ethernet"
BRIDGE="br0"

DEVICE="br0"
BOOTPROTO="dhcp"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Bridge"

when I /sbin/service network restart, I get:

Shutting down interface br0:                               [  OK  ]
Shutting down interface em2:  Device state: 3 (disconnected)
                                                           [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface em1:  Error: Connection activation failed: Master
connection not found or invalid
                                                           [FAILED]
Bringing up interface em2:  Active connection state: activating
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/5
                                                           [  OK  ]
Bringing up interface br0:  Error: Connection activation failed: Failed to
determine connection's virtual interface name
                                                           [FAILED]


ifconfig yeids:

br0       Link encap:Ethernet  HWaddr A4:BA:DB:45:D9:42
          inet6 addr: fe80::a6ba:dbff:fe45:d942/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10025 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:922387 (900.7 KiB)  TX bytes:270 (270.0 b)

em2       Link encap:Ethernet  HWaddr A4:BA:DB:45:D9:43
          inet addr:10.0.0.8  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a6ba:dbff:fe45:d943/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10713 errors:0 dropped:0 overruns:0 frame:0
          TX packets:626 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:983920 (960.8 KiB)  TX bytes:137865 (134.6 KiB)

Any advice would be much appreciated!


Also, there are a few more interfaces defined, from a now-unused VMWare
Server installation that I have yet to figure out how to remove. Not sure
if these could be interfering (they were present when it was working, so I
assume not).

virbr0    Link encap:Ethernet  HWaddr 52:54:00:19:93:C4
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:963 (963.0 b)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:192.168.224.1  Bcast:192.168.224.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet addr:192.168.96.1  Bcast:192.168.96.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)




TIA,
Chris



-- 
------------------------------------------------------------------------ -
Chris Merrill                           |  Web Performance, Inc.
chris at webperformance.com                |  http://webperformance.com
919-845-7601 x701                       |  919-845-7601

Web Performance: Website Load Testing Software & Services
------------------------------------------------------------------------ -


More information about the TriLUG mailing list