The Internet Protocol (IP) system designates how networked devices can address one another across the internet. The first major version of IP, IPv4, was deployed to the public ARPANET in 1983. IPv4 uses 4 one byte segments to designate a devices address, this 32-bit address space allows for 232 addresses to be used in total. The next major iteration of IP is called IPv6 and it uses a 128-bit address space allowing for significantly more IP addresses to be assigned. Continue reading “Difference Between ipv4 and ipv6”
Knowing your server’s IP address(s) can be a useful bit of information to have for various reasons. After all, other than your domain, the server’s IP is the main address used to reach the server. Knowing a server’s IPs may be necessary when making changes to: DNS, networking, and security. A server may have a single IP, or multiple IPs, sometimes you need a quick way double check since it’s easy to forget.
This tutorial will teach you how to check the IPs of any modern Linux server. To follow along will simply need access to the server via SSH or TTY.
- This tutorial requires basic knowledge of SSH and command line.
See our KB article on command line access via SSH.
- You must have SSH access to the server.
Check IPs with Command Line
- Begin the process by logging into your server via SSH:
- Now logged in via SSH, run the following command to check the servers IP:
ip routeThis command is using the `ip` tool and is calling the `route` object, this command prints the current routing table.
Reading the Results
Once you execute that command you’ll see output similar to the following text. This is showing the servers IP routing table, essentially this is a set of rules used to determine where data will be directed.
When using this technique to find a server’s IPs you’ll keep an eye out for lines containing `src` followed by an IP. On these lines, the IP address following `src` are an IP configured on the server.
203.0.113.0/24 dev eth0 proto kernel scope link src 203.0.113.86
126.96.36.199/16 dev eth0 scope link metric 1002
In the example results, shown above, you see a severs routing table showing that the server has an IP address of: `203.0.113.86`.
While it may not look like much to new users these lines are dense with information. Each line of the routing table is there to describe a different behavior or condition. More information on these can be found in the ip commands manual pages, these can be found in the command line using `man ip route`. You can also read the man page online here.
Liquid Web allows additional IP addresses to be added to your server for a minimal fee. Having multiple IP addresses on your server can be useful when needing to differentiate domains hosted on your server. With multiple IPs you can setup advanced firewall configurations, use different hostnames with reverse DNS and more.
In any case, if you need to add more IPs to your server LiquidWeb provides a simple process through our Manage interface. Continue reading “Adding IP Addresses to Your Server”
II. How To Create an Email Account in cPanel
III. How To Set Your Default Address in cPanel
IV. How To Set up an Autoresponder in cPanel
V. How To Set up Email Forwarding in cPanel
VI. How To Set up Email Filters in cPanel
VII. How To Enable Spam Protection in cPanel
VIII. How To Add an MX Entry in cPanel
IX. How To Use Webmail from Within cPanel
X. How To Change Your cPanel Password
XI. How To Update Your Contact Information in cPanel
XII. How To Change Your cPanel Theme
XIII. How To Change the Primary Language in cPanel
XIV. How To Add a Record With the DNS Zone Editor in cPanel
XV. How To Back up Your Website in cPanel
XVI. How To Use the Disk Space Usage Tool in cPanel
XVII. How To Create Additional FTP Accounts in cPanel
XVIII. How To Password Protect a Directory in cPanel
XIX. How To Use the IP Blocker in cPanel
XX. How To Set up Hotlink Protection in cPanel
XXI. How To Create a Subdomain in cPanel
XXII. How To Create an Addon Domain in cPanel
XXIII. How To Create a Domain Alias in cPanel
XXIV. How To Set up Domain Redirects in cPanel
XXV. How To Create a MySQL Database in cPanel
XXVI. How To Use the Index Manager in cPanel
XXVII. How To Create Custom Error Pages in cPanel
XXVIII. How To Set up a Cron Job in cPanel
- This tutorial assumes you’ve already logged in to cPanel, and are starting on the home screen.
- Now let’s learn how to use the IP Blocker.
- Click the "IP Blocker" icon.
- Enter an IP address or range you would like to block, then click "Add".
- That’s it! We’ve now blocked anyone using the IP address 188.8.131.52 from accessing our website.
- You can see which IP addresses are currently being blocked.
- … and you can remove IP blocks by clicking here.
Liquid Web has introduced a new feature designed to simplify the removal of errant IP address blocks in the firewall, and allow customers to quickly remove their own address from within their Manage dashboard. In this manner, customers can remove blocks on their IP addresses even when they are unable to access WebHost Manager itself due to the block.
- The cPanel Quick IP Address Unblock feature is designed for servers using the ConfigServer Firewall (CSF).
- The feature does not apply to any server utilizing a different firewall.
- You must have access to your Manage dashboard to use the IP delist feature.Note: Customers with Dedicated, Storm, or VPS servers which are not currently using the CSF firewall can request an upgrade from support to take advantage of this Manage feature. There is no charge, it typically takes only a few minutes and the only service that needs to be restarted as a result is the firewall itself. Our support technicians also can port your existing APF rules to CSF. If requesting an upgrade, please be sure to indicate whether your server uses the Guardian backup service so that its rules also can be configured.
Step #1: Log into Your Manage Interface
- In Manage, click on the [+] next to your server’s hostname to expand its details.
- Now click on the Dashboard button to open the Server Dashboard.
Step #2: Unblock the IP Address
- Click on the Network tab to bring up the Networking pane.
- You will see your current IP address, as reported by your web browser, pre-populated in the cPanel Quick IP Address Unblock field. If you wish to unblock a different IP address, simply replace the address shown in the field with the IP address you wish to unblock.If you’re attempting to unblock the IP address of a client, developer, or other party who does not know their public IPV4 address, you can direct them to http://ip.liquidweb.com to obtain their address for you.
- Click the Unblock IP button to attempt to automatically remove the IP address in the CSF firewall.
- The Unblock IP button will change to Working… while it attempts to delist the IP address. Once the process completes, you should see a banner indicating whether the delisting was successful.
Step #3: I Got Blocked Again. Why?
There are many reasons why an IP address can be blocked in the firewall, but the two most common are:
- The use of an incorrect username or password combination when connecting to the server or a service such as email, ftp, ssh, or cPanel/WHM
- A mod_security rule violation
If you are unable to determine the cause for the block, feel free to contact Heroic Support®. You also may wish to consult the following Knowledge Base articles: Unblocking an IP Address or Opening a Port in the Firewall and How to Manage the CSF Firewall in WHM/cPanel.
- These instructions are intended specifically for solving the error: /usr/sbin/ifconfig: No such file or directory
- I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.