Show IPconfig Di Linux


Nah sebelumnya saya pernah posting bagaimana show ipconfig di router cisco di postingan kali ini saya akan memposting bagaimana caranya show ipconfig di Operating System Linux, berikut syntaknya:

# ifconfig

Maka biasanya keluar output seperti ini setelah menjalankan syntak ifconfig

eth0      Link encap:Ethernet  HWaddr 00:24:88:C2:45:23
          inet addr:115.124.94.138  Bcast:115.124.94.159  Mask:255.255.255.224
          inet6 addr: fe80::224:88ff:fec2:4523/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3716765 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3481561 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:356061484 (339.5 MiB)  TX bytes:350058521 (333.8 MiB)

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:16436  Metric:1
          RX packets:7230 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7230 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1421461 (1.3 MiB)  TX bytes:1421461 (1.3 MiB)

Bisa lebih spesifik misal kita mau tau ipaddress yang eth0 saja jalankan syntak seperti di bawah ini

# ifconfig eth0

Maka akan keluar output ipaddress yang eth0 saja lihat output nya

eth0      Link encap:Ethernet  HWaddr 00:24:88:C2:45:23
          inet addr:115.124.94.138  Bcast:115.124.94.159  Mask:255.255.255.224
          inet6 addr: fe80::224:88ff:fec2:4523/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3719180 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3483888 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:356283935 (339.7 MiB)  TX bytes:350264992 (334.0 MiB)

Semoga bermanfaat bagi orang yang terus belajar dan terus belajar

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s