How things could be solved...

Exercise 6

Assignment 6.1

Assignment 6.2

I'll try pinging specific computers. It used do be possible to ping the broadcast address (i.e. ping -b 10.0.0.255), however nowadays every computer is configured to ignore broadcast pings.

Assignment 6.3

I add the following lines to /etc/network/interfaces
auto eth0
iface eth0 inet static
  address 10.0.0.123
  netmask 255.255.255.0
and if I really want to, I can also add gateway 10.0.0.254 (this solves me assignment 7.6 for free).

Assignment 6.4

It should be sufficient to use route add -net 192.168.0.0 netmask 255.255.255.0 gw 10.0.0.254.

Priklad 6.5

Ping and be happy panda ;-).

Priklad 6.6

I'll use route add default gw 10.0.0.254 and miraculously I can instantly see the rest of (virtual) world. If I wanted, I could delete the route added in assignment 7.4, given that the new route also covers this old one.

Assignment 6.7

Computer in netNetwork addrNetwork maskBroadcast address
198.81.129.100198.81.128.0/18 = 255.255.192.0198.81.191.255
158.195.16.244158.195.16.0/23 = 255.255.254.0158.195.17.255
18.7.22.8318.0.0.0/8 = 255.0.0.018.255.255.255