09/01/16 15:24:19 25FanbBB
●二台目のノートPC(192.168.7.2としてます)でのコマンド結果
[My02 ~]$ /sbin/ifconfig | grep -E '^\w|inet'
eth0 Link encap:Ethernet HWaddr gg:pq:rs:tu:vw:xy
inet addr:192.168.7.2 Bcast:192.168.7.255 Mask:255.255.255.0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
[My02 ~]$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
abc.def.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
(※a~fは、とある十進数値です)
[My02 ~]$ /sbin/arp -n
[My02 ~]$
(出力がありません。)
[My02 ~]$ ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data.
64 bytes from 192.168.7.1: icmp_seq=1 ttl=64 time=0.196 ms
64 bytes from 192.168.7.1: icmp_seq=2 ttl=64 time=0.183 ms
^C
なお、
/sbin/route -n の実施結果で abc.def.0.0 (Destination)は
固定の数字で二台PCとも同じ数値でした。再起動してもずっと同じです。
(これが何を指すのかは私はよく認識してません)