Trước tiên, bạn phải biết địa chỉ IP của máy tính cùng với địa chỉ quảng bá IP và mặt nạ mạng của bạn. Sau đó đăng nhập như là người chủ và chạy cài đặt netsetup. Bạn sẽ được yêu cầu: 1. để xác minh tên hệ thống của bạn 2. cung cấp địa chỉ mạng của bạn. Đây là giao NIC địa chỉ mạng (lớp A, B hoặc C), | UNIX System Administration Configuring UNIX The simple way using netsetup First you must know the IP address of the computer together with the IP broadcast address and your netmask. Then log in as root and run netsetup install. You will be asked 1. to verify your system s name 2. to supply your network address. This is the NIC-assigned network address class A B or C without subnets. So if you are installing the host on a class B network with subnet routing enter 17 0. 3. whether you are using subnet routing 4. for your host address in this example7 - note that if you are using subnet routing you must enter the subnet number as part of the host number 5. for the number of bits to use for subnet routing should you be using it 6. whether to use zeros or ones for the IP broadcast address - use all ones 7. for the device name and unit nuber of your network interface typically ln0 for a Lance Ethernet interface 8. for a network name for your network address and any aliases for it 9. for the host name abbreviations network address and host address for each host on the network If you specify the install parameter to netsetup all previous network configurations are overwritten. Essential files The hosts database etc hosts This is a list of all known hosts computers . Each line should begin with the full Internet address and continue with the name of the host followed by any aliases. Comments are preceded by a hash . Begin each entry on a new line. In addition to the real hosts there is usually an entry for localhost. This gives the Internet address of the interface used for internal loopback testing and local communications usually the loop network interface lo0 . By default this address is . If our hypothetical system is called julia its default hosts file would read Host Database localhost julia randomalias The networks database etc networks Just like etc hosts the networks database is a list of all known .