Bring up the Eth0 port of an Unix machine


 
Thread Tools Search this Thread
Special Forums IP Networking Bring up the Eth0 port of an Unix machine
# 1  
Old 08-01-2012
Bring up the Eth0 port of an Unix machine

I brought down the Eth0 of an Unix machine using the below command.

Code:
ifconfig eth0 down

When i tried the brought back the eth0 using similar command, the system is expecting a reboot to bring it back.

Code:
ifconfig eth0 up

I also tried restart the network using below command but it got struck in bringing up eth0.
Code:
service network start
service network restart

But things goes fine when i reboot the unix machine. The Eth0 gets active an enables me to establish a telnet session on the respective machine. Is it possible to shut and bring back eth0 without rebooting an Unix machine
# 2  
Old 08-01-2012
What's your system? There is no current operating system that's just called UNIX, it's now a generic term for operating systems that share a few key features. uname -a if you don't know.

What does your system use eth0 for? Does your system get its IP address via DHCP? If so, you may need to renew DHCP before the network card will get an IP address and function again. How to do this depends on your system.
# 3  
Old 08-02-2012
@Corona688 Its Cent OS
# 4  
Old 08-02-2012
What does your system use eth0 for? Does your system get its IP address via DHCP? If so, you may need to renew DHCP before the network card will get an IP address and function again. 'sudo dhclient' may do the job on Centos.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

2. UNIX for Dummies Questions & Answers

To bring all characters in one line in unix

How to bring all characters in one line in unix/solaris ? Eg : If it is a b c then it should show abc (2 Replies)
Discussion started by: mahen1naik
2 Replies

3. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

4. UNIX for Advanced & Expert Users

how to find out if a port is available on a remote machine?

hi, I can ping into another unix machine, but I cannot seem to access a certain application. I think it might be because I am now allowed to connect to the port (because of firewall configuration). How can I find out if I have access to a port on another machine? thanks (2 Replies)
Discussion started by: JamesByars
2 Replies

5. Shell Programming and Scripting

ftp from windows to unix using a perl script on unix machine

i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies

6. IP Networking

To find switch port of machine running under VMware

I would like to find a switch port( of a VLAN of CISCO switch) of a machine which is acutally running under VMware. Now I only know about IP & MAC address of a machine which running under VMware and I do not know about the real machine where VMware is installed. Is there any possibility? (2 Replies)
Discussion started by: Tlogine
2 Replies

7. UNIX for Advanced & Expert Users

accessing unix machine through com port

sirs, iam using cygwin software (linux environment on windows xp). I have connected unix machine to COM port to which i can access through hyper terminal. Can i access the unix machine from the cygwin (linux)...if so how it can be done. please give ur valuable suggestions................. (0 Replies)
Discussion started by: manikumar
0 Replies

8. HP-UX

ping Port number of HPUX machine

I have 2 HPUX machines. Let say machine A and B. In HPUX machine A, I would like to ping the port number of machine B. Is there any command or any HPUX freeware available? In windows, I can use some freeware to ping port to any type of machines (e.g. HPUX, Windows and etc). See URL below. ... (1 Reply)
Discussion started by: Teh Tiack Ein
1 Replies

9. UNIX for Advanced & Expert Users

missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
Login or Register to Ask a Question