LinuxQuestions.org
Visit Jeremy's Blog.
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 04-05-2014, 06:13 AM   #1
damber
Member
 
Registered: Nov 2006
Location: UK
Distribution: RHEL/CentOS, Ubuntu, Mint
Posts: 46

Rep: Reputation: 15
routed bridge networking...


Hi,

I am trying to setup networking for a CentOS based KVM virtualisation environment on the host (I will ultimately be using OpenNebula to manage this environment). I've been allocated 1 fixed IP address for the main server and a /29 subnet (6 usable IPs) by my hosting provider hetzner.de. Unfortunately their documentation on this is not very clear - it describes setting up a bridged network in detail, but only casually refers to a routed approach being preferred - which I later find out is mandatory with a subnet from their customer support. All other how-tos I can find describe a bridged set-up (including the OpenNebula documentation). Trying any of these results in the server becoming unreachable.

Another point I'm confused about: trying to configure this through webmin (to help prevent any misconfigurations by my hand), I cannot create a bridged device unless the main interface (eth0) has the IP removed. As far as I understand, the main IP Address must be allocated to that interface to allow for routing... right? in which case, how would I configure a bridge device to route to, if these constraints are accurate?

So, ultimately, how do I configure a server with a single NIC (eth0) for routed networking using a bridge device (br0) with a /29 subnet? Or is hetzner incorrect in their assertion that I must use routing?

Thanks for your help,
Damian
 
Old 04-05-2014, 09:52 AM   #2
damber
Member
 
Registered: Nov 2006
Location: UK
Distribution: RHEL/CentOS, Ubuntu, Mint
Posts: 46

Original Poster
Rep: Reputation: 15
OK, I think I managed to figure this out - seems the webmin interface was confusing me a little - I was trying to attach the bridhe device (br0) to the eth0 device, whereas I don't think this should be done for a routed approach. I then created a route to the subnet on br0 with the main eth0 ip address as the gateway and it seems that things are working ok from an initial set of pings etc.

Unfortunately, installing OpenNebula then trashed this configuration, and seems to want to force a bridged set-up.... I may be back with another thread if I can't figure it out :-(
 
  


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
Bridge Networking: Access VM behind bridge from outside lin_user2004 Linux - Networking 9 07-26-2013 05:30 AM
[SOLVED] Bridge networking on RHEL mcleandl Linux - Networking 2 10-06-2010 07:47 AM
Bridge networking for Xen sparkshankar Linux - Server 1 09-30-2009 04:53 AM
slackware networking through XP bridge zigmund555 Linux - Networking 5 01-31-2004 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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