Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
You will need to log into the remote server and run the ifconfig command. Other devices will be on different network segments unless the server uses bonding in which case there wouldn't be other IP addresses.
Your example is atypical unless you are running virtual servers with virtual IP addresses.
Something like:
10.0.1.1/24
10.0.2.1/24
10.0.3.1/24
Would make more sense. Each NIC is connected to a different subnet.
More typical might be
24.240.28.10
10.0.2.1/24
10.0.3.1/24
The first interface is probably connected to the internet. The second one may be on a segment with servers exposed to the internet and the third might be the internal LAN. This looks like a gateway or proxy server.
If you have a client and you want them to know your server's IP address, you could also email them that info. It is doubtful that you would have a single server on the internet with 3 IP addresses. And if the addresses are for a server on your LAN, it's non of their business knowing that info anyway.
In your first post, you were asking how to provide information on your server. In your second post, you suddenly turned things around. You want to know someone else's server's IP addresses and the second post is less hypothetical.
There's no way of really determining that for certain. The command "nslookup" will give you IP's associated with a system name, but that doesn't mean they are actually all the same system (e.g. If you do "nslookup www.google.com" you will get 4 IP addresses which I would guess are 4 different servers that serve pages in some kind of load balancing scenario.) And that only works for systems that are in DNS. If you had more specifics, I might be able to help more, but as it is, I don't know of any way to get the info you want (with Linux or any other OS).
Actually i am working in ISP company. And we need to block some illegal VoIP provider not all thats why we need to get all IP addresses of their server using their main server's IP.
They are using DNS for their customer to register but we cannot block DNS may be other web site can affected so we just can block only IPs. My question is if i got the DNS to get the IP and from that IP i can get his whole server IPs so i can put in our firewall.
If blocked only one IP which already pointed thier DNS then we have to always monitor that can point their domain to their other IPs quickly.
If you are their ISP, aren't you the one who assigned their IP addresses?
If you have abusive incoming traffic you could use nslookup to find the fqdn assigned to a single IP address and then use dig or whois to look up what addresses that domain has.
FQDM stands for fully qualified domain name. Such as "www.linuxquestions.org". Apparently no one registers a domain name with that IP address. The best you can probably do is look up in a whois site and see who owns the block of addresses. This will probably be the person's ISP.
----
I looked up the IP address you gave. It is an akamai IP address.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.