How to See IP Address Using Command Line in Ubuntu 14.044 min read
You can see the IP address of the computer while the computer is working. But you do not know how to see the windows and linux machine IP. Your computer’s IP address can easily to see. So at the beginning of the work to see your machine IP address. Windows computer IP to see to the rule and Linux IP to see some different rules. Here I’ll show you how you can see the IP address of the Linux computer. Please follow these steps carefully. Now we can See IP Address Using Command Line.
★ How to Install And Configure Zabbix Agent on Ubuntu
★ Monitor mysql Service In My Zabbix Server
First connect your VM machine any connector such as putty, Mobaxtream etc.
root@Ubuntu:~# ssh -l root 10.55.10.20
ssh command for connect your remote machine. root is user your remote machine.
10.55.10.20 is my remote machine ip address.
root@Ubuntu:~# ifconfig
eth1 Link encap:Ethernet HWaddr 5e:32:24:2a:ca:96 inet addr:10.55.10.20 Bcast:10.55.255.255 Mask:255.255.0.0 inet6 addr: fe80::5c32:24ff:fe2a:ca96/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3055 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:165180 (165.1 KB) TX bytes:10508 (10.5 KB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:73 errors:0 dropped:0 overruns:0 frame:0 TX packets:73 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5180 (5.1 KB) TX bytes:5180 (5.1 KB)
Press Enter then show your machine IP address. And see some result such as, netmask, mac adddress, ipv6 ip address etc.
Another option for see ip address ubuntu
root@Ubuntu:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 46:49:51:d0:77:0f brd ff:ff:ff:ff:ff:ff 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 5e:32:24:2a:ca:96 brd ff:ff:ff:ff:ff:ff inet 10.55.10.20/16 brd 10.55.255.255 scope global eth1 valid_lft forever preferred_lft forever inet6 fe80::5c32:24ff:fe2a:ca96/64 scope link valid_lft forever preferred_lft forever
Show exact ip address and netmask command below:
root@Ubuntu:~# ip r
default via 10.55.10.1 dev eth1 10.55.0.0/16 dev eth1 proto kernel scope link src 10.55.10.20
If face any problem then see my YouTube video and Subscribe my channel. Please subscribe my channel for more update.
.
- How To Install Zabbix Server 6.4 On AlmaLinux 8 Server - August 9, 2024
- How To Clear RAM Memory Cache Buffer Linux Server - February 29, 2024
- How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 - February 1, 2024
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!