Dear all,

I've encountered the following problem:
Configuration: fresh installed CentOS 6.5 (kernel 2.6.32-431), latest 2.3.0 LTS Open vSwitch. Problem: after boot eth0 and br-eth0 are down. Thus, dhclient failed at start.
To obtain IP I've execute next commands:

ip link set eth0 up
ip link set br-eth0 up
dhclient br-eth0

After that IP is obtained successfully. I didn't find out why interfaces are unable to start
It seems to be an 2.3.0 version bug.

I attached difference between clear CentOS and my /etc/sysconfig/network-scripts directories.

If you have any questions, or require any additional information, please feel free to ask.
I would be grateful for//any help and look forward to your reply.

--
Regards,
Alexander Burluka

diff -Nu network-scripts/ifcfg-br-eth0 network-scripts-original/ifcfg-br-eth0
--- network-scripts/ifcfg-br-eth0	2014-08-28 14:07:24.544838940 +0400
+++ network-scripts-original/ifcfg-br-eth0	1970-01-01 03:00:00.000000000 +0300
@@ -1,8 +0,0 @@
-DEVICE="br-eth0"
-BOOTPROTO="dhcp"
-DEVICETYPE="ovs"
-IPV6INIT="no"
-NM_CONTROLLED="yes"
-ONBOOT="yes"
-SLAVE="yes"
-TYPE="OVSBridge"
diff -Nu network-scripts/ifcfg-eth0 network-scripts-original/ifcfg-eth0
--- network-scripts/ifcfg-eth0	2014-08-28 14:07:24.576838941 +0400
+++ network-scripts-original/ifcfg-eth0	2014-08-28 14:07:55.864839648 +0400
@@ -1,6 +1,7 @@
-DEVICE="eth0"
-DEVICETYPE="ovs"
-HWADDR="00:1C:42:5B:A7:77"
-ONBOOT="yes"
-OVS_BRIDGE="br-eth0"
-TYPE="OVSPort"
+DEVICE=eth0
+HWADDR=52:54:00:DD:7E:4C
+TYPE=Ethernet
+UUID=83c84378-9504-4c68-9bdd-4560071da024
+ONBOOT=no
+NM_CONTROLLED=yes
+BOOTPROTO=dhcp
diff -Nu network-scripts/ifcfg-venet0 network-scripts-original/ifcfg-venet0
--- network-scripts/ifcfg-venet0	2014-08-28 14:07:24.560838940 +0400
+++ network-scripts-original/ifcfg-venet0	1970-01-01 03:00:00.000000000 +0300
@@ -1,3 +0,0 @@
-DEVICE=venet0
-ONBOOT=yes
-STARTMODE='onboot'
diff -Nu network-scripts/ifdown-venet network-scripts-original/ifdown-venet
--- network-scripts/ifdown-venet	2014-08-28 14:07:24.508838939 +0400
+++ network-scripts-original/ifdown-venet	1970-01-01 03:00:00.000000000 +0300
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-CONFIG=${1}
-if [ -f "$CONFIG" ]; then
-	. "$CONFIG"
-vznet=$DEVICE
-else
-vznet=$1
-fi
-
-# VZNET device
-echo "Shutting down interface $vznet: "
-	ip link set $vznet down
-
-
diff -Nu network-scripts/ifup-arp network-scripts-original/ifup-arp
--- network-scripts/ifup-arp	2014-08-28 14:07:24.580838941 +0400
+++ network-scripts-original/ifup-arp	1970-01-01 03:00:00.000000000 +0300
@@ -1,25 +0,0 @@
-#!/bin/bash
-# Copyright (C) Parallels IP Holdings GmbH, 1999-2014. All rights reserved.
-#
-# Update VEs arp on interface UP
-#
-
-[ ! -f /etc/sysconfig/vz-scripts/vz-functions ] && exit 0
-. /etc/sysconfig/vz-scripts/vz-functions
-
-update_arp()
-{
-	for veip in $(awk '!/Version/ { print $1 }' /proc/vz/veip); do
-		 /sbin/ip neigh add proxy ${veip} dev ${DEV} > /dev/null 2>&1
-	done
-}
-
-[ ! -f /proc/vz/veip ] && exit 0
-vzgetnetdev
-DEV=$1
-[ -z "${DEV}" -o -z "${NETDEVICES}" ] && exit 0
-if ! echo "${NETDEVICES}" | grep -qw "${DEV}"; then
-	exit 0
-fi
-update_arp
-exit 0
diff -Nu network-scripts/ifup-venet network-scripts-original/ifup-venet
--- network-scripts/ifup-venet	2014-08-28 14:07:24.524838939 +0400
+++ network-scripts-original/ifup-venet	1970-01-01 03:00:00.000000000 +0300
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-CONFIG=${1}
-if [ -f "$CONFIG" ]; then
-	. "$CONFIG"
-	vznet=$DEVICE
-else
-	vznet=$1
-fi
-
-if [ "x$vznet" = "x" ]; then
-	echo "Error: the network interface is not specified"
-	exit 1
-fi
-
-if ! ip link show dev $vznet >/dev/null 2>&1; then exit 0; fi
-
-# VZNET device
-
-. /etc/sysconfig/vz-scripts/vz-functions
-. /etc/sysconfig/vz
-
-veip="/proc/vz/veip"
-
-# configure interface
-ip link set $vznet up 2>/dev/null
-echo "Bringing up interface $vznet: "
-	ip addr add 0.0.0.0/0 dev $vznet 2>/dev/null
-	ip -6 addr add fe80::1/128 dev $vznet 2>/dev/null
-
-echo "Configuring interface $vznet: "
-	sysctl -w net.ipv4.conf.$vznet.send_redirects=0 2>/dev/null
-	sysctl -w net.ipv4.conf.$vznet.rp_filter=0 2>/dev/null
-
-
-if [ -r $veip ]; then
-	vzgetnetdev
-
-	for veip in `awk '!/^Version:/ { print $1; }' < $veip`; do
-		vzarp add $veip
-		vzaddrouting $veip
-	done
-fi

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to