ifconfigでネットワーク設定の状態を確認する

# ifconfig

ifconfigコマンドで、IPアドレス、ブロードキャストアドレスなどのネットワーク情報を、インターフェイスごとに確認することができます。ただし、無効になっているインターフェイスについては、存在していても表示されません。
設定済みのすべてのインターフェイスを確認するときは、allの-aオプションを使用します。

[root@myserver ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:99:0E:CC:0D:99  
          inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3063 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:43998832 (41.9 MiB)  TX bytes:149161635 (142.2 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:11087 (10.8 KiB)  TX bytes:11087 (10.8 KiB)

1 thought on “ifconfigでネットワーク設定の状態を確認する

  1. AlexisBrums

    Now compare that proverb to this famous aphorism.
    Another success aphorism comes from Chris Grosser.
    Check it out.
    Washington’s message was that it’s wiser to be upfront and deal with the consequences.
    People often use this quote when discussing health, but Franklin was talking about fire safety.
    This quote came from Wales, first appearing in an 1866 publication.
    But there’s no certain magic to sprinkling aphorisms into your writing.
    Today, I’ll define aphorism and show you how these handy little sayings make your writing more memorable.
    Early to bed and early to rise makes a man healthy, wealthy, and wise.
    This famous motto highlights the truism that life is full of ups and downs.
    It’s one of my favorite aphorisms because it’s simple but yet powerful.
    Washington also said, It is better to offer no excuse than a bad one.
    Sometimes, though.
    Another memorable aphorism is, An apple a day keeps the doctor away.
    Aphoristic statements also appear in everyday life, such as daily speeches made by politicians and leaders.
    How many times have you heard one of the following aphorism examples.

    返信

AlexisBrums へ返信する コメントをキャンセル

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です