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 11-10-2016, 01:58 PM   #1
gglq000
Member
 
Registered: Mar 2012
Posts: 65

Rep: Reputation: Disabled
trouble configuring ethX interface on rhel


From my experience, RHEL is not good at handling the dynamic mac address change as a result of VNIC swapping or some other incidence. Here is the output of
"cat /etc/sysconfig/network-scripts/ifcfg-eth3"
after setting to use STATIC IP address.
DEVICE="eth3"
BOOTPROTO="STATIC"
IPADDR=<IP address>
NETMASK=255.255.255.0
GATEWAU=<gateway IP>
HWADDR=<MAC addres>
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
NM_CONTROLLED="no"
TYPE="Ethernet"

I also deleted /etc/udev/rules.d/70-persistent-net.rules file so that it is re-generated with the correct configuration after next reboot.

After these two main steps, the network seem to configure correctly but not this time:

But from what I see after reboot, the ip address for eth3 is not static address I specified here. It gets DHCP IP address.

I am not sure why it is ignoring static setting.
 
Old 11-10-2016, 03:35 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,839

Rep: Reputation: 160Reputation: 160
BOOTPROTO should be none if static IP is used. Following is example configuration.

Quote:
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
NETWORK=10.0.1.0
NETMASK=255.255.255.0
IPADDR=10.0.1.27

Last edited by nini09; 11-10-2016 at 03:36 PM.
 
Old 11-10-2016, 04:39 PM   #3
gglq000
Member
 
Registered: Mar 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
BOOTPROTO should be none if static IP is used. Following is example configuration.

nope did not work, wasted my time. Please post for stuff that you know not guess.
 
Old 11-10-2016, 04:47 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by gglq000 View Post
nope did not work, wasted my time. Please post for stuff that you know not guess.
For RHEL problems contact Red Hat support. You are a paying customer and entitled to have fast and professional help.
 
Old 11-10-2016, 08:18 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,887

Rep: Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615
As noted above, Red Hat offers wonderful support and as a customer you are encouraged to take advantage of it.

Last edited by jefro; 11-10-2016 at 08:21 PM.
 
Old 11-10-2016, 10:23 PM   #6
gglq000
Member
 
Registered: Mar 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
As noted above, Red Hat offers wonderful support and as a customer you are encouraged to take advantage of it.
lol
 
Old 11-11-2016, 02:09 PM   #7
gglq000
Member
 
Registered: Mar 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
using multipronged approach. i hope i can still get support here and it will be useful for others too.
 
Old 11-11-2016, 06:56 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,887

Rep: Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615
You are correct that you should be able to receive help with red hat on LQ. My guess is most members kind of shy away from commercial products as a general rule. Many are quite against non open sourced projects. Pretty much anytime someone posts a RH question they tend to get few answers.

Wish I knew the answer to your question. I would tell you.

Try to be a be more favorable to those trying to help please.

Maybe a member has a better solution.
 
  


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
Trouble with physdev module and bridging finding wrong ethX crust Linux - Networking 1 09-04-2012 06:02 PM
[SOLVED] Trouble with configuring printer in RHEL 6 kashiqirphan Linux - Newbie 5 03-11-2012 04:07 AM
HowTo Run a script on ifup ethX and a different one for ifdown ethX dscholl Red Hat 3 07-07-2009 02:09 PM
IPTables interface switch (-i ethx) problem w/ bridge-Firewall lsbrasil Linux - Networking 3 02-09-2008 07:10 AM
Configuring a 4 interface network evalastin Linux - Networking 0 06-28-2004 01:16 PM

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

All times are GMT -5. The time now is 07:59 AM.

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