LinuxQuestions.org
Help answer threads with 0 replies.
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 07-05-2015, 02:25 PM   #1
jzakharia
LQ Newbie
 
Registered: Jun 2015
Posts: 7

Rep: Reputation: Disabled
IPV4 address does not appear when i do an IFconfig


Hello,

i am not sure what i did, but when i run an Ifconfig i dont get the IPV4 information. if i go into the ETH0 and ETH1 file i can see the information there.

i also noticed even though i have on boot set to yes when i do a network restart i have to bring up the interfaces manually. any idea why
 
Old 07-05-2015, 04:06 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,954

Rep: Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018
Quote:
Originally Posted by jzakharia View Post
Hello,
i am not sure what i did, but when i run an Ifconfig i dont get the IPV4 information. if i go into the ETH0 and ETH1 file i can see the information there.

i also noticed even though i have on boot set to yes when i do a network restart i have to bring up the interfaces manually. any idea why
Not much we can tell you, since you don't tell us what version/distro of Linux you're using, whether this is a new problem, new installation, whether you changed anything recently, or if this has EVER worked. You also don't show us the output of those commands, or give us any details. Without details, we can't guess.
 
1 members found this post helpful.
Old 07-05-2015, 04:24 PM   #3
jzakharia
LQ Newbie
 
Registered: Jun 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
i am runing RHE Santiago 6.5. this has worked for over a year without any issues. i was trying to get a backup server up and running and was going back and forth to verify the information, but someone how now when i do ifconfig nothing shows up. i can bring up the interfaces manually and when do an ifconfig i see the following picture Picture P1000405. as you can see there is no IPV4 Address.. in the other two pictures are the configurations for Eth0 and ETH1 the onboot is set to yes and i do see the IP address information for IPV4. if i perform a network restart it says OK, but then i go to an IFconfig nothing comes up. i perform an ifconfig eth0 up
ifconfig 1th1 up
ifconfig lo up

then i do an ifconfig, i see what picture P1000405 displays.
Attached Thumbnails
Click image for larger version

Name:	P1000405.JPG
Views:	1345
Size:	148.0 KB
ID:	18866   Click image for larger version

Name:	P1000403.JPG
Views:	600
Size:	161.5 KB
ID:	18867   Click image for larger version

Name:	P1000404.JPG
Views:	530
Size:	152.0 KB
ID:	18868  
 
Old 07-06-2015, 01:16 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by jzakharia View Post
i can bring up the interfaces manually and when do an ifconfig i see the following picture Picture P1000405. as you can see there is no IPV4 Address.. in the other two pictures are the configurations for Eth0 and ETH1 the onboot is set to yes and i do see the IP address information for IPV4. if i perform a network restart it says OK, but then i go to an IFconfig nothing comes up. i perform an ifconfig eth0 up
ifconfig 1th1 up
ifconfig lo up

then i do an ifconfig, i see what picture P1000405 displays.
"ifconfig up" only takes care of network layer 2, and it doesn't read the config file.

Check if there is a message in /var/log/messages.
Or, use "ifup eth0" instead of ifconfig to bring the interfaces up. You should get an error message that provides a clue. ifup does use the configuration files under /etc/sysconfig/network-scripts.
 
Old 07-08-2015, 06:42 AM   #5
navigatorsystemindia
LQ Newbie
 
Registered: Feb 2015
Location: bangalore
Posts: 3

Rep: Reputation: Disabled
Use the following commands:

ifdown eth0
ifup eth0
 
Old 07-08-2015, 03:43 PM   #6
jzakharia
LQ Newbie
 
Registered: Jun 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hello,

the solution was the IFup script was missing. once that was restored, we have no issues. thank you all for the prompt response
 
  


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
What is the size of an IPV4 IP address? turbomen Linux - Newbie 2 11-16-2010 02:44 AM
IPV4 Address kuwaitikid Linux - Newbie 2 11-04-2010 08:55 AM
[SOLVED] Suddenly not able to get ipv4 address ?! mrspaghetti Debian 5 11-24-2009 02:31 PM
I get IPV6 address and no IPV4. Why? erics_acvw Linux - Networking 2 10-22-2006 08:12 PM
no ipv4 address for dhcp client alz3k3 Linux - Networking 0 12-16-2005 09:12 AM

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

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