Ejercicio de IP: Numero 2 (starfox)

Host A

eth0: 150.214.110.2/24
Net ID
Máscara
Acción
150.214.110.0
FF.FF.FF.0
Directo por eth0
Default

Reenvio por 150.214.110.1

ifconfig eth0 150.214.110.2 netmask 255.255.255.0 broadcast 150.214.110.255
route add -net 150.214.110.0 netmask 255.255.255.0 dev eth0
route add default gw 150.214.110.1

Host B

eth0: 150.214.112.2/24
Net ID
Máscara
Acción
150.214.112.0
FF.FF.FF.0
Directo por eth0
Default

Reenvio por 150.214.112.1

ifconfig eth0 150.214.112.2 netmask 255.255.255.0 broadcast 150.214.112.255
route add -net 150.214.112.0 netmask 255.255.255.0 dev eth0
route add default gw 150.214.112.1


Router R1

eth0: 150.214.110.1/24
eth1: 150.214.114.1/24
Net ID
Máscara
Acción
150.214.110.0
FF.FF.FF.0
Directo por eth0
150.214.114.0
FF.FF.FF.0
Directo por eth1
150.214.112.0
FF.FF.FF.0
Reenvio por 150.214.114.2
150.214.116.0 FF.FF.FF.0
Reenvio por 150.214.114.3
Default

Reenvio por 150.214.114.4

ifconfig eth0 150.214.110.1 netmask 255.255.255.0 broadcast 150.214.110.255
ifconfig eth1 150.214.114.1 netmask 255.255.255.0 broadcast 150.214.114.255
route add -net 150.214.110.0 netmask 255.255.255.0 dev eth0
route add -net 150.214.114.0 netmask 255.255.255.0 dev eth1
route add -net 150.214.112.0 netmask 255.255.255.0 gw 150.214.114.2
route add -net 150.214.116.0 netmask 255.255.255.0 gw 150.214.114.3
route add default gw 150.214.114.4

Router R2

eth0: 150.214.112.1/24
eth1: 150.214.114.2/24
Net ID
Máscara
Acción
150.214.112.0
FF.FF.FF.0
Directo por eth0
150.214.114.0
FF.FF.FF.0
Directo por eth1
Default

Reenvio por 150.214.114.1

ifconfig eth0 150.214.112.1 netmask 255.255.255.0 broadcast 150.214.112.255
ifconfig eth1 150.214.114.2 netmask 255.255.255.0 broadcast 150.214.114.255
route add -net 150.214.112.0 netmask 255.255.255.0 dev eth0
route add -net 150.214.114.0 netmask 255.255.255.0 dev eth1
route add default gw 150.214.114.1

Router R3

eth0: 150.214.116.1/24
eth1: 150.214.114.3/24
Net ID
Máscara
Acción
150.214.116.0
FF.FF.FF.0
Directo por eth0
150.214.114.0
FF.FF.FF.0
Directo por eth1
Default

Reenvio por 150.214.114.1

ifconfig eth0 150.214.116.1 netmask 255.255.255.0 broadcast 150.214.116.255
ifconfig eth1 150.214.114.3 netmask 255.255.255.0 broadcast 150.214.114.255
route add -net 150.214.116.0 netmask 255.255.255.0 dev eth0
route add -net 150.214.114.0 netmask 255.255.255.0 dev eth1
route add default gw 150.214.114.1


Router R4

eth0: 150.214.114.4/24
ppp0: 10.0.0.2 pointtopoint 10.0.0.1
Net ID
Máscara
Acción
150.214.114.0
FF.FF.FF.0
Directo por eth0
10.0.0.1
FF.FF.FF.FF
Directo por ppp0
150.214.0.0
FF.FF.0.0
Reenvio por 150.214.114.1
Default

Reenvio por 10.0.0.1

ifconfig eth0 150.214.114.1 netmask 255.255.255.0 broadcast 150.214.114.255
ifconfig ppp0 10.0.0.2 pointtopoint 10.0.0.2
route add -net 150.214.114.0 netmask 255.255.255.0 dev eth0
route add -host 10.0.0.1 dev ppp0
route add -net 150.214.0.0 netmask 255.255.0.0 gw 150.214.114.1
route add default gw 10.0.0.1