Koozali.org: home of the SME Server

How to disable bonding?

Offline Horsefeathers

  • *
  • 11
  • +0/-0
How to disable bonding?
« on: January 13, 2008, 09:18:02 PM »
I've just set up a simple SME install to be used as an internal server (not gataway), in a machine with a single embedded nic.  SME seems intent on setting the nic up as  bond0, and I see no obvious way to shut off bonding and just have a simple "eth0" setup.  As it is, the server cannot get to the Internet, and it is also inaccessible from the LAN.  So, how do I shut off bonding and simplify this setup?  (It also seems to me that you should be able to disable it during the install...)

Thanks in advance for your helpful suggestions.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: How to disable bonding?
« Reply #1 on: January 13, 2008, 10:36:53 PM »
I've just set up a simple SME install to be used as an internal server (not gataway), in a machine with a single embedded nic.  SME seems intent on setting the nic up as  bond0, and I see no obvious way to shut off bonding and just have a simple "eth0" setup.

SME Server does not set up by default NIC bonding, if you only have one network card installed then you will not have the option of choosing NIC bonding.  Also you have to have two of the same network cards installed if you was to use NIC bonding and even then when setting up the server the default option for NIC bonding is disabled.

If you still feel SME Server is not working out of the box then please report to our bug tracker giving us your full server history and hardware details. Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #2 on: January 14, 2008, 12:01:54 AM »
SME Server does not set up by default NIC bonding, if you only have one network card installed then you will not have the option of choosing NIC bonding. 

And yet that's exactly what happened.  Ifconfig shows only bond0 -- no eth0.  I recall seeing an option somewhere along the way (not sure whether that was during install or from the admin panel) for setting up bonding... and of course (since I have only the one nic) I elected to not use it.  It was activated anyway.  Since this is a new install, I'll try loading it again and make note of where (or if) I see the bonding option.  I will also take a hardware inventory and submit everything to the bug tracker.  Thanks for your feedback.

One more question: is there in fact a way to manually kill bonding and revert to a single nic setup via the command line? 

Offline raem

  • *
  • 3,972
  • +4/-0
Re: How to disable bonding?
« Reply #3 on: January 14, 2008, 03:50:52 AM »
Horsefeathers

login as admin
select Configure this server
one of the screens allows you to select bonding or not
so just change the setting to not select bonding (if it is not already set to that).
...

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #4 on: January 14, 2008, 04:19:11 AM »
Horsefeathers

login as admin
select Configure this server
one of the screens allows you to select bonding or not
so just change the setting to not select bonding (if it is not already set to that).


Thank you, Ray... that's exactly what I've done (again), and there was no opportunity for me to select/deselect bonding during the configure process.  I am able to set the IP address, the role of the server, etc, but nothing about bonding.  And then upon logging in as root, I see that bond0 still exists at IP address 1.1.1.1 (?) and no eth0 to be found.  I am more than willing to default to assuming human error, but this is looking more like a bug to me after having installed this twice.  At least I see nothing (documented, anyway) I could have done to prevent this from happening.

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #5 on: January 14, 2008, 07:44:30 AM »
byte:

I tried to open a new Bugzilla account, but I got a "Forbidden" page when signing up.  Here are my relevant hardware details, so that you can at least comment on them for now... please let me know if there is anything else you need. :pint:

[Fresh install of SME 7.3 (server only)]
CPU: Athlon XP-M 2800+
Chipset: SiS 761GX/965L
RAM: 1 GB DDR3200
MB: PCChips A31G v1.1 http://www.pcchips.com.tw/PCCWeb/Products/ProductsDetail.aspx?MenuID=21&LanID=0&DetailID=367&DetailName=Specification




Offline raem

  • *
  • 3,972
  • +4/-0
Re: How to disable bonding?
« Reply #6 on: January 14, 2008, 08:19:54 AM »
Horsefeathers

If you search on bonding, there was a suggestion to reconfigure to gateway mode in order to undo bonding, then reconfigure back to server only mode.
« Last Edit: January 14, 2008, 08:33:34 AM by RayMitchell »
...

Offline byte

  • *
  • 2,183
  • +2/-0
Re: How to disable bonding?
« Reply #7 on: January 14, 2008, 12:22:28 PM »
I tried to open a new Bugzilla account, but I got a "Forbidden" page when signing up.

Try again, if you still have issues please email staff [at] contribs [dot] org - Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #8 on: January 14, 2008, 04:18:30 PM »
Horsefeathers

If you search on bonding, there was a suggestion to reconfigure to gateway mode in order to undo bonding, then reconfigure back to server only mode.

I did search the site for "bonding," and didn't find anything relevant.  If you could direct me to a link, I'd appreciate it.  As for your suggestion... it doesn't look like you can select gateway mode if you have only one nic installed. 

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #9 on: January 14, 2008, 04:19:08 PM »
Try again, if you still have issues please email staff [at] contribs [dot] org - Thanks.

Thanks.  Will do.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to disable bonding?
« Reply #10 on: January 14, 2008, 04:19:49 PM »
If you search on bonding, there was a suggestion to reconfigure to gateway mode in order to undo bonding, then reconfigure back to server only mode.

If that makes any difference, there is a bug. Please post details to Bugzilla. Thanks.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: How to disable bonding?
« Reply #11 on: January 14, 2008, 04:57:21 PM »
Charlie

Quote
If that makes any difference, there is a bug. Please post details to Bugzilla.

And that's what I would have said in my next post !
...

Offline Horsefeathers

  • *
  • 11
  • +0/-0
Re: How to disable bonding?
« Reply #12 on: January 14, 2008, 10:48:40 PM »
I've tried again to setup an account on Bugzilla, but am still unable to sign up for some reason.  So for the moment, I am waiting for a staffer to read my email and provide me with the secret handshake to get me in.  :wink: 

If CentOS/Ubuntu/FC8 work on this machine but SME won't, there's probably a bug in SME -- no insult intended, just observation.  SME looks like a potentially killer distro for my purposes, and I'd like to hang in and help you improve the product if you folks allow me.  In the meantime, I also need to get this server rolling soon and am resisting the temptation to punt this thing and load up CentOS.  I'm sure you all understand.

Thanks.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: How to disable bonding?
« Reply #13 on: January 14, 2008, 10:54:24 PM »
If CentOS/Ubuntu/FC8 work on this machine but SME won't, there's probably a bug in SME -- no insult intended, just observation.  SME looks like a potentially killer distro for my purposes, and I'd like to hang in and help you improve the product if you folks allow me.  In the meantime, I also need to get this server rolling soon and am resisting the temptation to punt this thing and load up CentOS.  I'm sure you all understand.

SME Server 7.3 is actually based on CentOS 4.6, what I'm finding strange is you physically only have one Network card installed yet ifconfig is showing bond0 :-?

Thanks for your time as well.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to disable bonding?
« Reply #14 on: January 14, 2008, 11:08:12 PM »
I've just set up a simple SME install to be used as an internal server (not gataway), in a machine with a single embedded nic.  SME seems intent on setting the nic up as  bond0, and I see no obvious way to shut off bonding and just have a simple "eth0" setup.

I'm pretty sure that the bond0 is a red-herring, and the core of your problem is the missing eth0, and that would be because your NIC is not detected by and supported by the CentOS4/RHEL4 kernel. Please provide full details via the bug tracker - we're not making progress here. Thanks.