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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-12-2017, 09:58 AM
|
#1
|
LQ Newbie
Registered: May 2017
Posts: 2
Rep:
|
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.
|
|
|
05-12-2017, 10:29 AM
|
#2
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
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.
|
|
|
05-12-2017, 10:42 AM
|
#3
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,861
|
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.
|
|
|
05-12-2017, 12:44 PM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,183
|
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.
|
|
|
05-12-2017, 05:06 PM
|
#5
|
Moderator
Registered: Mar 2008
Posts: 22,128
|
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.
|
|
|
05-13-2017, 03:03 AM
|
#6
|
LQ Newbie
Registered: May 2017
Posts: 2
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|