ネットワーク確認 |
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet XXX.XXX.XXX.XXX netmask ffffff00 broadcast XXX.XXX.XXX.255 ether 8:0:20:8e:da:9f |
ゲートウエイ確認 |
Routing Table: IPv4Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- XXX.XXX.XXX.0 XXX.XXX.XXX.XXX U 1 2 hme0 224.0.0.0 XXX.XXX.XXX.XXX U 1 0 hme0 default XXX.XXX.XXX.XXX UG 1 10 127.0.0.1 127.0.0.1 UH 2 48 lo0 |
ルーテイング情報設定確認 |
#default router XXX.XXX.XXX.XXX |
DNS設定 |
domain hogehoge |
# # /etc/nsswitch.files: # # An example file that could be copied over to /etc/nsswitch.conf; it # does not use any naming service. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. passwd: files group: files hosts: files dns ipnodes: files networks: files protocols: files rpc: files ethers: files netmasks: files bootparams: files publickey: files # At present there isn't a 'files' backend for netgroup; the system will # figure it out pretty quickly, and won't use netgroups at all. netgroup: files automount: files aliases: files services: files sendmailvars: files printers: user files auth_attr: files prof_attr: files project: files |
netmask確認 |
# # The netmasks file associates Internet Protocol (IP) address # masks with IP network numbers. # # network-number netmask # # The term network-number refers to a number obtained from the Internet Network # Information Center. Currently this number is restricted to being a class # A, B, or C network number. In the future we should be able to support # arbitrary network numbers per the Classless Internet Domain Routing # guidelines. # # Both the network-number and the netmasks are specified in # "decimal dot" notation, e.g: # # 128.32.0.0 255.255.255.0 # XXX.XXX.XXX.0 255.255.255.0 |