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.