All of lore.kernel.org
 help / color / mirror / Atom feed
* Trying to set up a bridge for KVM
@ 2015-06-08  3:43 Leroy Tennison
  2015-06-08 12:09 ` Joel Gerber
  2015-06-09  3:12 ` Leroy Tennison
  0 siblings, 2 replies; 3+ messages in thread
From: Leroy Tennison @ 2015-06-08  3:43 UTC (permalink / raw)
  To: lartc

I've used what I've found on the web and even copied a working config 
from a hypervisor at work running the same version of openSuSE (13.1) I 
use at home - nothing works at home.  The working config from the 
hypervisor (the only change is the IP address for home) is listed below, 
what am I doing wrong?  (Thanks for your help).

ifcfg-br0

    USERCONTROL='no'
    STARTMODE='auto'
    BOOTPROTO='static'
    BRIDGE='yes'
    BRIDGE_STP='off'
    BRIDGE_FORWARDDELAY='0'
    BRIDGE_PORTS='eth0'
    BRIDGE_PORTPRIORITIES='-'
    BRIDGE_PATHCOSTS='-'
    NETWORK=''
    NETMASK=''
    BROADCAST=''
    PREFIXLEN=''
    IPADDR='192.168.1.101/24'
    ETHTOOL_OPTIONS=''
    MTU=''
    NAME=''
    REMOTE_IPADDR=''

ifcfg-eth0

    BOOTPROTO='none'
    BROADCAST=''
    ETHTOOL_OPTIONS=''
    IPADDR=''
    MTU=''
    NAME='Intel Ethernet controller'
    NETMASK=''
    NETWORK=''
    REMOTE_IPADDR=''
    STARTMODE='auto'
    USERCONTROL='no'

I can't even ping the default gateway.  My configuration shows:

ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 brd 127.255.255.255 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 pfifo_fast 
master br0 state UP qlen 1000
     link/ether 00:1e:8c:f1:68:94 brd ff:ff:ff:ff:ff:ff
     inet 192.168.1.6/24 brd 192.168.1.255 scope global eth0
        valid_lft forever preferred_lft forever
     inet6 fe80::21e:8cff:fef1:6894/64 scope link
        valid_lft forever preferred_lft forever
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
     link/ether 00:1e:8c:f1:68:94 brd ff:ff:ff:ff:ff:ff
     inet 192.168.1.101/24 brd 192.168.1.255 scope global br0
        valid_lft forever preferred_lft forever
     inet6 fe80::21e:8cff:fef1:6894/64 scope link
        valid_lft forever preferred_lft forever

ip route

default via 192.168.1.1 dev eth0  proto static
127.0.0.0/8 dev lo  scope link
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.6
192.168.1.0/24 dev br0  proto kernel  scope link  src 192.168.1.101

I previous (and now current) configuration was DHCP which is where 
probably the 192.168.1.6/24 comes from (and the DHCP scope stops at node 
100).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-09  3:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-08  3:43 Trying to set up a bridge for KVM Leroy Tennison
2015-06-08 12:09 ` Joel Gerber
2015-06-09  3:12 ` Leroy Tennison

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.