ネットワークデバイスの確認とネットワーク設定情報確認
1.ネットワークデバイスの確認
1 2 3 4 5 6 7 |
# nmcli d デバイス タイプ 状態 接続 virbr0 bridge 接続済み virbr0 eno16777736 ethernet 接続済み eno16777736 virbr0-nic ethernet 切断済み -- lo loopback 管理無し -- # |
2.ネットワーク設定情報確認
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# nmcli d show eno16777736 GENERAL.デバイス: eno16777736 GENERAL.タイプ: ethernet GENERAL.ハードウェアアドレス: 00:0C:29:81:81:CA GENERAL.MTU: 1500 GENERAL.状態: 100 (接続済み) GENERAL.接続: eno16777736 GENERAL.CON パス: /org/freedesktop/NetworkManager/ActiveConnection/0 WIRED-PROPERTIES.キャリア: オン IP4.アドレス[1]: 192.168.12.200/24 IP4.ゲートウェイ: 192.168.12.254 IP4.DNS[1]: 192.168.12.254 IP6.アドレス[1]: fe80::20c:29ff:fe81:81ca/64 IP6.ゲートウェイ: # ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 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: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:0c:29:81:81:ca brd ff:ff:ff:ff:ff:ff inet 192.168.12.200/24 brd 192.168.12.255 scope global eno16777736 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fe81:81ca/64 scope link valid_lft forever preferred_lft forever 3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever 4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 500 link/ether 52:54:00:91:01:f3 brd ff:ff:ff:ff:ff:ff # ifconfig eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.12.200 netmask 255.255.255.0 broadcast 192.168.12.255 inet6 fe80::20c:29ff:fe81:81ca prefixlen 64 scopeid 0x20<link> ether 00:0c:29:81:81:ca txqueuelen 1000 (Ethernet) RX packets 350 bytes 43482 (42.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 248 bytes 41431 (40.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 # |