nter

Task 2 Exp 1 (configure ip network)

  1. Connect cable from E1 of tux3 to port 3 on the switch amd E1 of tux4 to port 4 on the switch.
  2. On tux3, run ifconfig eth1 up and ifconfig eth1 172.16.110.1/24 and on tux4 replace .1 with .254.
tux3 tux4
172.16.110.1 172.16.110.254
00:08:54:50:35:0a 00:08:54:71:73:ed

Task 2 Exp2 (two bridges)

  1. Connect cable from E1 of tux2 to port 2 of the switch
  2. ifconfig eth1 up and ifconfig eth1 172.16.111.1/24
172.16.111.1
00:c0:df:08:d5:98
  1. use gtkterm on serail 115200 and remove bridges:
    interface bridge add bridge110 and interface bridge add bridge111
    3. remove bridges from the ports 2, 3 and 4 using interface bridge port remove [find interface=ether2] (3 and 4)
    4. assign tux3 and 4 to bridge 110 and 2 to bridge 111 with interface bridge port add bridge=bridge110 interface=ether3

    part 2 exp 3 router

  2. connect eth2 of tux4 to switch on port 14
  3. assign ip same as previous
  4. enable ipforwarding and disable icmp with sysctl net.ipv4.ip_forward=1 and sysctl net.ipv4.icmp_echo_ignore_broadcast=0
172.16.111.253
00:e0:7d:b4:d1:cd
  1. set route to subnetwork, in tux2: route add -net 172.16.110.0/24 gw 172.16.111.253 and in tux3 route add -net 172.16.111.0/24 gw 172.16.110.254

part 2 exp 4 commercial router

  1. cable from eth1 of rc to P6.12 and from eth2 to port on bridgey1 (insert command here to assign the bridge) (switch on port 10)

  2. assign ip to the router to the lab network ip address add address=172.16.1.111/24 interface=ether1

  3. assign ip to the router to bridge111 with ip address add address=172.16.111.254/24 interface=ether2

  4. in tux3 add route to 172.16.111.0/24 (already done) and to 172.16.1.0/24 (route add -net 172.16.1.0/24 gw 172.16.110.254)

  5. add route to 172.16.1.0/24 from tux4 with route add -net 172.16.1.0/24 gw 172.16.111.254

  6. add route to 172.16.110.0/24 to router using ip route add dst-address=172.16.110.0/24 gateway=172.16.111.253

  7. in tux2 run the commands in the slide

  8. delete the route to tux3 from tux2 using route del -net 172.16.110.0/24 gw 172.16.111.253

  9. add the route to go to the router route add -net 172.16.110.0/24 gw 172.16.111.254