ip

Multiple IP's on Linux servers

Anurag Bhatia
One of things which people often asked me around in past was on how to have multiple IPs on Linux machine under various circumstances. I know there are ton of blog posts about this but very few explain how it works and possible options under different use cases etc. I will share router side and server side config with focus on how it should be done from server end. Assuming server side config to be for Ubuntu/Debian.

Backend of Google's Public DNS

Anurag Bhatia
And finally academic session over. Done with all vivas and related stuff. Next will be exams likely in June. Time for me to get ready for travel. :) Anyways an interesting topic for today’s post - Google Public DNS. Lot of us are familier with popular (and free) DNS resolvers 8.8.8.8 and 8.8.4.4. I have covered reason in previous posts on why it tends to fail with Content Delivery networks like Akamai which rely on anycasting at bottom DNS layer and simple unicasting on application servers.

Do connected interface ping?

Anurag Bhatia
And an interesting day full of bit frustrating drama. Today was “External viva” for Major Project at college. It went good with external teacher but “internal ones” tend to cause un-necessary issues. Quite a few people put personal egos and frustration on top priority to an extent that they violate their own points for which they are arguing. They go completely unethical in way they deal with world. I am saying this with full responsibility for couple of teachers from my college who have completely lost some “fundamentals of life” as taught in childhood to most of us.

Simple bash script for IP-ASN mapping

Anurag Bhatia
Whenever I see a new unknown IP range, it gets hard to find exact source of that IP within command shell. Recently, I found a very interesting source of that information from Team Cymru. Here’s the resource. I figured out (with a friend’s help) that using their whois server - v4.whois.cymru.com one can actually grab limited information as required. E.g anurag@laptop:~$ whois -h v4.whois.cymru.com " -v 8.8.8.8" AS | IP | BGP Prefix | CC | Registry | Allocated | AS Name 15169 | 8.