LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 04-01-2013, 02:55 PM   #1
sanaz
Member
 
Registered: Aug 2012
Posts: 76

Rep: Reputation: Disabled
create a bridge, eth0 does not exists


Hi all, I am trying to create a bridge for VMs. x
When I am trying to add eth0 to bridge, I got error:
Code:
$sudo /usr/sbin/brctl  addif br0 eth0
interface eth0 does not exist!
This is the result of ifconfig:
Code:
$ ifconfig
br0: 

lo: 

p13p1: 

virbr0: 

virbr0-nic: 

vnet0:
Now I am wondering how can I create eth0 or which interface should I add to bridge?
 
Old 04-01-2013, 03:25 PM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 837

Rep: Reputation: 91
p13p1 is the physical interface you have
 
Old 04-01-2013, 04:39 PM   #3
sanaz
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
I assigned the p13p1 to the bridge and I lost my connection, now I cannot ssh at all to my server.
 
Old 04-04-2013, 02:50 PM   #4
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 515

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by sanaz View Post
I assigned the p13p1 to the bridge and I lost my connection, now I cannot ssh at all to my server.
Bad move. Stuff like this implies network connection loss.

If you want to create a bridge for VMs, you have to transfer the physical device's network config to the bridge leaving the physical device with no IP address (at least i did it like this and works). Naturally you will have to change any routing/firewalling you have there to accomodate the new device name.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
? how can i bridge wlan0 to eth0, Master_CAPS Linux - Newbie 1 03-24-2012 08:03 PM
Atheros Network Card Not available...eth0 no such device exists amarglobal Linux - Newbie 1 04-20-2010 05:29 AM
Determining IP information for eth0...SIOCADDRT: File exists c087 Linux - Networking 1 07-23-2006 08:06 AM
Network exists, eth0/route/something fails 43r05p4c3 Linux - Networking 5 07-10-2006 01:06 PM
SIOCADDRT: File exists SIOCCADDRT: File Exists Failed to bring up eth0. opsraja Linux - Networking 0 01-10-2005 08:29 AM


All times are GMT -5. The time now is 05:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration