This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ip a #"address"は短縮可 | |
$ ip address show dev eth0 #NIC指定表示 | |
$ ifconfig #起動中のNICを表示 | |
$ ifconfig -a #DOWN中のNICも表示 | |
$ ifconfig eth0 #NIC指定表示 | |
$ ping 192.168.11.1 #ゲートウェイにパケットが届くことを確認 | |
$ ping 8.8.8.8 #外部ネットワークのDNSサーバにパケットが届くことを確認 | |
$ ping google.com #名前解決されることを確認 |