1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
raketka [301]
3 years ago
9

What command prompts should be used to assign an IP address to:

Computers and Technology
1 answer:
S_A_V [24]3 years ago
7 0

Answer:

...

Explanation:

A. Cisco Router

1. Enter global configuration mode using the next commands:

Router>enable

Router#configure terminal

2. enters the configuration mode for a Gigabit Ethernet interface on the router using this command:

interface gigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 0/1

3. Set the IP address and subnet mask for the specified GE interface using this command:

ip address x.x.x.x y.y.y.y

Example:

Router(config-if)# ip address 192.168.0.1 255.255.255.0

4. Finally, enable the GE interface, changing its state from administratively down to administratively up:

Router(config-if)# no shutdown

Exit configuration mode for the GE interface and returns to global configuration mode using this:

Router(config-if)# exit

B. Cisco Switch

Normally Cisco switches forward Ethernet frames without any configuration. so you don´t need to assign them an IP address, but to perform switch management over the network or use protocols such as SNMP, the switch will need to have an IP address. Here are the steps:

1. Enter global configuration mode using the next commands:

Switch>enable

Switch#configure terminal

2. Enter the VLAN 1 configuration mode:

Switch(config)#int vlan 1

3. Assign an IP address with the ip address IP ADDRESS SUBNET MASK interface subcommand.

Example:

Switch(config-if)#ip address 10.0.0.1 255.0.0.0

4. Enable the VLAN 1 interface with the no shutdown interface subcommand.

example:

SW1(config-if)#no shutdown

C. Local PC

1. Click Start Menu > Control Panel > Network and Sharing Center or Network and Internet > Network and Sharing Center.

2. Click Change adapter settings.

3. Right-click on Wi-Fi or Local Area Connection.

4. Click Properties.

5. Select Internet Protocol Version 4 (TCP/IPv4).

6. Click Properties.  

7. Select Use the following IP address.

8. Enter the IP address, Subnet mask, Default gateway, and DNS server.

9. Click OK.

You might be interested in
Why do we need to shutdown our computer unit before we clean and disassemble?
Len [333]
Silly question! Of course you have to shutdown because you can ruin some components. Also you can block the CPU fan, CPU is very hot like the computer internals.
3 0
4 years ago
___________ is Google’s machine-learning artificial intelligence system that interprets people’s searches to find pages that mig
Sonja [21]

Answer:

RankBrain

Explanation:

RankBrain is a machine learning-based search engine algorithm, the use of which was confirmed by Google on 26 October 2015. It helps Google to process search results and provide more relevant search results for users.

4 0
3 years ago
Imagine the user types in a complete sentence, but we want to read only the first word and place it in the String variable word.
Vladimir [108]

Answer:

import java.util.Scanner;

public class FirstWord {

   public static void main(String[] args) {

       //NOW YOU WANT TO COLLECT INPUTS FROM THE STUDENT OR USER

       //IMPORT THE SCANNER CLASS FIRST  outside your class

       // THEN YOU CREATE AN OBJECT OF THE SCANNER CLASS

       Scanner input = new Scanner(System.in);

       

       //CREATE A VARIABLE TO HOLD THE USER INPUT

       String text = input.nextLine();

       

       //The variable holder will be used to store characters from the for loop

       String holder="";

       

       //Create a for loop that loops through the user's input

       for(int i=0; i<text.length(); i++){

           //As the loop increases, we get the character in the user's input and store them one by one in the variable holder

           holder+=text.charAt(i);

           if(text.charAt(i)==' '){

               //If the loop encounters a space, it means a complete word has been gotten from the user's input

               //Then the break below Breaks the loop, and the loop stops running

               break;

           }

       }

       System.out.println(holder);

}

Explanation:

text.length() returns the length of the sequence of characters present in length

text.charAt(a number) Returns the char value at the specified index. An index ranges from 0 to length() - 1. The first char value of the sequence is at index 0, the next at index 1, and so on, as for array indexing.

Create a for loop

How does a for loop work?

It collects a starting point, an end point and an increment respectively....all these are passed in as arguments into the for loop

For example, the code above starts from 0, calculates the number of characters in the user's input and sets it as the end point, the loop runs from zero to the length of the text of the user...

Note: i++ in the loop is the increment, it means the loop increases by 1

8 0
4 years ago
Python
Lemur [1.5K]

Answer:

#Program starts here

#Prompt User for Input "FirstName and LastName "

FirstName = input("Enter Your FirstName: ")

LastName = input("Enter Your LastName: ")

#Define Function

def lastF(FirstName, LastName):

     FirstName = FirstName[0]+"."

     print(LastName+", "+FirstName);

lastF(FirstName, LastName) #Call Function

#End of Program

Explanation:

On line 3 and 4, the user is expected to enter his/her first name and last name respectively

On line 6, the function LastF with two arguments is defines

On line 7, the initial of FirstName is extracted

Line 8 prints the required output

Line 9 Calls the defined function.

3 0
4 years ago
Which of the following is the best example of positive peer pressure?
Lubov Fominskaja [6]
Your friends sign up for a 5K run and invite you to train with them and run in the race.
3 0
3 years ago
Read 2 more answers
Other questions:
  • Observing users as they enter passwords or other personal information to a computer Auditing software often used to test compute
    6·1 answer
  • Network id is 192.168.10.32/28. what would be the ip address, if you assign the last available ip address in the range
    14·2 answers
  • State one advantage of organising data into columns and rows
    11·1 answer
  • To gain experience of using and combing different sorting algorithms: election sort, insertion sort, merge sort, and quick sort.
    14·1 answer
  • During flashbacks you experience______.
    14·2 answers
  • A ________ is a dummy function that is called instead of the actual function it represents, to test that the call to and return
    8·1 answer
  • Create a loop that will output all the multiples of 5 that are greater than zero and less than 60 (do not include 60). 5, 10, 15
    10·1 answer
  • Write a program which capitalize every character after full stopin a given sentence
    11·1 answer
  • Peter took a selfie in his room. He was a wearing a light blue shirt. But he failed to realize that that shirt would clash in co
    12·2 answers
  • an individual’s Body Mass Index (BMI) is a measure of a person’s weight in relation to their height. it is calculated as follows
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!