The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
grep unix.com with google



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-12-2009
Registered User
 

Join Date: May 2009
Location: Irving,TX
Posts: 34
ifconfig , ifdown, ifup

hi there

the ethernet wire was out of the pc when the system started.


Code:
#ifconfig
#ifconfig -a

i did not get any ip for eth0.
i plug the cable into the pc


Code:
#ifdown eth0
#ifup eth0

now the ip address is assigned to eth0

Question is : IS this right way to bring ethernet down and then bring up in case of any problem with NIC?

thanks
  #2 (permalink)  
Old 11-12-2009
fpmurphy's Avatar
Moderator
 

Join Date: Dec 2003
Location: Florida
Posts: 2,030
Yes, this is a valid way to bring up and down an interface.
  #3 (permalink)  
Old 11-13-2009
Registered User
 

Join Date: May 2009
Location: Irving,TX
Posts: 34
thanks
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
log in ifup borobudur Shell Programming and Scripting 6 03-31-2009 03:01 PM
When is 'ifup' really done? jjinno UNIX for Advanced & Expert Users 0 05-03-2008 07:39 PM
ifconfig!!!! moco Shell Programming and Scripting 3 04-12-2007 09:22 AM
ifconfig Jariya OS X (Apple) 0 08-12-2005 07:10 AM
ifconfig breigner UNIX for Dummies Questions & Answers 7 04-16-2004 06:14 PM



All times are GMT -4. The time now is 10:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0