LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-19-2012, 03:49 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
CentOS 6 - problem on networking


Hi all,

Host - Ubuntu 12.04 64bit
VM - CentOS6
Virtualizer - VirtualBox

On reboot device br0 does not seem to be present. I must run;
# /usr/sbin/brctl addbr br0
# /usr/sbin/brctl setfd br0 0
# /usr/sbin/brctl sethello br0 0
# /usr/sbin/brctl addif br0 eth0
# service network restart

# brctl show
Code:
bridge name     bridge id               STP enabled     interfaces
br0             8000.0800277eccb9       no              eth0
Then it works

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
NETMASK=255.255.255.0
#IPADDR=192.168.124.10
GATEWAY=192.168.124.1
TYPE=Ethernet
# cat /etc/sysconfig/network-scripts/ifcfg-br0
Code:
DEVICE=br0
BOOTPROTO=none
#HWADDR=00:1c:c0:61:d8:b2
ONBOOT=yes
IPADDR=192.168.0.214
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
TYPE=bridge
USERCTL=no
IPV6INIT=no
PEERDNS=yes
Please help. TIA

B.R.
satimis
 
Old 06-19-2012, 10:46 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
You have BOOTPROTO set to none. Perhaps you should set it to either static or dhcp depending on what you want.

Examples.

*edit*: perhaps not, centos takes different values apparently.

Last edited by sag47; 06-19-2012 at 10:51 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos networking dom0 bbolin Linux - Virtualization and Cloud 9 08-13-2010 11:11 PM
VM CentOS 5 Networking Issues LinuxCrayon Linux - Networking 2 02-04-2008 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration