_tcp_ip

download _tcp_ip

of 45

description

tcp ip

Transcript of _tcp_ip

  • 5/21/2018 _tcp_ip

    1/45

    http://members.rediff.com/patelpalace/tcpip.html

    1. You want to use your NT workstation to copy file between a Unix host. The Unix host does not allow anonymous connection. what should you use to do? (choose two)a. rcopyb. tftpc. scopyd. telnete. ftp

    I select b and e. I think e is certainly right, but not sure about b. PLS checkit.2. Your company has a NT server set as RAS. The server is connnect to the internet. Some users want to use laptops to connect to the server in order to access the company's resource when they are in travel. These users connect to the internet through the ISP. You want to secure your company's resource....blabla...a. install PPTP in RAS server only.b. install PPTP both in RAS server and laptops.c. configure PPTP filter in the server's NIC which connects to the internet.d. configure PPTP filter in the server's NIC which connects to the company.I select b and c. PLS check it.3. The senario is same as above, but this time you want to only allow encrypteddata into RAS.

    Sorry I cannot remeber the options. I only remeber I chose PPTP and MS-CHAP.4. one diagram shows three subnets connected by router. One PDC and some NT servers in the first subnet. Two 95 clients and one NT server in the second subnet and Two BDC and some NTWS in the third subnet. (I cannot remember whether there mentioned DHCP server in the condition.)Then they need the 95 clients in the second subnet can browse the other subnet'sresources.The options include:install DNS server, install WINS server.....no mentioned LMHOSTS file.So I choose install WINS server in the domain.5. one drag-drop question ask your to match SOA record, Primary DNS server, Caching-only DNS server, Reverse Lookup...to their functions or features.The others are all in the following listed questions.

    --------------------------------------------------------------------------------------------------------1. How a third DNS Server to function as a Backup server in an environment wherethere are already two DNS Servers acting as Primary and Secondary?==>Caching-Only Server2. How can you configure the third DNS Sever which is to be configured for supporting the load balancing of Primary Server and should not participate in Zone Trasfer Traffics? (I can't remember item 1 or item 2)==>Caching-Only Server**3. Three UNIX machines are to be stored in the WINS Database manually and whatentry will you put at the WINS configuration panel?==>STATIC | UNIQUE ENTRY4. You have three subnets in which a single subnet is populated with 10 Laptop w

    orkstations and the other two subnets with NT Workstations. You want the 1st subnet to be supplied with IP addresses(of course by DHCP) with a lease acqusitionperiod of 10 days.The other two subnets with 30 & 40 days lease period respectively. How will you configure?==>By implementing one DHCP scope for each subnet and specifying the lease period as part.5. Your NT Server in your office is connected via RAS connectivity to the Internet ISP Server through the ISDN communcation. Now you want the Windows 95 workstation users in your internel subnet to get connected to the ISP. How will you dothat?

  • 5/21/2018 _tcp_ip

    2/45

    ==>PPTP6. You want the Unix member workstations to print jobs at the NT print server connected print device. How will you configure?==>Install TCP/IP printing service (CONFIGURE A LPR PORT FOR THE PRINTER?) and share the printer.7. You want the Windows based machines to print at a UNIX-Network printing device connected to a NT Print Server. How will you redirect the jobs to the net printer?==>LPRWhat do you use to send a text-based job to a NT server? ==>lprWhat do you use to monitor jobs on a NT server? ==>lpq

    8. You are configuring a IIS server on NT Server which is going to be used as aFTP Server and also a WWW Server. How will you configure it for the Host record?==>CNAME(for examplewww CNAME rhinoftp CNAME rhinorhino IN A 157.55.200.143)9. You want to monitor the NT Workstation performance from a Unix client. How will you do it? What Software (utility?) at NT Workstation and at Unix host?==> SMNP management software on the UNIX and SNMP service on the NT workstaion.*10. You don't want to have trap messagees from unauthorized SNMP Hosts. How will you configure the SNMP agent workstation?

    ==>"Community Name" and "Only Accept SNMP packages from these Hosts".11. When you ftp a host name using UNC you get a "Bad IP address" message. Whatcould be the possible reason?==>HOSTS FILE (or DNS).12. You can ping the remote host using the IP address but not through net use \\....\... Why?==>WINS or LMHOSTS.13. You are not able to ping the IP address of a remote host on another subnet using Netbios name but through IP address. You can also ping the other hosts on that subnet using both ways. What went wrong?==> Remote server not use WINS server. (PLS refer 24)14. You want a Workstation in Subnet A to browse and Communicate with the otherworkstation in subnet B. But you can't even though they have their own WINS Serv

    ers installed. What will you do?==> WINS replication15. You have Subnet A, Subnet B and Subnet C. The Workstations in the subnet A&Buses the WINS in the Subnet A. The Workstations in Subnet C uses its own. How will you configure to have the users of Subnet C and B to browse themselves freely?==> WINS replication.?16. You don't want to resolve host names into IP address using a DNS which contains static entries in it. What will you install in alliance with DNS to resolveIP address from a dynamically updated DNS database?==>WINS and enable the DNS for WINS resolution(DNS can use WINS to resolve some host names, just open "zone properties" and check "use WINS resolutions"

    and WINS can also use DNS to resolve computer names: Network|TCP/IP|WINS Addresses-->check "enable DNS for wins resolution")17. 157.21.36.121 UNIX Product157.51.25.110 Product developerAbove is a Hosts file entry. When you say "ftp product" you get attached to theftp server. But when you say "FTP 157.51.25.110" you can't reach it.Why?==>Invalid FTP server's IP address (157.51.25.110)(from host file, 157.21.36.121 is the IP address for hosts named UNIX and Product, but the second line means the 157.51.25.110 is the IP address for hosts namedProduct and developer...so if u use "ftp product", it connect to 157.21.36.121.

  • 5/21/2018 _tcp_ip

    3/45

    ..it's OK but not "157.51.25.110".)18. How will you log on to a Domain controler which is in another domain and forthat what entries do you require at your Workstation's lmhosts file? (PDC and BDC)==> #PRE #DOM19. Why a workstation is not making a broadcast even when it can't resolve through other methods?==> P-NODE20. How to configure a RAS server that directly accesses the internet and uses PPTP. Clients access the RAS server via an ISP that is accessed with a modem.==> PPTP filter

    ?21. You plan a internetwork. How many NET-Ids do you need? (Choose two)a. one for each subnetb. one for each hostc. one for each host' s NICd. one for each router' s interfacee. one for each WAN - linkI think a, e.*22. You want to audit a SNMP-Client by a UNIX host. What do you need. (choose two)==>community name==>IP_address of UNIX-hosts, that the traps have to be sent to23. A PDC and several BDCs in different subnets must be able to 'see' each otherwithout using wins.

    ==>adequate #PRE and #DOM entries in their LMHOSTS files.24. You can ping a remote client by using its IP-address but not by using its name, whereas you can ping all the other hosts in the remote subnet by IP-addressas well as name.==>remote client is neither WINS-enabled nor does it have an entry of your computer in its LMHOSTS file.25. UNIX hosts must be made able to use wins for name resolution. DNS is alreadyinstalled.==>Use WINS resolution in DNS.26. A client broadcasts too much to connect to other clients on the same subnet.==>wrong subnet mask27. What resolution method to use if you want client to talk to WINS first, then

    broadcast?==>h-node28. Use dns service what file can resolve root domain name==>cache.dns29. You can ping yourself by ip, but you can't ping ip of the others on the samesubnet. why?==>netmask error30. On a Microsoft NT server computer that is configured as a DNS server, you want to add a resource-record that identifies the mail server for your domain. What type of resource record must you add?==>MX31. You are configuring the DHCP Relay Agent on a Windows NT Server computer. Which information must you supply?

    ==>The IP address of the DHCP server.32. Using Windows NT Explorer, a Windows NT Workstation computer cannot connectto a Windows NT Server computer installed on a different subnet. All other computer can connect to this server. When you run Network Monitor, you noticed that each time the workstation attempts to connect to the sever, the workstation broadcast an ARP request for the server's IP address. What is the most likely cause of the problem?==>The workstation is configured with an invalid subnet mask.33. Working at your Windows NT computer, you want to use Performance Monitor tocollect statistic from all TCP/IP traffic on the Windows NT server computers on

  • 5/21/2018 _tcp_ip

    4/45

    your network. What should you do?==>Install the SNMP service on each server.*34. You plan to use DHCP to assign IP addresses to all Microsoft Windows-basedcomputers on your network. You want each Windows NT server computer to be assigned the same unique IP address each time that server is started. What should youdo?==>Create a client reservation for each server. ( You need Client IP and MAC tocreate a client reservation)***35. You want to configure a DNS server to use DNS root server on the Internetto resolve DNS queries for names that are not in your DNS domain. How should you do this?

    ==>By using the CACHE file that was installed by default on the DNS server.36. IF you have 5 subnets and you want to implement Wins how many Wins servers do you need?==>One=======================================Utility collections37. What is the utility to view who are all currently having TCP/IP connection with your Workstation?==> NETSTAT38. What is the utility to view what configuration changes the DHCP made at yourworkstation Configuration?==>IPCONFIG/ALL39. What is the utility to purge the contents of the arp cache?

    ==>ARP -d*40. What is the utility to monitor the Ethernet traffic and the TCP/IP stasticts?==>NETSTAT -e -s41. Which utility will you use to export the statstics collected to a spread sheat for future analsis?==> Performance Monitor*42. What utility will you use to construct a capacity planning on all statistical datas you collected?==> Performance Monitor*43. What utility for seeing the IP address-to-MAC-address resolution?==>ARP -a/-g44. You want to view the print jobs that are sent to UNIX printer from a windows

    based Workstation. Which utility will you use?==>LPQ45. What do you use to find the path a packet takes?==>tracert46. What do you use to monitor TCP/IP stats since the last reboot?==>netstat47. What do you use to monitor TCP/IP stats(choose two)?==>netstat, perf mon(it didn't list network mon)48. What do you use to capture and examine Ethernet frames?==>network monitor*49. To Add Static entry to ARP==>ARP -s49. What do you use to capture TCP/IP packets, log them and export to a spreadsh

    eet?==>perf mon**??50. What to use if session suddenly stops responding==> netstat51. What to use to monitor ethernet & tcpip stats==>netstat & network mon52. What needed to capture and analyze frames, then send to a file==> Ntwk mon*53. To Clear the NetBios cache==>NBTSTAT -R (Case sens switch)

  • 5/21/2018 _tcp_ip

    5/45

    54. To show the Netbios cache==>NBTSTAT -c55. To find the computer with duplicate IP address.==>NBTSTAT -n56. To view list of all TCP/IP connections==> NETSTAT57. The summery of IP & Ethernet Statistics==>NETSTAT & NET Monitor58. To see the routing tabel on server==>NETSTAT -r & ROUTE**59. To clear all route

    ==> ROUTE -f60. To trouble shoot DNS problems Host name resolution problems==> NSLOOKUP61. To copy files from UNIX Server==>ftp62. To access and run App on remote UNIX==>Telnet63. To use NDIS 4.0 to capture frames from network datastreem,filtering.==>NET Monitor.===========================================Scenario collections*************************1. Four NT server, 100 windows 95, 11 UNIX computers, 80 windows nt workstions .

    ...... one of the windows NT server computer run DHCP with one scope configuredfor each subnet. The NT and 95 machines move frequently between segments, but the UNIX machines stay put. Each Unix-hostname consists of no more than 15 characters. All the windows-based computer are DHCP client.required results:1) every windows-based computer on each subnet must be able to access the nt server2) every windows-based computer on each subnet must also be able to recive its ip addresses from DHCP serveroptional desired results:1) all UNIX systems should access by hostname any NT server that is set up as anFTP server2) all windows-based computers should access by hostname any UNIX computer that

    is set up as Telent or FTP serverproposed solution1:1)set up the network routers to forward DHCP broadcasts to all subnets2)install a WINS server on the network3) set up the DHCP server to supply all DHCP clients with the ip address of thewins server.4) on the DHCP server, exclude the ip addresses of the UNIX computers from the scopes---the proposed solution produces the required results and none of the optionaldesiered resultsproposed solution2:same as solution1 then add5)on the wins server configure static mapping for each UNIX computer (on the rea

    l test is on the wins server configure host name for each UNIX computer)-------the proposed solution produces the required results and only one of the optionsl desired results.proposed solution3:same as solution1 then add5) Create entries in the HOSTS file on all windows-based machines for UNIX machines------the proposed solution produces the required results and only one of the optional desired results.proposed solution4:

  • 5/21/2018 _tcp_ip

    6/45

    same as solution2 then add6)Install DNS server and let DHCP server to supply all DHCP clients with the ipaddress of the DNS server.------meet all

    *************************2. Kevin want to install a Windows NT server with four NIC card on his TCP/IP networkRequired result:The server must route TCP/IP packetsOptional desired results:

    1) the server should dynamically updtae it routing tables when other router areadded to or removed from the network.2)the server should provide IP addresses to every client computer on each subnet3)the server should send trap messages across the network to a UNIX serverProposed solution 1:1) install wins server2) install dhcp serever create on scope for each subnetans: does not meet required.Proposed solution 2:1)enable IP forwarding on the server2)install wins serverans: only meet the required but none of the optoinal.

    Proposed solution3:1) enable IP forwarding on server2) enable RIP to IP3) install the DHCP server on th server. create on scope for each subnetans: meet the required and two of the optional.Proposed solution4:1) ENABLE IP FORWARDING2) enable RIP to IP3) install the DHCP server.......4).install SNMP service on thr server. set up SNMP to forward trap messages to the UNIX serverans: meet all.******************

    3. Dallas: 2 NT servers, 225 NT workstations. 1 Wins server named DAL.Seattle: 10 NT servers, 1000 NT workstations. 1 Wins server named SEA.Link between the two sites is a 56Kbps link.Required results:SEA's database must be replicated to the one in Dallas(DAL).Optional results:DAL's database must be replicated to SEA.The replication should occur only once a day.Solution:-----------------------PUSH CHANGES PULL TIME-----------------------DAL 50000 SEA 24hrs

    ------------------------->The proposed solution does not produce the required result.(explanation: DAL is a push partner and SEA is pull partner)4. You are setting up a new server on your existing network. There are NT 4.0, 95, and UNIX machines on separate subnets. The NT and 95 machines move frequentlybetween segments, but the UNIX machines stay put. Each Unix-hostname consists of no more than 15 charactersDesired results:All NT and 95 machines get IP addresses assigned dynamicallyAll NT and 95 machines can connect to NT server resources via NetBIOS names

  • 5/21/2018 _tcp_ip

    7/45

    Optional Results:All UNIX machines can ftp the server using host nameAll NT and 95 machines can telnet and ftp to UNIX machines using host nameSend traps to NT serverSuggested Solution:Install WINS serverInstall DHCP Relay Agent on the serverCreate entries in the HOSTS file on all NT machines for UNIX machinesInstall PPTP on the serverans: does not meet required (cuz the DHCP server does not exclude UNIX host's IPaddresses)

    5. Three servers, 40 NTW, Single netwo rk. Router connect to the network to an ISP. All computers on your network are DHCP, WINS and DNS clients. WINS and DNS servers are DHCP scope option. RAS - two modems.Required :Remote client must able to connect to shared resources on all computers on the company network. RAS must support two current remote clients.Optional :You want all data that is transferred accross the dial-up connection to be encrypted. RAS must support two cuncurrent remote clients.Proposed Solution1:Configure RAS to use a static address pool with two address for dial up networking clients. Enable multilink on RAS server. Install PPTP on the RAS server and on the dial up networking clients.

    ans: Does not meet required.Proposed Solution2:Configure RAS to use DHCP to assign remote clients address. ConfigureDial-up networking clients to use a server assigned IP address. Disable the Guest account on the RAS server.ans: only meet required.===========================================1. Your company has two DNS servers already installed. You need to install a newDNS server to connect to the internet. How will you configure it?a. Primary WINSb. Secondary WINSc. Caching onlyd. Forwarder

    ans: d2. Which of the following are valid IP addresses, and which are not? (A drag anddrop problem, Cute!)a. 203.122.153.1b. 127.96.185.20c. 150.206.256.3d. 175.207.180.6ans: a.d.***3. Your company's subnet mask is 255.255.248.0. Your subnet contains a blendof Windows NT and UNIX machines. You have already assigned them IP addresses from 175.60.8.21 to 175.60.8.49. You want all your Windows NT machines to be assigned IP addresses automatically. Create a scope that consumes all the IP addressesin this subnet. (Another drag and drop situation, where you have to drop the IP

    addresses in the DHCP scope properties screen)ans:==>Include rangeFrom 175.60.8.1 ( 10101111.00111100.00001000.00000001 )To 175.60.15.254 ( 10101111.00111100.00001111.11111110 )==>Exclude rangeFrom 175.60.8.21To 175.60.8.49---------------from Chili Pepper-----------------

  • 5/21/2018 _tcp_ip

    8/45

    **4. 187.123.34.19 product187.123.23.45 developyou can ping 187.123.34.19 , but you cannot connect \\product\netapps==> p-node resolution.5. 10.11.12.13 UNIX programmer # Programmers FTP server10.11.12.14 server10.11.12.15 UNIX developer #Developers FTP server10.11.12.20 developer # developeryou try to ftp developer,you can connect. But you try ftp 10.11.12.20you fial to connect==> ip address of assigned to the FTP server is not 10.11.12.20

    *6. Kevin uses a nt workstation on TCP/IP network,running the command ftp 144.123.23.34, he connect to nt server. when he use UNC path in windows nt explorer, he cannot connect.==>the server is not set up to use a win server.7. on her windows nt workstation computer, jackie can connect to a remote nt server by specifying the server's UNC path in windows nt explorer. However, when she tries to connect via ftp 199.34.23.100. she cannot connect.==> the windows nt workstion computer is denied access to the FTP server's directories.8. A diagram with two subnet computers. the subnet on the left has a server called container and a PC called WKST1 and the subnet on the right has one server called Market. Wkst1 can connect Market, but wkst1 can not connect Container serveon the same subnet

    ==>the default gateway of Container is wrong (u may calculate something to workout the result)9. Kevin want to set up a windows NT server computer as a static multihomed router==>enble IP forwarding==>assign each IP address different subnet address.*10. one Exhibit subnet A has 2 workstations for win 95, subnet B has NT workstions and PDC, subnet C has 3 workstions and a BDC==> implement LMHOSTS on all workstaions (because small network,don't choice implement WINS)10+. 3 subnets connected to one router (all subnets on same domain). On first subnet, one PDC. On second subnet, 1 BDC. On third subnet, 3 Windows 95 workstations.

    Q: What needs to be done so that the Win95 machines can log into the BDC or PDCacross the router?==>LMHOSTS11. you have just promoted the windows NT server to be the PDC of the CORP domain, the PDC name is finance, how should you register int the LMHOSTS file==>136.169.16.214 finance #pre #dom:Corp*12. ben administers a TCP/IP network that is comprised of multiple domain. Thenetwork is divided into six subnets. ben wants every windows-based computer to able to browse evry domain. which entries must ben include in the LMHOSTS file oneach windows-based computer==> one entry for the PDC in each remote domainone entry for each doman controller in the local domain.(include all domain controllers with #PRE & #DOM in the local subnet

    include all primary domain controllers in remote subnets)----------other----------*13. Where do I put DHCP Relay Agents? (choose 2)-->1. on remote subnets-->2. on router between subnets???14. There is a router on your network that you suspect is dropping packets. From your NT server, what performance monitor measure would you use to determineif this is true?Options Included:IP (2 measures were listed for IP)

  • 5/21/2018 _tcp_ip

    9/45

    ICMP: Received Source QuenchICMP: Sent Source QuenchICMP: (can't remember)ans: (if the router is not your NT server, it should be ICMP: Received Source Quench)??15. You have a multihomed computer, and you want to find out how manypackets are being routed. What Perfmon measure would you use??16. You have a server connected to your ISP with an ISDN connection, and Windows 95 clients on the network will be using the DUN connection to access the Internet. How should you configure so the clients will be able to access the Internet?

    a. Configure server Default Gateway with IP of ISP router on company segmentb. Configure server Default Gateway with IP of ISP router on Internet segmentc. Configure each 95 machine with a Default Gateway IP of the ISP routerd. Configure each 95 machine with a Default Gateway IP of the serverans: d17. A UNIX server is setup with the FTP daemon, and is configured to not use authentication for access. How do you connect?a. Use TFTP and logon as Guestb. Use TFTP and logon as Anonymousc. Use FTP and logon as Guestd. Use FTP and logon as Anonymouse. Use Telnetans: d.

    ?18. What sort of DNS server do you need to resolve internet names using the default cache.dns file?I think Forwarder.19. You want to track the send rate & the receive rate for TCP/IP traffic on five different NT server computers. Which tool must you use?a. netstat.exeb. nbtstat.exec. Performance Monitord. Network Moitorans: c20. You want to monitor an ftp server over a period of time so that you can viewthe amount of data that is being transmitted and the total number of connections that are in use. Which tool must you use?

    a. netstat.exeb. nbtstat.exec. Performance Monitord. Network Moitorans: a (but PLS check c)21. Your windows NT Workstation and a Unix computer are located on a local areanetwork. You want to retrieve network statistics from the Unix computer. Which install on workstation? (Choose two)a. Simple TCP/IP servicesb. Network monitor agentc. SNMP servicesd. Performance Monitore. Thirty-party network management software

    ans: c.d.22. You want to chart the number of TCP connections that are active on your windows NT server computer. Which network service must you install before you can dothis?a. Network Moitor agentb. Rip for Internet Protocolc. SAP agentd. Simple TCP/IP servicese. SNMP servicesans: e.

  • 5/21/2018 _tcp_ip

    10/45

    23. Drag & drop question. Valid or invalid IP address?10.151.98.222127.24.12.11 (invalid)172.25.256.71 (invalid)192.109.254.112194.16.71.61225.17.64.201 (invalid)*24. A computer named wksta1 on subnet A cannot connect to a windows NT server computer on subnet B by running the command net use f: \\factory.bytecomp.com\data. When other computers on subnet A can that command and connect server. Wksta1can ping the server by IP address.

    a. There's no entry for factory.bytecomp.com on the DNS server.b. Wksta1 is not configured with an IP address for a DNS server.c. Wksta1 is not configured with an IP address for a WINS server.d. Wksta1 is not configured to use DNS for netbios name resolution.ans: b.25. Two DNS servers. You plan to install a third DNS server. The third DNS server will be used to resolve DNS queres for resources that are located on the internet. How to configure?a. as a primary name serverb. as a sencondary name serverc. as a forwarder for the exiting DNS serverd. as a forwarder for a WIS serverans: c

    26. You use DHCP to assign IP address to 3 NT servers. You want each server to be assigned the same IP address each time that server is started. What information should you supply? (Choose two)a. IP addressb. subnnet maskc. hardwaare addressd. lease periodans: a. c.27. Seven subnet. You plan to use DHCP to assign IP address to all client computers. You want to specify the IP address of your company's two DNS server on eachclient computer regardress of which subnet the client computer is located on. How to configure DHCP ?a. global option

    b. local optionc. scope optiond. client optionans: a28. You are configuring DHCP relay agent on a windows NT server. Which information?a. the computer name of the DHCP serverb. the IP address of DHCP serverc. the IP address of a different DHCP relay agent on a remote subnetd. the IP address of the router to forward DHCP request to.ans: b.29. You use DHCP to assign IP address to all clients computers on your network.You configure the DHCP server to assign the IP address of the WINS server to all

    clients computer. What else do to use wins?a. On each client computer, specify the IP address of at least one DNS server.b. On each client computer, specify the IP address of PDC.c. Specify a netbios scope IP.d. Specify the netbios name resolution node type.ans: d30. You want to make files on your Windows NT Workstation computer accessible toa user at a TCP/IP-based UNIX host on your network. The UNIX computer is not using NetBIOS. You also want to ensure that only authenticated users can access the files. What should you do on your workstation?

  • 5/21/2018 _tcp_ip

    11/45

    a. Install Microsoft IIS, put the files in the wwwroot directory, and add a password to the internet user account.b. Install PWS, put the files in the ftproot directory, and don't allowanonymous connections.c. Install simple TCP/IP services and disable the Guest account.d. Create a new account on your computer, share the directory that contains thefiles, and assign permissions to the new account.ans: b. (Notice, IIS cannot install in the NTWS)31. Your Windows NT Workstation computer is configured as a WINS client. You want to find out how often your system uses broadcasts to resolve names. Which utility should you use?

    a. nbtstat.exeb. netstat.exec. tracert.exed. Performance Monitore. Windows NT Diagnosticans: a. (nbtstat -r)32. Your company network includes several UNIX computers that are running the rsh daemon. You want to execute a command on one of the UNIX computers from your Windows NT computer. Which utility must you use?a. ftp.exeb. tftp.exec. telnet.exed. rsh.exe

    e. rexec.exeans: d33. Your company network includes several UNIX computers that are running the rexecd daemon. You want to execute a command on one of the UNIX computers from your Windows NT computer. Which utility must you use?a. ftp.exeb. tftp.exec. telnet.exed. rsh.exee. rexec.exeans: e**34. What service(s) is/are started with WINS? Choice two (2)(a) Alerter

    (b) Messenger(c) server(d) DNS(e) RIP for Ipans: b.c (need check)35. You have three subnets. One subnet has a PDC and a BDC, and the other two subnets consist entirely of Win95 machines. You use one of the Win95 machines. There are no WINS servers, and the routers don't forward NetBIOS broadcasts. You can log on and map drives from the PDC and the BDC, but when you open Explorer, you can only see the computers that are in your subnet. Why can't you see the PDCor BDC?a. The LMHOSTS file on you computer contains an incorrect entry for the PDC andthe BDC.

    b. The LMHOSTS file on the master browser for your subnet contains an incorrectentry for the PDC.c. There is no master browser for your subnet.d. There is no backup browser for your subnet.ans: b.**36. RAS connection and want to do encryption?==> PPTP and MSCHAP37. Windows NT Workstation computer users need to send documents to a print device connected to a UNIX computer. You want all documents sent to andmanaged by aWindows NT Server computer. You install the LPD service on the UNIX computer. Wh

  • 5/21/2018 _tcp_ip

    12/45

    at other steps must you take?a.Install the TCP/IP Printing service on the server.b. On the server, make a shared printer which use a LPR port to send the documents to the UNIX print device.c. Map a logical printer port to the UNIX print device on the server.d. Install the LPR utility on the workstations.ans: I think a, b.38. drag/drop (TCP/IP printing)4 type of equipment:TCP/IP printerNT Workstation

    NT ServerUnix host with printerbackground info: you need to be able to centrally manage the printer and also beable to manage jobs from either the NT workstation or UNIX machine etc.Answer:NT Workstation installed with lpr, lpqNT Server TCP/IP printingUnix host with printer lpd39. A non-WINS user with the machine name \\who_cares needs to connect to a remote machine named \\Product. He creates an LMHOSTS file with the entry:220.134.30.45 PRODUCT #PRE #Computer with shareHe tries to connect but still cant. What is the problem?a) A discrepancy between the machine names ( Or some poorly worded answer like t

    his)40. drag/dropSubnet A: PDCSubnet B: BDCSubnet C: WINS serverIdentify the type of browser for each server.Ans:Subnet A: PDC Domain Master BrowserSubnet B: BDC Master BrowserSubnet C: WINS server Master Browser?41. To prevent the buff becomes full, how can u config ur net monitor?A. set triggerB. Set Filter

    C. .....D. Save all the info to one file.I chose the answer B*42. You import a LMHOSTS file and use it to configure a static mapping on a WINS server. The file contains the following entry:137.107.4.200 DOMCTRL #DOM:CENTRALWhich static NetBIOS mapping would appear in the WINS database?a. A single unique mapping for the DOMCTRL computerb. An internet group for the central domainc. A multi homed mapping for the CENRAL domainans: b.43. Your network includes a DHCP server and client computers located on separatenetworks that are connected by a router. What should you configure the router t

    o do?use RIPuse the OSPF protocolfunction as a BOOTP (RFC 1542) relay agent (answer)forward NetBIOS broadcasts===================================================================================

  • 5/21/2018 _tcp_ip

    13/45

    Patel Palacehttp://members.rediff.com/patelpalace/tcpip.html

    [email protected]

    10. UNIX computer is running the Remote shell daemon, what program do you use toexecute a remote command?A. LPQB. FTP

    C. Telnet (CORRECT)D. RexecE. RSH12. you can connect the DNS Server by pinging IP address but not by ftp datasrv.com ?(I don't remember the answer)A. Try to reach another computer in different subnet but HOST(source) computer has ARP broadcast why? Answer: I choose wrong SM of the source computer. (CORRECT)17. Your company has two WINS servers already installed. You need to install a new WINS server to connect to the internet. How will you configure it?A. Primary WINSB. Secondary WINSC. Caching only

    D. Forwarder18. On a Microsoft NT server computer that is configured as a DNS server, you want to add a resource record that identifies the mail server for your domain. What type of resource record must you use?A. MX record (CORRECT)19. You want to access and run applications on UNIX server. What utility shouldyou use?A. nbtstatB. FTPC. Telnet (CORRECT)20. Your network has two DNS servers. You want to configure a third DNS serverfor majorly resolve the IP address for other hosts on the internet (not belong to the network). How would you setup the role of the third DNS server?

    A. Caching only serverB. secondary serverC. primary server (CORRECT)21. How can you configure the third DNS server which is to be configured for supporting the load balancing of PDC and should not participate in Zone Transfer Trafiics?A. Caching only server (CORRECT)22. RAS connection and want to do encryption?A. PPTP and MSCHAP (CORRECT)

    1. You want to make files on your Windows NT Workstation computer accessibleto a user at a TCP/IP-based UNIX host on your network. The UNIX computer isnot using NetBIOS. You also want to ensure that only authenticated users can

    access the files. What should you do on your workstation?A. Install Microsoft IIS, put the files in the wwwroot directory, and add a password to the internet user account.B. Install PWS, put the files in the ftproot directory, and don't allowanonymous connections.C. Install simple TCP/IP services and disable the Guest account.D. Create a new account on your computer, share the directory that containsthe files, and assign permissions to the new account.2. Your Windows NT Workstation computer is configured as a WINS client. Youwant to find out how often your system uses broadcasts to resolve names.

  • 5/21/2018 _tcp_ip

    14/45

    Which utility should you use?

    a. nbtstat.exeb. netstat.exec. tracert.exed. Performance Monitore. Windows NT Diagnostic3. Your company network includes several UNIX computers that are running thersh daemon. You want to execute a command on one of the UNIX computers fromyour Windows NT computer.Which utility must you use?

    a. ftp.exeb. tftp.exec. telnet.exed. rsh.exee. rexec.exe1. How a third DNS Server to function as a Backup server in an environment wherethere are already two DNS Servers acting as Primary and Secondary?Answer: ; Caching-Only Server2. You want to configure a DNS server to use DNS root server on the Internet toresolve DNS queries for names that are not in your DNS domain. How should you dothis?Answer: ; By using the CACHE file that was installed by default on the DNS server.

    3. Kevin want to set up a windows NT server computer as a static multihomed routerAnswer: ; two answer enable IP forwarding, assign each IP address different subnet address.5. Using Windows NT Explorer, a Windows NT Workstation computer cannot connect to a Windows NT Server computer installed on a different subnet. All other computer can connect to this server. When you run Network Monitor, you noticed that each time the workstation attempts to connect to the sever, the workstation broadcast an ARP request for the server's IP address. What is the most likely cause ofthe problem?Answer: ; The workstation is configured with an invalid subnet mask.6. Kevin want to install a Windows NT server with four NIC card on his TCP/IP network. Required result: The server must rout TCP/IP packets Optional desired res

    ults: 1) the server should dynamically update it routing tables when other router are added to or removed from the network. 2) the server should provide IP addresses to every client computer on each subnet 3) the server should send trap messages across the network to a UNIX server Proposed solution: 1) install win server, 2). install dhcp server create on scope for each subnet. ; Does the proposedsolution work?Answer: ; The proposed solution does not produce the required result.7. Where do I put DHCP Relay Agents? Answer: (choose 2)Answer: ; 1. on remote subnets, 2. on router between subnets8. Two scenarios, where you want to enable a server to work as a router.required result: routing must be possibleoptional results: dynamic routing enabledSNMP traps are to be sent to a SNMP - manager

    8a. Activate IP-forwarding1. install PPTP2. install DHCP3. ... (some services that are meaningless in this context)-> produces just the required result8b. Activate IP-forwarding1. install RIP2. install DHCP3. ... (some other services but not SNMP)->produces the required result and one optional

  • 5/21/2018 _tcp_ip

    15/45

    11. On her windows nt workstation computer, jackie can connect to a remote nt server by specifying the server's UNC path in windows nt explorer. However, when she tries to connect via ftp 199.34.23.100, she cannot connect. Why?Answer: The windows nt workstation computer is denied access to the FTP server'sdirectories.12.You need to copy a file from a UNIX box to your NT Workstation. The UNIX boxdoes not allow anonymous logins. What do you use (choose two):A. FTPB. SCOPY (bogus option)C: RCPD: TFTP

    E: REXECAnswer: A and DHow you configure a workstations to browse all computers in the domain without using WINS, i.e., how do you configure LMHOSTS?Answer: include all domain controllers with #PRE & #DOM in the local subnet (I believe)you should know how to subnet given different environments. My hint? Answer: Learn to count in binary.

    WINS/DNS. You need to know how different name resolution works. And what apps use Winsock connections versus Netbios. And how the name resolution works for eachone. If I ask you, what resolution method h-nodes use first, you should be ableto answer that. You also should know the utilities needed to troubleshoot these

    communication methods. Replication methods are also important. Different typesof DNS servers, and the role they play. And without question, you need to know how to troubleshoot name resolution. If you don't get it, you fail.LMHOSTS/HOSTS If you don't read the Lmhosts.sam and Hosts.sam files on your computers, then you are stupid. Read them. Understand what they say, and practice. Also understand how they fit in with all other types of name resolution.TROUBLESHOOTING Know how to troubleshoot TCP/IP. Know how to diagnose incorrectIPs, default gateways, and subnet masks. Know what utility to use (Netstat, Perfmon, etc etc) Know how routers work, at least in the general sense to isolate problems.1. Windows NT Workstation computer users need to send documents to a printdevice connected to a UNIX computer. You want all documents sent to andmanaged by a Windows NT Server computer. You install the LPD service on the

    UNIX computer. What other steps must you take?a.Install the TCP/IP Printing service on the server.b. On the server, make a shared printer which use a LPR port to send thedocuments to the UNIX print device.c. Map a logical printer port to the UNIX print device on the server.d. Install the LPR utility on the workstations.Answers:A and CYou have three subnets. One subnet has a PDC and a BDC, and the other two subnets consist entirely of Win95 machines. You use one of the Win95 machines. There are no WINS servers, and the routers don't forward NetBIOS broadcasts. You can log on and map drives from the PDC and the BDC, but when you open Explorer, you can only see the computers that are in your subnet. Why can't you see the PDC or BDC?

    A. The LMHOSTS file on you computer contains an incorrect entry for the PDC & BDCB. The LMHOSTS file on the master browser for your subnet contains an incorrectentry for the PDCC. There is no master browser for your subnet.D. There is no backup browser for your subnet.Answer: B. The PDC is the domain master browser and the master browser for its subnet. If the master browser for my subnet knows about the PDC, then I should beable to browse to that subnet just fine.You are given a diagram of a subnetted class B network. In the middle there is a

  • 5/21/2018 _tcp_ip

    16/45

    router at 160.110.4.1, there is a workstation at 160.110.7.100 that can't communicate with an NT server at 160.110.4.17. The subnet mask on everything is 255.255.252.0. There are also some printers, and other workstations placed in there to throw you off track.The answers (choose two):a.) Change the subnet mask to 255.255.240.0b.) Change the subnet mask to 255.255.248.0c.) Place the problem workstation on the same subnet as the NT serverd.) Some lame answer about changing the IP of one of the bogus workstations.e.) Change the default gateway of the problem workstation to 160.110.4.1.Answer: B and C although I'm not too sure. I believe E was wrong because the pro

    blem workstation was on a different subnet given the mask.4.) A non-WINS user with the machine name \\who_cares needs to connect to a remote machine named \\Product. He creates an LMHOSTS file with the entry 220.134.30.45 PRODUCT #PRE #Computer with share . He tries to connect but still can't. What is the problem?Answer: A discrepancy between the machine names5.) UNIX computer is running the Remote shell daemon, what program do you use toexecute a remote command?a.) LPQb.) FTPc.) Telnetd.) Rexece.) RSH

    Answer: ; CWhat types of SNMP transactions can be performed by a SNMP manager or agent?Answer: Get, Set, Trap, Get-next, Something else are in the boxes. You them haveto place them on the agent or the manager.A scenario question where you had multiple subnets and 1000+ clients etc. and the network administrator has to dynamically assign IP addresses to all subnets-required. Optional: name resolution, and something else. Solution was to implementDHCP relay agent, and everything else for the optional stuff was correct?Answer: Does not meet the required, because of the relay agent. They did not mention a DHCP server.**You have 5 class C blocks given to you by Internic. You need to implement these on you network. You have 3 segments with 300 clients each. Minimize number ofsubnets on each segment. What do you do?

    a.) Leave the default subnet mask in placeb.) Implement a subnet mask borrowing 3 bits.c.) Implement a subnet mask borrowing 4 bits.d.) Something elseAnswer: B (I think)**A network admin wants to install an NT server with 3 NICs on his TCP/IP network. Required: The computer must route TCP/IP packets. Optional: The server shoulddynamically update routing tables. The server should provide IP address to every client on each subnet.The server should trap messages across the network to aSNMP manager. ; Proposed Solution: Enable IP forwarding on server.Install Wins server. Install DHCP relay agent.Answer: Meets the required but not the optionals********1) Connection-oriented protocol?

    Answer: TCP, SPX2) Connectionless-oriented Protocol?Answer: UDP, IPX(not sure)3) If T1 line fails, what method of redundancy is used for email purposes?Answer: ISDN (not sure either), choices are T3, ATM, CO3?, ISDN, X.254) Dial up protocol, 5yrs old computer, cannot use auto IP addressing?Answer: SLIP5) Dial up protocol. choose all that apply, there are only 2selections, PPP SLIP?Answer: both

  • 5/21/2018 _tcp_ip

    17/45

    6) What network tool is used to monitor activities on hubs, routers, bridges, etc.?Answer: SNMP not sure, other choices are Performance Monitor, Protocol analyzer.Using Win NT station, small groups, administering their ownresources, only one need to share her resources, what security implementation?Answer: user-level sec., sometimes I doubt this answ and could use share-level but I thoughtshare level is not an option in NT.**Using NWLink, cannot talk to the network?Answer: client using inc. frame type**Scenario: connect 2 branch office with 1 main office 20 miles. Proposed: use 1

    0Base5.?Answer:Does not satisfy required.**Connect 3 cities at least 1Mbps., Opt: must continue to comm. If one link fails. Proposed: 2 T1.Answer: Satisfy required but not optional.**You have a multihomed computer, and you want to find out how many packets arebeing routed. What Perfmon measure would you use?**You can PING an FTP server, but can't connect. What's the problem?Answer: Don't have rights to the FTP server**An NT workstation and server can't communicate. An exhibit is given with the network layout (several computers and routers). For the computers in question, they lie on the same router segment and the IP Address, Subnet Mask, and Default Gateway are given for each. Why can't they communicate?

    Answer: You must figure out the subnets for each computer to get the answer thatone of the computers has an incorrect Default Gateway.1. What must you do to monitor IP stats with Perfmon?Answer: Install SNMP6. You have a server connected to your ISP with an ISDN connection, and Windows95 clients on the network will be using the DUN connection to access the Internet. How should you configure so the clients will be able to access the Internet?Options included:Configure server Default Gateway with IP ofISP router on company segmentConfigure server Default Gateway with IP ofISP router on Internet segmentConfigure each 95 machine with a Default

    Gateway IP of the ISP routerConfigure each 95 machine with a DefaultGateway IP of the server**You have laptop users (with 95) that will be connecting to your network through the Internet. How do you ensure that security is maintained?Answer: Install PPTP, Use MSCHAP securityThere is a network with 3 subnets. One subnet has a PDC, one has a BDC, and thelast one has 10 NT Workstations. You want to make sure all NT machines can browse the entire network, what do you do?Answer: Install a WINS server and point the NT workstations to that server

    Scenario 1 (These Scenerios Came Up About Half Way Through) Network with 100 workstations and 20 UNIX computers. UNIX computers never move,each Unix-hostname co

    nsists of no more than 15 characters, TCP/IP is protocol used. DHCP configured with one scope for each subnet. All Windows based computers are set up as DHCP clients. Required results: -Every Windows based computer on each subnet must be able to access the Windows NT Server computers by computer name. -Every Windows based computer on each subnet must also be able to receive its IP address from theDHCP server. Optional: -All UNIX systems should access by hostname any WindowsNT Server computer that is set up as an FTP server. -All Windows based computersshould access by hostname any UNIX computer that is set up as an TELNET or FTPserver. Proposed solution: -Set up network routers and forward DHCP broadcasts to all subnets -Install Wins server on the network -Set up DHCP server to supply

  • 5/21/2018 _tcp_ip

    18/45

    all DHCP clients with the IP address of the WINS sever ?Answer: CScenario 2 Network with 100 workstations and 20 UNIX computers. UNIX computers never move,each Unix-hostname consists of no more than 15 characters, TCP/IP is protocol used. DHCP configured with one scope for each subnet. All Windows basedcomputers are set up as DHCP clients. Required results: -Every Windows based computer on each subnet must be able to access the Windows NT Server computers by computer name. -Every Windows based computer on each subnet must also be able toreceive its IP address from the DHCP server. Optional: -All UNIX systems shouldaccess by hostname any Windows NT Server computer that is set up as an FTP server. -All Windows based computers should access by hostname any UNIX computer that

    is set up as an TELNET or FTP server. Proposed solution: -Set up network routers and forward DHCP broadcasts to all subnets -Install Wins server on the network-Set up DHCP server to supply all DHCP clients with the IP address of both theWINS sever and the DNS -On the WINS server, make static mappingentries for UNIX computers. -On the DHCP server, exclude the UNIX computers' IPaddresses from the ?Answer: B)Scenario 3 Network with 100 workstations and 20 UNIX computers. UNIX computers never move,each Unix-hostname consists of no more than 15 characters, TCP/IP is protocol used. DHCP configured with one scope for each subnet. All Windows basedcomputers are set up as DHCP clients. Required results: -Every Windows based computer on each subnet must be able to access the Windows NT Server computers by computer name. -Every Windows based computer on each subnet must also be able to

    receive its IP address from the DHCP server. Optional: -All UNIX systems shouldaccess by hostname any Windows NT Server computer that is set up as an FTP server. -All Windows based computers should access by hostname any UNIX computer thatis set up as an TELNET or FTP server. Proposed solution: -Set up network routers and forward DHCP broadcasts to all subnets -Install Wins server on the network-Install DNS server and configure it for name resolution -Set up DHCP server tosupply all DHCP clients with the IP address of both the WINS sever and the DNS -On the DHCP server, exclude the UNIX computers' IP addresses from the scope. -On the WINS server, make static mapping entries for UNIX computers?Answer: A)**You want to enable a server to work as a router. required result: routing mustbe possible optional results dynamical routing enabled SNMP traps are to be sen

    t to a SNMP - manager Solution Activate IP-forwarding install PPTP install DHCP?Answer: C)produces just the required result**You want to enable a server to work as a router. required result: routing mustbe possible optional results dynamical routing enabled SNMP traps are to be sent to a SNMP - manager Solution activate IP-forwarding install RIP install DHCP (some other services but not SNMP)?Answer: B)produces the required result and one optional (Mine was send SNMP Trapinstead of RIP Close enoughStill B)..)**Troubleshooting There is a net with the address 171.10.2.0 Remote clients cannot access a server in this net. You run IPCONFIG and read: IP address 171.10.2.223 Default Gateway 171.10.2.1 subnet mask 255.255.0.0 NETBIOS node type h NETBIOS scope-ID (i.e. none) WINS Client enabled DHCP Client Why does this configurati

    on not work?Answer: (Got one wrong and this Might Be the One)**Why unnecessarily a machine is doing arp broadcast even when the target machine is in the same subnet while other machines in the same subnet are not?Answer: ; INVALID SUBNET MASK**Following entries in a HOSTS-file: 192.168.5.7 UNIX developer #ftp server 192.170.8.15 developer #server With 'ftp developer' you can connect to the ftp server but not with 'ftp192.168.8.15'. Why?Answer: FTP Address Isn`t 192.168.8.15 (watch for the wording of the answers..tricky)

  • 5/21/2018 _tcp_ip

    19/45

    **You want to monitor the NT Workstation performance from a Unix client. How will you do it?Answer: SMNP MANAGEMENT SOFTWARE ON THE UNIX & SMNP SERVICE ON THE NT SERVER.**DNS entry for a mail server?Answer: MX**You plan a internetwork. How many NET-Ids do you need?Answer: (Choose two) one for each subnet one for each host one for each host' sNIC one for each router' s interface one for each WAN - link**You have three subnets in which a single subnet is populated with 10 Laptop workstations and the other two subnets with NT Workstations. You want the 1st subnet to be supplied with IP addresses(of course by DHCP) with a lease acqusition p

    eriod of 10 days.The other two subnets with 30 & 40 days lease period respectively. How will you configure?Answer: Answer: BY IMPLEMENTING ONE DHCP SCOPE FOR EACH SUBNET AND SPECIFYING THE LEASE PERIOD AS PART OF EACH SCOPE'S ONFIGURATION.**Utilities Clear the NETBIOS - cache ?Answer: NBTSTAT**Show the NETBIOS - Cache ?Answer: NBTSTAT**What utility can be used to run a command on a remote host?Answer: TELNET**What is the utility to view who are all currently having TCP/IP connection with your Workstation?Answer: NETSTAT

    **What is the utility to view what configuration changes the DHCP made at your workstation configuration?Answer: IPCONFIG /ALL**What is the utility to purge the contents of the arp cache?Answer: ARP**what do you use to find the path a packet takes?Answer: tracert**What to use to monitor ethernet & tcpip stats ?Answer: netstat and network mon**what do you use to monitor TCP/IP stats since the last reboot?Answer: netstat .exe**What utility for seeing the IP address - Physical address match of a an interface card?

    Answer: ARP**what do you use to capture and examine Ethernet frames? Answer: network monitor**what do you use to capture TCP/IP packets, log them and export to a spreadsheet?Answer: performance monitor**How to configure a RAS - server that directly accesses the internet and uses PPTP. Clients access the RAS server via an ISP that is accessed with a modem. ?Answer: PPTP filtering**Your NT Server in your office is connected via RAS connectivity to the Internet ISP Server through the ISDN communcation. Now you want the Windows 95 workstation users in your internel subnet to get connected to the ISP. How will you do that?

    Answer: PPTP**Printing How will you configure the printer on the server, if the server willmanager the printer?Answer: ; INSTALL TCP/IP PRITING SERVICE, CONFIGURE A LPR PORT FOR THE PRINTER AND SHARE THE PRINTER. (now this is only two answers TCP/IP Printing is one and Configure LPR port and share are combined into the other..there was one that justsaid share the printerwrong..`manage` the printer means configure the LPR port but you still have share)**You want the Unix member workstations to print jobs at the NT print server connected print device. How will you configure?(tricky wording on thses)

  • 5/21/2018 _tcp_ip

    20/45

    Answer: INSTALL TCP/IP PRITING SERVICE AND SHARE THE PRINTER.**You want the Windows based machines to print at a UNIX-Network printing deviceconnected to a NT Print Server. How will you redirect the jobs to the net printer (tricky wording on thses) ?Answer: LPR

    **You want to send the print jobs to a UNIX workstation from the windows based machines.Which utility will you use?Answer: LPR**You want to view the print jobs that are sent to UNIX printer from a windows based workstation.Which utility will you use? Answer: ; LPQ Wins/LMHosts You arenot able to ping the IP address of a remote host on another subnet using Netbios

    name but through IP address.You can also ping the other hosts on that subnet using both ways.What went wrong?Answer: CLIENT NOT USING WINS SERVER.

    **You have Subnet A, Subnet B and Subnet C. The Workstations in the subnet A&B uses the WINS in the Subnet A. The Workstations in Subnet C uses its own. Howwill you configure to have the users of Subnet C and B to browse themselves freely? Answer: WINS REPLICATION.

    **you can ping the remote host using the IP address but not through netuse \\....\... Why?Answer: ; LMHOSTS.**You don't want to resolve host names into IP address using a DNS which contains static entries in it.What will you install in alliance with DNS to resolve IPaddress from a dynamically updated DNS database?

    Answer: ; ENABLE THE DNS FOR WINS RESOLUTION.**A PDC and several BDCs in different subnets must be able to 'see' each other without using wins. Answer: adequate #PRE and #DOM - entries in their LMHOSTS -files.** Three UNIX machines are to be stored in the WINS Database manually and whatentry will you put at the WINS configuration panel?

    Answer: STATIC UNIQUE ENTRY**LMHOSTS questions presented a sample like this: 131.107.3.4 #MainServer #PRE

    131.107.4.1 #Router1 131.107.54.38 #Server1? Answer: remove the first # from each line.** MX record on DNS.?

    Answer: to transfers between mail servers**DNS entry for a mail server?

    Answer: MX**How can you configure the third DNS Sever which is to be configured for supporting the load balancing of Primary Server and should not participate in Zone Trasfer Traffics?Answer: ; CACHING-ONLY SERVER**You are able to connect to an FTP server by using its IP address, 202.12.127.7, but not its domain name,

    "development". The HOSTS file reads, 131.107.3.200 server1 131.107.5.5 sales department 111.36.254.134 UNIX development 202.12.127.7 development Why can't you connect to the FTP server with the domain name, "development"?Answer:**You are configuring a IIS server on NT Server a which is going to be used as aFTP Server and also a WWW Server. How will you configure it for the Host record

    ? Answer: CNAME MAIL SERVER?Answer: MX

    **You install and configure an NT Server to be put in the middle of three subnets. Required: It should be made to act as a router. Optional: IP router and should be made to dynamically update its routing table whenever routers are added andremoved from the network. That machine to be able to supply IP address to all the machines belonging to the three subnets. Also you want a NT Workstation to besent a trap message across the network. Solution >Configure the Server to act as router. >Enable IP Forwarding. >Implement the DHCP Server on the NT Server. >Configure RIP.

  • 5/21/2018 _tcp_ip

    21/45

    -Printing - Need on Print Server - LPD/Tcpip print service, share printer (& mapport to printer IF the printer is connected directly to a comp other than the print server) -Syntax of Lmhosts file - #MH, #PRE, #include -Printing - Use LPR to send print jobs, LPQ to view the print que Answer: Browsing - use Wins, Lmhosts file or enable router to pass broadcasts - one of these 3 will be the answer to the problem.

    -Browsing - If PDC (ie Domain Master Browser) is down, then cross subnet browsing will no longer be available (the Master Browse list is not being updated and sent down to each subnets Master browser)

    -Route Add syntax Route_add_destinations ntwk Id_Mask_SM_This routers default gate IP

    - Remember that the Route_delete does not need the Mask_SM in the syntax

    -Name resolution process - know the order of the H-node broadcast - Netbios cache, Wins, Broadcast, Lmhosts, Hosts, Dns

    -SNMP - If you don't want any Mngt console program to be able to access your SNMP agent - can select 'only accept snmp pckgs form these hosts' on the security tab.

    -RAS - DG of the Ras server Answer: ; blank, DG of the client is the near side of the Ras Server (tricky wording on this one)

    **There are two subnets, each having a WINS-server. How do you configure the WINS-servers. replication? Answer: make the other WINS-server a secundary WINS server make entries in theLMHOSTS - files

    There is a net with the address 171.10.2.0 Remote clients cannot access a server

    in this net. You run IPCONFIG and read: IP address 171.10.2.223 Default Gateway171.10.2.1 subnet mask 255.255.0.0 NETBIOS node type h NETBIOS scope-ID (i.e. none) WINS Client enabled DHCP Client (we forgot) Why does this configuration notwork? Answer:

    Name Resolution H-node No Netbios name cache Way WINS Baby Broadcast Lets LmhostHave Host Dinner DNS

  • 5/21/2018 _tcp_ip

    22/45

    M-node No Name Cache Baby Broadcast Love Lmhost With WINS Hate Host Destroys DNS

    B-node No Name Cache Baby Broadcast Lets Lmhost Have Host Dinner DNS

    P-node Name cache WINS Host DNS No matter the resolution node used cache is always checked first. One thing to remember is that once you are on a WINS network h-node is enabled by default. Actually got a question on that if WINS is not on the network then b-node is used by default.

    ;

    what do you use to find the path a packet takes?

    Answer: ; tracert

    What to use if session suddenly stops responding?

    Answer: netstat

    What is the utility to view who are all currently having TCP/IP connection withyour Workstation?

    Answer: ; NETSTAT

    What utility can be used to run a command on a remote host?

    Answer: ; TELNET

    What utility for seeing the IP address-to- MAC- address resolution?

    Answer: ; ARP

  • 5/21/2018 _tcp_ip

    23/45

    What is the utility to purge the contents of the arp cache?

    Answer: ; ARP -d

    1)How a third DNS Server to function as a Backup server in an environment wherethere are already two DNS Servers acting as Primary and Secondary?

    Answer: CACHING-ONLY SERVER

    2) How can you configure the third DNS Sever which is to be configured for supporting the load balancing of Primary Server and should not participate in Zone Trasfer Traffics?

    Answer: CACHING-ONLY SERVER

    3)What is the utility to view who are all currently having TCP/IP connection with your Workstation?

    Answer: NETSTAT

    4)What is the utility to view what configuration changes the DHCP made at your workstation Configuration?

    Answer: IPCONFIG /ALL

    5)What is the utility to purge the contents of the arp cache?

    Answer: ARP -d

    6)What is the utility to monitor the Ethernet traffic and the TCP/IP stasticts?Answer: NETSTAT -e -s 7)Which utility will you use to export the statstics collected to a spread sheat for future analsis?

  • 5/21/2018 _tcp_ip

    24/45

    Answer: PERFORMANCE MONITOR

    8)What utility will you use to construct a capacity planning on all statisticaldatas you collected?

    Answer: PERFORMANCE MONITOR

    9)Three UNIX machines are to be stored in the WINS Database manually and what entry will you put at the WINS configuration panel?

    Answer: STATIC UNIQUE ENTRY

    10)Why unnecessarily a machine is doing arp broadcast even when the target machine is in the same subnet while other machines in the same subnet are not?

    Answer: B-NODE or INVALID SUBNET MASK

    11)What utility for seeing the IP address-to- MAC- address resolution?

    Answer: ARP

    12)You have three subnets in which a single subnet is populated with 10 Laptop workstations and the other two subnets with NT Workstations. You want the 1st subnet to be supplied with IP addresses(of course by DHCP) with a lease acqusitionperiod of 10 days.The other two subnets with 30 & 40 days lease period respectively. How will you configure?

    Answer: BY IMPLEMENTING ONE DHCP SCOPE FOR EACH SUBNET AND SPECIFYING THE LEASE

    PERIOD AS PART OF EACH SCOPE'S ONFIGURATION.

    13)Your NT Server in your office is connected via RAS connectivity to the Internet ISP Server through the ISDN communcation. Now you want the Windows 95 workstation users in your internel subnet to get connected to the ISP. How will you dothat?

  • 5/21/2018 _tcp_ip

    25/45

    Answer: PPTP

    14)You want the Unix member workstations to print jobs at the NT print server connected print device. How will you configure? Answer: INSTALL TCP/IP PRITING SERVICE AND SHARE THE PRINTER.

    15)You want the Windows based machines to print at a UNIX-Network printing device connected to a NT Print Server. How will you redirect the jobs to the net printer? Answer:

    LPR How will you configure the printer on the server, if the server will managerthe printer?

    Answer: INSTALL TCP/IP PRITING SERVICE, CONFIGURE A LPR PORT FOR THE PRINTER ANDSHARE THE PRINTER. At the client only connect to the printer.

    16)You want to send the print jobs to a UNIX workstation from the windows basedmachines.Which utility will you use?

    Answer: LPR

    17)You want to view the print jobs that are sent to UNIX printer from a windows

    based Workstation.Which utility will you use?

    Answer: LPQ

    18)You are configuring a IIS server on NT Server a which is going to be used asa FTP Server and also a WWW Server. How will you configure it for the Host record?

    Answer: CNAME ..... MAIL SERVER? Answer: MX

    19)You want to monitor the NT Workstation performance from a Unix client. How will you do it? Answer: What Software (utility?) at NT Workstation and at Unix host?

  • 5/21/2018 _tcp_ip

    26/45

    Answer: SMNP MANAGEMENT SOFTWARE ON THE UNIX AND SMNP SERVICE ON THE NT SERVER.

    20)You don't want to have trap messagees from unauthorized SNMP Hosts. How willyou configure the SNMP agent workstation?

    Answer: "Community Name" and "Only Accept SNMP packages from these Hosts".

    21)When you ftp a host name using UNC you get a "Bad IP address" message. What could be the possible reason?

    Answer: HOSTS FILE.

    22)You can ping the remote host using the IP address but not through netuse \\..

    ..\... Why?

    Answer: WINS or LMHOSTS.

    23)You are not able to ping the IP address of a remote host on another subnet using Netbios name but through IP address.You can also ping the other hosts on that subnet using both ways.What went wrong?

    Answer: CLIENT NOT USING WINS SERVER.

    24)You have a domain spanning across three subnets.You want the clients in all the 3 subnets to be able to communicate and browse each other. How will you do that?

    Answer: You install and configure an NT Server to be put in the middle of threesubnets. Required: It should be made to act as a router. optional: IP router and

    should be made to dynamically update its routing table Whenever routers are added and removed from the network. That machine to be able to supply IP address toall the machines belonging to the three subnets. Also you want a NT Workstationto be sent a trap message across the network. Configure the Server to act as router. Enable IP Forwarding. Implement the DHCP Server on the NT Server. Configure RIP.

    26)You want a Workstation in Subnet A to browse and Communicate with the other w

  • 5/21/2018 _tcp_ip

    27/45

    orkstation in subnet B. But you can't even though they have their own WINS Servers installed.What will you do?

    Answer: WINS REPLICATION.

    27)You have Subnet A, Subnet B and Subnet C. The Workstations in the subnet A&Buses the WINS in the Subnet A. The Workstations in Subnet C uses its own. How wi

    ll you configure to have the users of Subnet C and B to browse themselves freely?

    Answer: WINS REPLICATION.

    28)You have two WINS servers and you want them to participate in replication.Thelink is a 56kb Slow link.You also want the Replication to take place once in aday.In the display appellete the WINS at Subnet A is configured to replicate once it get 5000 entries with its push partner WINS at subnet B. The WINS at Subnet

    B is configured to replicate with its pull partner to replicate once in 24 hours. Just grade it.

    29)You don't want to resolve host names into IP address using a DNS which contains static entries in it.What will you install in alliance with DNS to resolve IPaddress from a dynamically updated DNS database?

    Answer: WINS and ENABLE THE DNS FOR WINS RESOLUTION.

    30)157.21.36.121 UNIX Product 157.51.25.110 Product developer Above is a Hosts file entry.When you say "ftp product" you get attached to the ftp server. But when you say "FTP 157.51.25.110" you can't reach it.Why?

    Answer: INVALID FTP SERVER'S IP.... You have to know how the HOSTS file works.....

    31)How will you log on to a Domain controler which is in another domain and forthat what entries do you require at your Workstation's lmhosts file? (PDC and BDC) #PRE #DOM 32)Why a workstation is not making a broadcast even when it can't resolve through other methods?

    Answer: P-NODE

  • 5/21/2018 _tcp_ip

    28/45

    ;

    What to use to gather stats and export to a spreadsheet to analyze Answer: Perfmon Which utility will you use to export the statstics collected to a spread sheat for future analsis?

    Answer: PERFORMANCE MONITOR What utility will you use to construct a capacity planning on all statistical datas you collected?

    Answer: PERFORMANCE MONITOR

    What to use to monitor ethernet & tcpip stats Answer: netstat & network mon Whatis the utility to monitor the Ethernet traffic and the TCP/IP stasticts?

    Answer: NETSTAT -e -s

    what do you use to monitor TCP/IP stats(choose two)?

    Answer: netstat,Answer: perf mon

    What to use to view tcpip stats that are cumulative from the last time you started the comp

    Answer: netstat 'analyses cumulatively

    Answer: ; `netstat'

    what do you use to monitor TCP/IP stats since the last reboot?

    Answer: netstat

    What needed to capture and analyze frames, then send to a file

  • 5/21/2018 _tcp_ip

    29/45

    Answer: Ntwk mon

    what do you use to capture and examine Ethernet frames? Answer: network monitor

    You don't want to have trap messagees from unauthorized SNMP Hosts. How will you

    configure the SNMP agent workstation? Answer: "Community Name"

    Answer: "Only Accept SNMP packages from these Hosts".

    You want to audit a SNMP-Client by a UNIX host. What do you need.

    Answer: community name Answer: IP - address of UNIX-hosts, that the traps have t

    o be sent to

    You want to monitor the NT Workstation performance from a Unix client. How willyou do it? What Software (utility?) at NT Workstation and at Unix host? Answer:SMNP MANAGEMENT SOFTWARE ON THE UNIX Answer: SMNP SERVICE ON THE NT SERVER.

    You want to monitor an NT servers packets remotely from a UNIX host, what do youinstall? Answer: SMTP service on server, Answer: SMTP package on UNIX

    what do you install on a UNIX workstation to monitor a NT server?

    Answer: UNIX-SNMP management app, Answer: NT-SNMP(worded funny) DHCP

    You have three subnets in which a single subnet is populated with 10 Laptop workstations and the other two subnets with NT Workstations. You want the 1st subnetto be supplied with IP addresses(of course by DHCP) with a lease acqusition per

    iod of 10 days.The other two subnets with 30 & 40 days lease period respectively. How will you configure?

    Answer: BY IMPLEMENTING ONE DHCP SCOPE FOR EACH SUBNET AND PECIFYING THE LEASE PERIOD AS PART OF EACH SCOPE'S CONFIGURATION.

  • 5/21/2018 _tcp_ip

    30/45

    There are several subnets, each having its own DHCP-Server. Required result: Each client receives its unique IP-address automatically Optional result: DHCP - server must work even if one of them is down Proposed solution: Configure each DHCP-server to use the scope of another server as well

    Answer: D)does not work; (double IP-addresses possible)

    There are several subnets, each having its own DHCP-Server. Required result: Each client receives its unique IP-address automatically Optional result: DHCP - server must work even if one of them is down Proposed solution:Install a DHCP-server that covers all the IP-scopes of all subnets Do the same with all the other DHCP-servers

    Answer: does not work, double IP-addresses possible Scenerio`s You want to enable a server to work as a router. required resultrouting must be possible optional resultsdynamical routing enabled (XXXXXXX) SNMP traps are to be sent to a SNMP - manager (XXXXXXX) Solution.Activate IP-forwarding.install PPTPinstall DHCP C)..ReResult(NO OPTIONS)

    Network with 100 workstations and 20 UNIX computers. UNIX computers never move,TCP/IP is protocol used. DHCP configured with one scope for each subnet. All Windows based computers are set up as DHCP clients. Required results: 1) Every Windows based computer on each subnet must be able to access the Windows NT Server computers by computer name. 2) Every Windows based computer on each subnet must also be able to receive its IP address from the DHCP server. Optional: 1)All UNIXsystems should access by hostname any Windows NT Server computer that is set upas an FTP server. 2) All Windows based computers should access by hostname anyUNIX computer that is set up as an TELNET or FTP server. Proposed Solution: 1) Set up network routers and forward DHCP broadcasts to all subnets 2) Install Wins

    server on the network 3) Install DNS server and configure it for name resolution 4) Set up DHCP server to supply all DHCP clients with the IP address of both the WINS sever and the DNS server. 5) On the DHCP server, exclud

    e the UNIX computers' IP addresses from the scope. 6) On the WINS server, make static mapping entries for UNIX computers. A)Produces required and both optionalresults in this scenario. (However,there was one right before it that was closebut only produced one of the optional results because they did not install DNS and configure it for name resolution so the.... Optional Result#1) All UNIX systems should access by hostname any Windows NT Server computer that is set up as anFTP server was not achieved.)

    You want to enable a server to work as a router. required result..routing must be possible optional resultsdynamical routing enabled SNMP traps are to be sent toa SNMP - manager (XXXXXXX) Solution.activate IP-forwarding ..install RIP instalCP B)Required and One Option

    Printing what do you install on a NT server with an attached device to allow a UNIX machine to print to it? Answer: TCP/IP printing service You have a NT-Server

  • 5/21/2018 _tcp_ip

    31/45

    , Windows-Clients and a printer connected to a UNIX-host. What do you need. Answer: TCP/IP Priting Sevice Installed???

    You want the Windows based machines to print at a UNIX-Network printing device connected to a NT Print Server. How will you redirect the jobs to the net printer?

    Answer: LPR

    You want to send the print jobs to a UNIX workstation from the windows based machines.Which utility will you use?

    Answer: LPR What does an NT - client need to print to a printing device connected to aUnix host Answer: LPR??

    You want the Unix member workstations to print jobs at the NT print server connected print device. How will you configure? Answer: INSTALL TCP/IP PRITING SERVICE Answer: SHARE THE PRINTER.

    How will you configure the printer on the server, if the server will manager theprinter?

    Answer: INSTALL TCP/IP PRITING SERVICE, CONFIGURE A LPR PORT FOR THE PRINTER AND

    SHARE THE PRINTER. At the client only connect to the printer.

    You want to view the print jobs that are sent to UNIX printer from a windows based Workstation.Which utility will you use?

    Answer: LPQ

    What do you need to audit a printer connected to a UNIX - host

    Answer: LPQ???

    Hosts/LMHOSTS Files A PDC and several BDCs in different subnets must be able to'see' each other without using wins.

  • 5/21/2018 _tcp_ip

    32/45

    Answer: adequate #PRE and #DOM - entries in their LMHOSTS -files.

    Browsing with the Lmhosts File

    Answer: in each Lmhosts-File on an Domain Controller should be the other DomainController for browsing, User Account updating and User logon.

    How will you log on to a Domain controler which is in another domain and for that what entries do you require at your Workstation's lmhosts file? (PDC and BDC)#PRE #DOM

    You can ping the remote host using the IP address but not through netuse \\....\... Why?

    Answer: WINS or LMHOSTS.

    You can ping a remote - client by using its IP-address but not by using its name, whereas you can ping all the other hosts in the remote subnet by IP-address aswell as name. client is neither WINS-enabled nor does he have an entry of yourcomputer in its Answer: LMHOSTS - file.

    LMHOSTS - file with '#' in front of the names. -

    Answer: does not work

    When you ftp a host name using UNC you get a "Bad IP address" message. What could be the possible reason?

    Answer: HOSTS FILE.

    157.21.36.121 UNIX Product 157.51.25.110 Product developer Above is a Hosts fileentry.When you say "ftp product" you get attached to the ftp server. But when you say "FTP 157.51.25.110" you can't reach it.Why?

  • 5/21/2018 _tcp_ip

    33/45

    Answer: INVALID FTP SERVER'S IP.... You have to know how the HOSTS file works.....

    Misc How to configure a RAS - server that directly accesses the internet and uses PPTP. Clients access the RAS server via an ISP that is accessed with a modem.

    Answer: PPTP filter

    Your NT Server in your office is connected via RAS connectivity to the InternetISP Server through the ISDN communcation. Now you want the Windows 95 workstation users in your internel subnet to get connected to the ISP. How will you do that?

    Answer: PPTP

    Client A ------ router ------- Client B routers left IP-address is 200.64.64.1,its right IP-address is 200.64.32.1. Why can Client A not access client B?

    Answer: Its DG was 200.64.64.1

    Host ------- router ------ server Class B net host's IP : ...82.2 routers left IP-address is ...64.1, its right IP-address is ...32.1. SM 255.255.240.0 Why can

    the host not access the server

    Answer: With this SM the host is in a different subnet than it's DG.

    Why a workstation is not making a broadcast even when it can't resolve through other methods?

    Answer: P-NODE

    A client broadcasts to much to connect to other clients on the same subnet. Answer: wrong subnet mask

    Why unnecessarily a machine is doing arp broadcast even when the target machine

  • 5/21/2018 _tcp_ip

    34/45

    is in the same subnet while other machines in the same subnet are not?

    Answer: B-NODE or INVALID SUBNET MASK

    You plan a internetwork. How many NET-Ids do you need? (Choose two) one for eachsubnet ???? one for each host one for each host' s NIC one for each router' s interface one for each WAN - link???

    what determines how many host id's needed for a subnet mask?(choose two) Answer:NIC for host, Answer: router interface Utilities Clear the NETBIOS - cache

    Answer: NBTSTAT -R

    Show the NETBIOS - Cache

    Answer: NBTSTAT -c

    What is the utility to view what configuration changes the DHCP made at your workstation Configuration?

    Answer: IPCONFIG /ALL Name Servers(wins-dns)

    You don't want to resolve host names into IP address using a DNS which containsstatic entries in it.What will you install in alliance with DNS to resolve IP address from a dynamically updated DNS database?

    Answer: WINS and ENABLE THE DNS FOR WINS RESOLUTION.

    You have 6 subnets, each has 150 Windows NT workstations; 25 UNIX systems; 25 win95 notebooks. You have a DNS server on one subnet and each subnet has a Wins server. How you can do less Administration on the DNS?

    Answer: By enabling wins resolution for DNS. (DHCP can only integrate with WINSif you specify the 44/NBNS server, and /46NBT node type)

  • 5/21/2018 _tcp_ip

    35/45

    UNIX - hosts must be made able to use wins for name resolution. DNS is already installed. Answer: Use WINS resolution in DNS. (Be careful: They asked for WINS reverse lookup in this context, which is wrong)

    Three UNIX machines are to be stored in the WINS Database manually and what entry will you put at the WINS configuration panel?

    Answer: STATIC UNIQUE ENTRY

    If you have 5 subnets you want to implement wins how many wins server you need?

    Answer: One

    You are not able to ping the IP address of a remote host on another subnet usingNetbios name but through IP address.You can also ping the other hosts on that subnet using both ways.What went wrong?

    Answer: CLIENT NOT USING WINS SERVER.

    You want a Workstation in Subnet A to browse and Communicate with the other workstation in subnet B. But you can't even though they have their own WINS Serversinstalled.What will you do?

    Answer: WINS REPLICATION.

    You have Subnet A, Subnet B and Subnet C. The Workstations in the subnet A&B uses the WINS in the Subnet A. The Workstations in Subnet C uses its own. How willyou configure to have the users of Subnet C and B to browse themselves freely?

    Answer: WINS REPLICATION.

    what resolution method to use if you want client to talk to WINS first, then broadcast?

    Answer: h-mode

  • 5/21/2018 _tcp_ip

    36/45

    ;

    Let's say that you've typed in www.hardcoremcse.com to get to this site. When you do this you are using a domain name, which is used to mask the IP address so you can remember the URL better. Beneath every domain name is an IP address. Also, beneath every IP address is a BINARY representation of the IP address itself.This binary code is used by the computer and the binary code is the only code that the computer understands. For example, if they mean the same thing, which is

    easier for you to remember?

    A) www.hardcoremcse.com B) 207.112.26.91 C) 1100 1111.0111 0000.0001 1010.0101 1011

    Of course the answer is A, unless you're the Rain Man. Anytime you want to go toany website you can type in its domain name or you can type in its IP address at the URL locator of your browser. However, you should note that typing in the IP address will not always work because of the use of DHCP ( Dynamic Host Configuration Protocol ) servers. I won't go into any details about DHCP servers here.Just remember that there is an IP address beneath every domain name. In the ques

    tion above, it doesn't matter to a computer what the answer is. It can rememberall three just the same.

    Remember that a computer is just a bunch of electronic switches, either the switch is on or off. The number 1 denotes an ON switch and a 0 denotes an OFF switch. Also remember that you can also represent computer language by using the base2 number system raised to the power n. Okay, enough. Let's get hardcore about the subnetting table.

    Question 1. Without using a calculator convert 1111 1110 to its decimal value.

    These type of questions are really easy. Here is all you have to do:

    128 64 32 16 8 4 2 1 1 1 1 1 1 1 1 0

    Wherever you see the binary value of 1's, take the decimal value above them and

    add them all up. In this case: 128 + 64 + 32 + 16 + 8 + 4 + 2

    Answer: ; 254. The decimal value of 1111 1110 is 254.

    Question 2. Without using a calculator convert 1100 1011 to its decimal value.

  • 5/21/2018 _tcp_ip

    37/45

    Again, wherever you see a 1 in the binary value, use the decimal value above itand add all the values up.

    128 64 32 16 8 4 2 1 1 1 0 0 1 0 1 1

    In this case: 128 + 64 + 8 + 2 + 1

    Answer: ; 203. The decimal value of 1100 1011 is 203.

    Question 3. Without using a calculator convert 1 1100 to its decimal value.

    For this question, you have to be careful. There are 8 bits in an octet so what

    you have to do is add some leading zeroes. So 1 1100 becomes 0001 1100. Then usethe table:

    128 64 32 16 8 4 2 1 0 0 0 1 1 1 0 0

    ;

    Answer: ; 16 + 8 + 4 = 28.

    The decimal value of 1 1110 is 28. Just remember to add leading zeroes to make the byte 8 bits before you apply the conversion. I hope by now you can see the pattern of 128, 64, 32...You see, there is a direct relationship between decimal numbers and the base 2 number system.

    Now, we'll construct the subnet table. Just remember the letters and numbers inred are used to illustrate the process.

    Hosts Per Subnet Binary value of Subnet Mask Decimal Value of Subnet Mask # of Subnets 2n-2 Class A Class B Class C 1111 1111 (nAnswer: 8) 255 1) 254 1A) 65, 534 1B) 254 1C) 0 1111 1110 (nAnswer: 7) 254 126 131, 070 510 0 1111 1100 (nAnswer: 6) 252 62 262, 142 1, 022 2 1111 1000 (nAnswer: 5) 248 30 524, 286 2, 046 6 1111 0000 (nAnswer: 4) 240 14 1, 048, 574 4, 094 14 1110 0000 (nAnswer: 3) 224 6)6 6A) 2, 097, 150 6B) 8, 190 6C) 30 1100 0000 (nAnswer: 2) 192 2 4, 194, 302 16,382 62

  • 5/21/2018 _tcp_ip

    38/45

    To get the number of hosts per subnet, first convert the subnet into its binaryequivalent, then apply this formula: 2z -2. Where z represents the number of bits set to zero in your octets. In this case there are 16 zeroes in the subnet mask of 255.255.0.0. So applying the formula: 216 - 2 Answer: ; 65, 534, which is exactly the same as 1A). Again, you subtract 2 from the equation because the IP address of your hosts cannot include 0 or 255.

    To get 1B). If you want to divide your class B network into 254 subnets, then you would use the subnet mask of 255.255.255.0. Remember that in a class B addressthe 1st and 2nd octets are fixed. The binary value of 255.255.255.0 is:

    255.255. 1111 1111. 0000 0000

    I didn't convert the 1st or 2nd octets into their binary equivalents because ina class B address the 1st and 2nd octets are fixed, even for their subnet masks.

    To get the number of subnets use: 2n - 2. Where n is the number of bits with the value of 1's, in this case there are 8 of them, so 28 - 2 Answer: ; 254 subnets. To get the number of hosts use: 2z - 2, where z represents the the bits with0's. In this case there are also 8 of them. So 28 - 2 Answer: ; 254, which is the same as 1B).

    To get 1C). The number of hosts per subnet if your network is divided into 254 subnets. If you want your class C network to have 254 subnets then your subnet mask would be 255.255.255.255, which would look something like:

    255.255.255. 1111 1111.

    I didn't convert the 1st, 2nd or 3rd octets because they are fixed in a class Cnetwork, even for their subnet masks. To get the number of hosts, apply 2z - 2.Where z represents the bits set to 0's. In this case there are no bits set to 0,so the equation will not work. You would end up with -1 hosts per subnet. Whatthis means is that if you divide your class C network into 254 subnets, you can't have any hosts. In a production environment, if you have a class C network, you would probably never divide your network into more than 6 subnets. Look at thetable to see how the number of hosts per subnet would be affected if you were t

    o divide your Class C address into more than 6 subnets.

    By now you should see a general pattern developing. I'll do a few more examples.

    To get 6). If you want to divide your network into 6 subnets you would use the d

  • 5/21/2018 _tcp_ip

    39/45

    ecimal value of 224 somewhere in your subnet mask. I'll use class A in this example again. If you want to divide your class A address into 6 subnets, you woulduse a subnet mask of 255.224.0.0. In binary form it would look like this:

    255. 1110 0000. 0000 0000. 0000 0000

    Again, I didn't convert the 1st octet because it is fixed in a class A address.

    To get the number of subnets use: 2n - 2. Where n represents the number of bitsset to 1, in this case there are 3 of them; so 23 - 2 Answer: ; 6 subnets.

    To get 6A). If you want to divide your class A address into 6 subnets how many hosts per subnet can you have? First, if you want to have 6 subnets in your classA address you would use a subnet mask of 255.224.0.0, which in binary form looks like:

    255. 1110 0000. 0000 0000. 0000 0000

    To get the number of hosts per subnet use 2z - 2. Where z represents the numberof bits set to 0 in the octets. In this case there are 21 of them. So 221 - 2 Answer: ; 2, 097, 150, which is exactly the same as 6A).

    To get 6B). If you want to divide your class B network into 6 subnets you woulduse a subnet mask of 255.255.224.0, which in binary looks like this:

    255.255. 1110 0000. 0000 0000

    Again, I didn't convert the 1st or 2nd octets because they are fixed in a classB address, even for the subnet mask. To get the number of hosts per subnet use:2z - 2. Where z represents the 0's in your octets. In this case there are 13 ofthem. So 213 - 2 Answer: ; 8, 190 hosts per subnet, which is exactly the same as6B).

    To get 6C). If you want to divide your class C network into 6 subnets, then youwould use the subnet mask of 255.255.255.224, which is:

    255.255.255. 1110 0000

    Again, I didn't convert the 1st, 2nd and 3rd octets because they are fixed and d

  • 5/21/2018 _tcp_ip

    40/45

    o not figure into the calculations. To get the number of hosts per subnet use: 2z - 2. Where z is the number of 0's in your octets. In this case there are 5 ofthem. Using the formula: 25 - 2

    Answer: ; 30 hosts per subnet, which is the same as 6C).

    I am going to stop here. But by now you should be able to construct the IP addre

    ss table and the subnet table by just remembering these two things: The range ofthe first octets in each network class and their subnet masks.

    Question 1. Your IP address is 140.100. x. y and your subnet mask is 255.255.255.224. How many subnets and hosts can you have on your internetwork?

    Answer: In this question, memorizing the subnet table will NOT help you. This isan example of one of the