Wednesday, January 11, 2023

Configuring the GigabitEthemet 0/0 interface on a router.

 Question:

Configuring the GigabitEthemet 0/0 interface on a router.

  • Describe the link as 'Link to LAN'.
  • Configure the IPv4 address as 192.168.10.1 with the subnet mask 255.255.255.0.
  • Configure the IPv6 address as 2001:db8:acad:10::1 with the /64 prefix length.
  • Activate the interface.

Answer:

Enter global configuration mode.

R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Configure interface gigabitethernet 0/0/0.

R1(config)#interface gigabitethernet 0/0/0

Describe the link as “Link to LAN”.

R1(config-if)#description Link to LAN

Configure the interface with IPv4 address 192.168.10.1 and subnet mask 255.255.255.0.

R1(config-if)#ip address 192.168.10.1 255.255.255.0

Configure the interface with IPv6 address 2001:db8:acad:10::1 and the prefix length /64.

R1(config-if)#ipv6 address 2001:db8:acad:10::1/64

Enable the interface and return to global configuration mode.

R1(config-if)#no shutdown
*Aug  1 01:43:53.435: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/0, changed state to down
*Aug  1 01:43:56.447: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/0, changed state to up
*Aug  1 01:43:57.447: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0, changed state to up
R1(config-if)#exit
R1#
You have successfully configured the initial settings on router R1.

No comments:

Post a Comment

Explain the purpose of Data Link Layer and also draw the diagram for the same.

The Data Link layer is responsible for  Communications between end-device network interface cards. It allows upper layer protocols to access...