nter
Task 2 Exp 1 (configure ip network)
- Connect cable from E1 of tux3 to port 3 on the switch amd E1 of tux4 to port 4 on the switch.
- On tux3, run
ifconfig eth1 upandifconfig eth1 172.16.110.1/24and 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)
- Connect cable from E1 of tux2 to port 2 of the switch
ifconfig eth1 upandifconfig eth1 172.16.111.1/24
| 172.16.111.1 |
|---|
| 00:c0:df:08:d5:98 |
- use gtkterm on serail 115200 and remove bridges:
interface bridge add bridge110andinterface bridge add bridge111
3. remove bridges from the ports 2, 3 and 4 usinginterface bridge port remove [find interface=ether2](3 and 4)
4. assign tux3 and 4 to bridge 110 and 2 to bridge 111 withinterface bridge port add bridge=bridge110 interface=ether3part 2 exp 3 router
- connect eth2 of tux4 to switch on port 14
- assign ip same as previous
- enable ipforwarding and disable icmp with
sysctl net.ipv4.ip_forward=1andsysctl net.ipv4.icmp_echo_ignore_broadcast=0
| 172.16.111.253 |
|---|
| 00:e0:7d:b4:d1:cd |
- set route to subnetwork, in tux2:
route add -net 172.16.110.0/24 gw 172.16.111.253and in tux3route add -net 172.16.111.0/24 gw 172.16.110.254
part 2 exp 4 commercial router
-
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)
-
assign ip to the router to the lab network
ip address add address=172.16.1.111/24 interface=ether1 -
assign ip to the router to bridge111 with
ip address add address=172.16.111.254/24 interface=ether2 -
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) -
add route to 172.16.1.0/24 from tux4 with
route add -net 172.16.1.0/24 gw 172.16.111.254 -
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 -
in tux2 run the commands in the slide
-
delete the route to tux3 from tux2 using
route del -net 172.16.110.0/24 gw 172.16.111.253 -
add the route to go to the router
route add -net 172.16.110.0/24 gw 172.16.111.254