Points: 80 points total
hostname (1) hostname (5) hosts ip ip-address ip-neighbour ip-route ping ss
Under Global Options disable IPv6 (if enabled) and make sure that DHCP is NOT used anywhere else (look around - do not change default route via DHCP, do not set hostname via DHCP, ...).
Also Change
Apply the changes and close the YaST.
Note that if you do this remotely through ssh then you will lose your connection to the machine (IP address has just chaged)...
Create new directory /root/net_changes .
Find all files under /etc directory that were modified due to the network config changes above and save the list into a file. Make sure that the files are listed in a long listing format similar to the output of ls -l
. Name the file "network_changed_files_long_listing" :
find /etc some_options_you_chose > /root/network_changed_files_long_listingExplain the command you used and investigate the changed files. In your report list and explain those files that are configuring network settings directly related to the network changes just made through YaST (hostname, IP address, default router, ...). Copy all of these relevant files into the /root/net_changes directory.
192.168.8.71 ariyalab6 192.168.8.72 benjaminlab6 192.168.8.73 hunterlab6 192.168.8.74 joshlab6 192.168.8.75 loganlab6 192.168.8.76 marcolab6 192.168.8.77 shannonlab6 192.168.8.78 stephenlab6 192.168.8.79 timothylab6
ivanlab6:~ #
) and
run uname -a
You should see output similar toLinux ivanlab6 5.14.21-150400.24.21-default #1 SMP PREEMPT_DYNAMIC Wed Sep 7 06:51:18 UTC 2022 (974d0aa) x86_64 x86_64 x86_64 GNU/Linux
ip a
You should see output similar to 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:50:56:3c:92:88 brd ff:ff:ff:ff:ff:ff altname enp2s1 altname ens33 inet 192.168.8.68/24 brd 192.168.8.255 scope global eth0 valid_lft forever preferred_lft forever
ip route show
You should see output similar to default via 192.168.8.1 dev eth0 192.168.8.0/24 dev eth0 proto kernel scope link src 192.168.8.56In you report explain the the output of the commands above and make sure that all variables are set correctly.
Check also that you can communicate with other computers.
Do ping 192.168.8.1
(Stop the ping by [CTRL] + C)
You should see output similar to
itestlab6:~ # ping 192.168.8.1 PING 192.168.8.1 (192.168.8.1) 56(84) bytes of data. 64 bytes from 192.168.8.1: icmp_seq=1 ttl=64 time=0.182 ms 64 bytes from 192.168.8.1: icmp_seq=2 ttl=64 time=0.249 ms 64 bytes from 192.168.8.1: icmp_seq=3 ttl=64 time=0.185 ms ^C --- 192.168.8.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2038ms rtt min/avg/max/mdev = 0.182/0.205/0.249/0.030 ms
192.168.8.11 ariya 192.168.8.51 ariyatemp 192.168.8.71 ariyalab6The other IP addresses / hostnames can be seen in /etc/hosts on lbc(csvm3). Don't forget the nametemp (IP + 40) and namelab6 from the list above.
192.168.8.4 itest 192.168.8.7 itesttemp 192.168.8.8 itestlab6
ip neigh
ping -c 3 itestlab6
ip neigh
ip neigh del 192.168.8.8 dev eth0
ip neigh
Submitted files, overall quality, length, and feedback:
Please remember the submission requirements:
If you want to correct or add something to already submitted assignment than you need to do so before the deadline and resubmit the whole report again and also resubmit your new tar.bz2 file .
Please remember that late submissions are penalized 20% / day and NO submissions that are late 3 or more days will be accepted. You can be late at most 2 days to receive any points.