LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-08-2008, 02:28 PM   #1
uhcafigdc
Member
 
Registered: Oct 2008
Distribution: Debian Lenny
Posts: 39

Rep: Reputation: 15
Question Debian bridge-utils via /etc/network/interfaces


I want to set up a bridge using bridge-utils within /etc/network/interfaces like is shown here in this guide: http://compsoc.dur.ac.uk/~djw/qemu.html

The problem is that, at the same time, I want eth0 to have a specific static IP address. Right now I have a configuration for eth0. This guide tells me that I should not configure eth0 outside of the br0 configuration. So, then, how do I configure eth0?

Last edited by uhcafigdc; 12-08-2008 at 02:29 PM.
 
Old 12-08-2008, 03:50 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,170

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
The guide points is an automagic configuration. You have an existing one, so you'll have to bring the bridge up manually. Forget the guide and investigate that. You're bridging networks, so I presume you know what you're doing
 
Old 12-10-2008, 12:47 PM   #3
uhcafigdc
Member
 
Registered: Oct 2008
Distribution: Debian Lenny
Posts: 39

Original Poster
Rep: Reputation: 15
Mkay. I am not a networking person. I am trying to set this virtualization platform up, and that guide calls for the use of a virtual bridge in order for the virtual machine to have its own address on the network.

What is this thing asking for, exactly? I don't understand completely what a bridge does. A bridge makes one interface from multiple interfaces? Wouldn't, then, the virtual machine have the same address as the real interface?
Maybe that is the goal of this guide and I am mistaken.

If eth0 and tap0 are supposed to have different, and real accessible IP addresses, how are these set up? This guide here shows the interfaces being canceled (addresses set to 0.0.0.0) and then the bridge being set up. http://www.faqs.org/docs/Linux-HOWTO...ml#BASIC-SETUP

How, then, do I set up those two interfaces that are enslaved by the bridge? They need to have specific, static IP addresses.

Last edited by uhcafigdc; 12-10-2008 at 12:49 PM.
 
Old 12-10-2008, 01:24 PM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,170

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Arrow

I am not the networking person either, but let me try:

A bridge is a link between two separate networks. You have effectively 2 systems, Your own box(a) and the virtual one(b), but only one of them is connected to the network (a). There is then the questions about what the virtual machine will use for a nic.

Given that much, the idea seems to be to give the virtual box a virtual nic, and bridge that to the real nic. You've got time, haven't you? If not, give up; if you have some time, start reading somewhere like here, and explain it to us all when you figured it out.

http://www.linuxfoundation.org/en/Net:Bridge
 
  


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
Howto bridge wireless and wired network interfaces? pohl886 Debian 11 07-19-2011 06:58 PM
Debian, dhcp, and 2+ network interfaces chrisrees Linux - Newbie 3 02-15-2008 03:39 AM
Bridge Utils help! kenneth_phough Linux - Networking 0 04-13-2006 11:23 AM
What file does debian use for configuring network interfaces? Royle Debian 2 02-10-2005 04:43 PM
installing bridge-utils-1.0.4 DarkCaesar Linux - Newbie 0 08-21-2004 04:40 PM


All times are GMT -5. The time now is 11: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