Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Howto create an empty bridge?

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
COiN3D
Guru
Guru
User avatar
Posts: 543
Joined: Mon Aug 02, 2004 11:20 pm
Location: Munich, Germany

Howto create an empty bridge?

  • Quote

Post by COiN3D » Wed May 14, 2008 7:02 pm

Hi there,

by using "brctl add bridgename" it is possible, to create an empty bridge without any interfaces in it. I guess that gentoo doesnt allow that. When I add

Code: Select all

bridge_xenbr0=""

config_xenbr0=( "10.0.0.1/24" )
in /etc/conf.d/net, it gives me errors starting my bridge:

Code: Select all

 # /etc/init.d/net.xenbr0 start
 * Starting xenbr0
 *   Bringing up xenbr0
 *     10.0.0.1/24
 *     network interface xenbr0 does not exist
 *     Please verify hardware or kernel module (driver)
                                                                          [ !! ]
                                                                          [ !! ]
Only if I create the empty bridge with brctl add xenbr0, gentoos init script is able to give it an network address. Is there a work around for that?

Thanks
e17 documentation | Be free and use Jabber as your IM! | Combine IRC and IM
Top
COiN3D
Guru
Guru
User avatar
Posts: 543
Joined: Mon Aug 02, 2004 11:20 pm
Location: Munich, Germany

  • Quote

Post by COiN3D » Thu May 15, 2008 4:10 pm

I didn't really solve the problem but created an evil work-around by creating a "dummy" tuntap device.

Code: Select all

tuntap_dummy="tap"
config_dummy=( "null" )

#config_eth0=( "null" )

bridge_xenbr0="dummy"
config_xenbr0=( "10.0.0.1/24" )
e17 documentation | Be free and use Jabber as your IM! | Combine IRC and IM
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic