LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2017, 09:58 AM   #1
koks
LQ Newbie
 
Registered: May 2017
Posts: 2

Rep: Reputation: Disabled
NIC interface- IP address


Hi Experts,
I made interface(eth0) down, i can see the ipv4 address(eth0) also went down (Its expected). But i unplugged the ethernet cable (as expected link went down but still the ipv4 address was reachable from that console). Its not reachable from outside. Any update why the ipv4 was reachable still??

Thanks,
Koks.
 
Old 05-12-2017, 10:29 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Need a bit more clarity here, Do you mean you can access the IPv4 address that is hosted on the server itself? If so, then of course you can still reach it from the server as that server is hosting it. If you mean something else then maybe need to clarify what you mean a bit better.
 
Old 05-12-2017, 10:42 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,139
Blog Entries: 4

Rep: Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227
If you configured the NIC to be "at a particular IP address," then, "it's still there," even if the network cable is unplugged. You can even try to send packets through it, although the attempt will fail.
 
Old 05-12-2017, 12:44 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,483

Rep: Reputation: 4091Reputation: 4091Reputation: 4091Reputation: 4091Reputation: 4091Reputation: 4091Reputation: 4091Reputation: 4091Reputation: 4091Reputation: 4091Reputation: 4091
Welcome to LinuxQuestions

To elaborate in simple terms for example if you run the ping command using the eth0 address from the console no data is actually sent over the cable so unplugging the cable has no effect.
 
Old 05-12-2017, 05:06 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
It may be that the NIC and various tests are not exactly as separate and they appear.

Various loopback tests and some other networking never really get to nic. Software intercepts is and returns what should not work.
 
Old 05-13-2017, 03:03 AM   #6
koks
LQ Newbie
 
Registered: May 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi,

Thank you for the reply.
@r3sistance: I too agree, IP was reachable since the server is hosting the same.
But my question is even though the NIC went down, how it holds the configured IPv4 Address?? Since its dead it should not hold the ip address as well.

@sundialsvcs: Yes, if the ip was not reachable from outside since the NIC went down. But how come it holds the ipv4 address on NIC??

Regards,
Koks.
 
  


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
Detect NIC interface in Linux shipon_97 Linux - Newbie 2 03-16-2015 09:35 AM
VLAN--Can I still have main NIC interface ip'd pgb205 Linux - Networking 1 05-14-2011 09:28 AM
two nic's same n/w different interface for gw, how done? knight-rider Linux - Networking 3 08-10-2005 11:56 PM
Mapping between interface and nic jes Linux - Hardware 1 11-10-2003 09:00 PM
Mapping between interface and nic jes Linux - Networking 1 11-10-2003 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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