LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-02-2017, 12:12 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Syntax question about network bond configuration file


Hello --

We have a Dell PowerEdge 730xd server running the Red Hat Enterprise 7.2 operating system. I am in the process of setting up an ifcfg-bond0 file to enable four NIC's on an expansion card to connect in one channel. The ifcfg file for each NIC has been modified to reference the bond0 file as MASTER, and the SLAVE=yes line has been added to each file.

There is a separate motherboard NIC that is connected to the network, and its configuration file contains the following entries:

Quote:
DNS1="10.1.1.1"
DNS2="10.1.1.2"
DOMAIN=corporate.com enterprise.com"
This NIC will be disconnected from the network, and it will be configured with the following settings:

Quote:
DEFOUTE=”no”
ONBOOT=”no”
Can the syntax referencing the DNS servers and domain suffixes be included verbatum in the ifcfg-bond0 file, or is the syntax different?
 
Old 10-04-2017, 01:40 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051
i have no expertise with the things you're talking about, but i notice 2 things:
  • you are asking about syntax. why? is there a problem with what you tried? you never explain.
  • your 2 code examples use different doublequotes: ” likely won't work in a config file, it has to be ".
hope this helps.
 
  


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
Syntax Question for CentOS Config File Likeless Linux - Server 2 06-30-2016 01:02 AM
Bonding 4 nics in one bond configuration rhbegin Linux - Networking 2 09-07-2013 05:40 PM
Can I use ifcfg-bond to bond VPN tuns? rladams65 Linux - Networking 0 03-13-2012 09:02 PM
Configuration File for Vi or Vim Editor for Syntax Highlighting Hi_This_is_Dev Linux - General 5 09-12-2010 10:33 AM
network bridge / bond - slackware network init scripts Slax-Dude Slackware 1 07-17-2009 06:56 AM

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

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