Professional Documents
Culture Documents
Labccna 9
Labccna 9
Labccna 9
Configuration and
Verification
Task 1:
IP settings using GUI differs as it depends on the Linux distribution
and desktop interface.
From GUI:
Follow the following steps to check IP configuration:
From CLI:
IP addressing can be verified by getting into the terminal window.
This is easily done by pressing CTRL + T or you can click on the
terminal icon directly or you can also click on the search icon located
on the taskbar and then type Terminal and hit Enter to open it.
From here, you can verify IP addressing by typing in a ip addr show
command. The newly opened terminal window is shown below.
Task 2:
You can configure static IP address via GUI and command prompt.
From GUI:
To assign a static IP address via GUI, open Ethernet or Wireless
adapter properties as mentioned in Task 1 and click on the IPv4 tab.
Select Manual and enter the desired static IP address, network
mask, gateway IP and DNS server IP
From CLI:
Open the Terminal window as mentioned in Task 1, and type in
following commands. Note that your interface name may differ from
ours.
ip address add 192.168.0.5/24 dev eth0
Enter the following commands to set default gateway and DNS
server:
ip route add default via 192.168.0.1 dev eth0
echo “nameserver 8.8.8.8” > /etc/resolv.conf
Task 3:
You can view the routing table under the Linux operating system
using ip route show, route -n or netstat -rn commands.
Task 4:
You can also use the Linux terminal window to release and renew IP
address.