1. Write the command su to root and enter the following commands: Note: During this lab...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Write the command su to root and enter the following commands: Note: During this lab you will need to substitute "emN" with the name of your network interface card such as eml or eth0. Use the ifconfig command to determine what it is for your system. ifconfig em N ifconfig emN down ifconfig em N Compare the output of the first and the last commands. Note the differences. The ifconfig emN down command disables your NIC, which means you cannot communicate with the network. 2. Use the ping command to ping your own machine. You can use the IP address or localhost. Write the response you got. Did you get any response? Why? 3. Bring your network interface back up again using the following command: ifconfig em N up Ping your machine again - you should get a different result now. 4. Have a look at the manual for the arp command. Use it do display all available entries. Pair up with another student for this portion of the lab. 5. Use the ping command to ping your partner's PC. If you get a 100% packet loss, drop the firewall using the following command as root: service iptables stop and try ping again. 6. Use the arp command again to display all available information. Notice the new entries. 7. Clear your arp cache by shutting down your network interface and bringing it back up again. 8. Enter the following command as root: arp -s your partner_ip your partner_MAC Write down in your own words what does this command do. 9. Examine the contents of your /etc/hosts file. 1. Write the command su to root and enter the following commands: Note: During this lab you will need to substitute "emN" with the name of your network interface card such as eml or eth0. Use the ifconfig command to determine what it is for your system. ifconfig em N ifconfig emN down ifconfig em N Compare the output of the first and the last commands. Note the differences. The ifconfig emN down command disables your NIC, which means you cannot communicate with the network. 2. Use the ping command to ping your own machine. You can use the IP address or localhost. Write the response you got. Did you get any response? Why? 3. Bring your network interface back up again using the following command: ifconfig em N up Ping your machine again - you should get a different result now. 4. Have a look at the manual for the arp command. Use it do display all available entries. Pair up with another student for this portion of the lab. 5. Use the ping command to ping your partner's PC. If you get a 100% packet loss, drop the firewall using the following command as root: service iptables stop and try ping again. 6. Use the arp command again to display all available information. Notice the new entries. 7. Clear your arp cache by shutting down your network interface and bringing it back up again. 8. Enter the following command as root: arp -s your partner_ip your partner_MAC Write down in your own words what does this command do. 9. Examine the contents of your /etc/hosts file.
Expert Answer:
Answer rating: 100% (QA)
1 Disable and Enable Network Interface Switch to root user su Substitute emN with your network inter... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
How Do You Feel About Women Executives? Instructions: This instrument focuses on your attitudes toward women in executive positions. For each item, circle the number that best represents your...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Match the accounting terminology to the definitions. 1. Sarbanes-Oxley Act 2. Internal control 3. Encryption 4. Separation of duties 5. Internal auditors
-
The precise formula for converting Celsius degrees to Fahrenheit degrees is F = 9/5 C + 32. An easier-to-use formula that approximates the conversion is F = 2C + 30. (a) Compare the values given by...
-
Based on the following transactions, calculate the revenues, expenses, net income that would be reported (a) On the cash basis and (b) On the accrual basis i. Purchased inventory with a cost of...
-
James was driving a vehicle manufactured by a major automobile manufacturer. Accompanying him were his wife and two children. James accidently drove over a curb and crashed into the concrete base of...
-
Silicon Optics has supplied the following data for use in its activity-based costing system: During the year, Silicon Optics completed an order for a special optical switch for a new customer, Indus...
-
10.A positively charged particle of specific charge , accelerated by a potential difference V moves through a uniform transverse magnetic field
-
Determine the theoretical and actual material required to produce the part, shown in figure. Raw stock is supplied in 0.875 in. diameter. A lathe cutoff tool width is 0 125 in. A 0.015 in. stock...
-
The sensitivity of the system shown to changes in k is: 1. R(s)- K2 Y(s) ks ion K,K2 Select one: ks? + 3ks O a. ks? + 3ks + k,k2 + 4 -ks? - 3ks ks2 + 3ks + k,k2 + 4 O c None of these answers is...
-
Calculate the amount of the sales volume variances in column I using the following five-step process (Do not worry about labeling the variances as U or F at this point): a. Create a formula for the...
-
Euphoria Company has two departments, X and Y. Overhead is applied based on direct labor cost in Department X and machine-hours in Department Y. The following additional information is available:...
-
MTCM Company has a target debt-equity ratio of 0.5. Its cost of equity is fifteen percent, and its cost of debt is eleven percent. What is the firm's WACC given a tax rate of 31 percent? LoanShark...
-
In the past year, Aurora Cannabis Inc. (ACB.TO), a major Canadian cannabis company, faced tough times financially. Despite making $368.6 million in gross profit (a 15% drop from last year), their...
-
SensiStart, Inc. SensiStart is made up of engineers and they have done a great job of forecasting their sales through market research and forecasting their expenses on their income statement. They...
-
For the reaction KCIO KCI +0, assign oxidation numbers to each element on each side of the equation. K in KCIO: K in KCI: Cl in KCIO: Cl in KCI: O in KCIO: O in O,: Which element is oxidized? Which...
-
Using the information presented in Problem 13.4B, prepare a partial statement of cash flows for the current year, showing the computation of net cash flows from operating activities using the...
-
Frank Willingham has the following transactions during the year: Sale of office equipment on March 15 that cost $20,000 when purchased on July 1, 2010. Frank has claimed $5,000 in depreciation and...
-
Clifford Johnson has a limited partnership investment and a rental condominium. Clifford actively manages the rental condominium. During 2012, his share of the loss from the limited partnership was...
-
Jason and Mary Wells, friends of yours, were married on December 30, 2012. They know you are studying taxes and have come to you with a question concerning their filing status. Jason and Mary would...
-
For an object in curvilinear motion, (a) the objects velocity components are constant, (b) the y-velocity component is necessarily greater than the x-velocity component, (c) there is an acceleration...
-
A football is thrown on a long pass. Compared to the balls initial horizontal velocity component, the velocity at the highest point is (a) greater, (b) less, (c) the same.
-
On Cartesian axes, the x-component of a vector is generally associated with a (a) cosine, (b) sine, (c) tangent, (d) none of the foregoing.
Study smarter with the SolutionInn App