From 5a6992b097deab225a043fad61bb84d11df28ded Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 20 Jul 2005 06:29:38 +0000 Subject: [PATCH] =?utf8?q?Correcciones=20hechas=20en=20nuestra=20=C3=BAlti?= =?utf8?q?ma=20experiencia=20traum=C3=A1tica=20en=20el=20laboratorio.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- hosts | 2 +- networks | 2 +- pingall | 4 +-- pingall.sh | 2 +- propagate | 2 +- routers_labo.csv | 70 ++++++++++++++++++++++++------------------------ 6 files changed, 41 insertions(+), 41 deletions(-) diff --git a/hosts b/hosts index 60fb350..8994db1 100644 --- a/hosts +++ b/hosts @@ -9,7 +9,7 @@ 10.4.1.33 brigada33 10.9.2.2 seinfeld2 10.22.1.194 trfs194 -10.4.2.10 simpson10 hosta hosa +10.4.2.10 simpsons10 hosta hosa 10.22.1.199 trfs199 hostb hosb 10.4.1.10 action10 hostc hosc 10.22.1.193 trfs193 diff --git a/networks b/networks index 155c485..9eafac6 100644 --- a/networks +++ b/networks @@ -6,7 +6,7 @@ action 10.4.1.0 brigada 10.4.1.32 seinfeld 10.9.2.0 trfs 10.22.1.192 -simpson 10.4.2.0 +simpsons 10.4.2.0 swat 10.4.1.36 heman 10.4.1.128 dukes 10.9.2.192 diff --git a/pingall b/pingall index 6186a48..974c249 100755 --- a/pingall +++ b/pingall @@ -1,10 +1,10 @@ #!/bin/sh -hosts="www alf3 friends65 csi193 action1 action2 brigada34 brigada33 seinfeld2 trfs194 hosta hostb hostc trfs193 swat37 swat38 heman130 dukes196 dukes193 dukes194 simpsons2 simpsons1 simpsons129 heman130 host hostt telnet seinfeld1 hosf hostf ftp" +hosts="www alf3 friends65 csi193 action1 action2 brigada34 brigada33 seinfeld2 trfs194 hosta hostb hostc trfs193 swat37 swat38 heman130 dukes196 dukes193 dukes194 simpsons2 simpsons1 telnet simpsons129 heman130 ftp seinfeld1" for host in $hosts do echo -n "Pingueando $host: " - res=`ping -c1 $host | grep from` + res=`ping -W1 -c1 $host | grep from` if [ -z "$res" ] then echo 'ERROR!' diff --git a/pingall.sh b/pingall.sh index d8d8657..fc6a05d 100755 --- a/pingall.sh +++ b/pingall.sh @@ -1,5 +1,5 @@ -hosts='www.google.com.ar alf1 alf3 friends65 csi93 action1 action2 brigada34 +hosts='alf1 alf3 friends65 csi193 action1 action2 brigada34 brigada33 seinfeld2 trfs194 simpson10 trfs199 action10 trfs193 gazer.com.ar swat37 swat38 heman130 dukes196 dukes193 dukes194 simpsons2 simpsons1' diff --git a/propagate b/propagate index 9bce94c..61ba19d 100755 --- a/propagate +++ b/propagate @@ -1,5 +1,5 @@ #!/bin/sh -hosts="alf3 action2 seinfeld2 hosta hostb hostc telnet trfs193 heman130 simpsons2 simpsons1" +hosts="alf1 alf3 seinfeld2 hosta hostb hostc telnet trfs193 heman130 simpsons2 simpsons1" if [ $# -gt 0 ] then diff --git a/routers_labo.csv b/routers_labo.csv index 1e5f715..ee92d40 100644 --- a/routers_labo.csv +++ b/routers_labo.csv @@ -110,29 +110,29 @@ "--" "tabla de ruteo de h103" "eth0" "10.4.2.1" "255.255.255.0" "10.4.2.255" -"eth0" "10.9.2.193" "255.255.255.224" "10.9.2.223" +"eth0:1" "10.9.2.193" "255.255.255.224" "10.9.2.223" "red" "ip" "mascara" "gateway" "interfaz" "metrica" "alf" "192.168.1.0" "255.255.255.0" "10.9.2.196" "eth0" "5" -"alf" "192.168.1.0" "255.255.255.0" "10.4.2.2" "eth0" "6" +"alf" "192.168.1.0" "255.255.255.0" "10.4.2.2" "eth0:1" "6" "friends" "10.4.1.64" "255.255.255.192" "10.9.2.196" "eth0" "5" -"friends" "10.4.1.64" "255.255.255.192" "10.4.2.2" "eth0" "6" +"friends" "10.4.1.64" "255.255.255.192" "10.4.2.2" "eth0:1" "6" "csi" "10.6.11.192" "255.255.255.240" "10.9.2.196" "eth0" "5" -"csi" "10.6.11.192" "255.255.255.240" "10.4.2.2" "eth0" "6" +"csi" "10.6.11.192" "255.255.255.240" "10.4.2.2" "eth0:1" "6" "action" "10.4.1.0" "255.255.255.224" "10.9.2.196" "eth0" "4" -"action" "10.4.1.0" "255.255.255.224" "10.4.2.2" "eth0" "5" +"action" "10.4.1.0" "255.255.255.224" "10.4.2.2" "eth0:1" "5" "trfs" "10.22.1.192" "255.255.255.224" "10.9.2.196" "eth0" "2" -"trfs" "10.22.1.192" "255.255.255.224" "10.4.2.2" "eth0" "3" +"trfs" "10.22.1.192" "255.255.255.224" "10.4.2.2" "eth0:1" "3" "seinfeld" "10.9.2.0" "255.255.255.128" "10.9.2.196" "eth0" "3" -"seinfeld" "10.9.2.0" "255.255.255.128" "10.4.2.2" "eth0" "4" +"seinfeld" "10.9.2.0" "255.255.255.128" "10.4.2.2" "eth0:1" "4" "heman" "10.4.1.128" "255.255.255.128" "10.9.2.196" "eth0" "1" -"heman" "10.4.1.128" "255.255.255.128" "10.4.2.2" "eth0" "2" +"heman" "10.4.1.128" "255.255.255.128" "10.4.2.2" "eth0:1" "2" "dukes" "10.9.2.192" "255.255.255.224" "0.0.0.0" "eth0" "0" -"dukes" "10.9.2.192" "255.255.255.224" "10.4.2.2" "eth0" "1" +"dukes" "10.9.2.192" "255.255.255.224" "10.4.2.2" "eth0:1" "1" "simpsons" "10.4.2.0" "255.255.255.0" "0.0.0.0" "eth0" "0" "brigada" "10.4.1.32" "255.255.255.252" "10.9.2.196" "eth0" "3" -"brigada" "10.4.1.32" "255.255.255.252" "10.4.2.2" "eth0" "4" +"brigada" "10.4.1.32" "255.255.255.252" "10.4.2.2" "eth0:1" "4" "swat" "10.4.1.36" "255.255.255.252" "10.9.2.196" "eth0" "1" -"swat" "10.4.1.36" "255.255.255.252" "10.4.2.2" "eth0" "2" +"swat" "10.4.1.36" "255.255.255.252" "10.4.2.2" "eth0:1" "2" "--" "tabla de ruteo de hosa" "eth0" "10.4.2.10" "255.255.255.0" "10.4.2.255" @@ -242,35 +242,35 @@ "tabla de ruteo de e131" "eth0" "10.4.1.2" "255.255.255.224" "10.4.1.31" "eth0:1" "10.4.1.34" "255.255.255.252" "10.4.1.35" "10.4.1.33" -"red" "ip" "mascara" "gateway" "interfaz" -"alf" "192.168.1.0" "255.255.255.0" "10.4.1.1" "eth0" -"friends" "10.4.1.64" "255.255.255.192" "10.4.1.1" "eth0" -"csi" "10.6.11.192" "255.255.255.240" "10.4.1.1" "eth0" -"action" "10.4.1.0" "255.255.255.224" "0.0.0.0" "eth0" -"trfs" "10.22.1.192" "255.255.255.224" "10.4.1.33" "eth0:1" -"seinfeld" "10.9.2.0" "255.255.255.128" "10.4.1.33" "eth0:1" -"heman" "10.4.1.128" "255.255.255.128" "10.4.1.33" "eth0:1" -"dukes" "10.9.2.192" "255.255.255.224" "10.4.1.33" "eth0:1" -"simpsons" "10.4.2.0" "255.255.255.0" "10.4.1.33" "eth0:1" -"brigada" "10.4.1.32" "255.255.255.252" "0.0.0.0" "eth0:1" -"swat" "10.4.1.36" "255.255.255.252" "10.4.1.33" "eth0:1" +"red" "ip" "mascara" "gateway" "interfaz" "metrica" +"alf" "192.168.1.0" "255.255.255.0" "10.4.1.1" "eth0" "1" +"friends" "10.4.1.64" "255.255.255.192" "10.4.1.1" "eth0" "1" +"csi" "10.6.11.192" "255.255.255.240" "10.4.1.1" "eth0" "1" +"action" "10.4.1.0" "255.255.255.224" "0.0.0.0" "eth0" "0" +"trfs" "10.22.1.192" "255.255.255.224" "10.4.1.33" "eth0:1" "1" +"seinfeld" "10.9.2.0" "255.255.255.128" "10.4.1.33" "eth0:1" "1" +"heman" "10.4.1.128" "255.255.255.128" "10.4.1.33" "eth0:1" "3" +"dukes" "10.9.2.192" "255.255.255.224" "10.4.1.33" "eth0:1" "3" +"simpsons" "10.4.2.0" "255.255.255.0" "10.4.1.33" "eth0:1" "4" +"brigada" "10.4.1.32" "255.255.255.252" "0.0.0.0" "eth0:1" "0" +"swat" "10.4.1.36" "255.255.255.252" "10.4.1.33" "eth0:1" "2" "--" "tabla de ruteo de e118" "eth0 " "10.9.2.2" "255.255.255.128" "10.9.2.127" "eth0:1" "10.22.1.194" "255.255.255.224" "10.22.1.223" "eth0:2" "10.4.1.33" "255.255.255.252" "10.4.1.35" "10.4.1.34" -"red" "ip" "mascara" "gateway" "interfaz" -"alf" "192.168.1.0" "255.255.255.0" "10.4.1.34" "eth0:2" -"friends" "10.4.1.64" "255.255.255.192" "10.4.1.34" "eth0:2" -"csi" "10.6.11.192" "255.255.255.240" "10.4.1.34" "eth0:2" -"action" "10.4.1.0" "255.255.255.224" "10.4.1.34" "eth0:2" -"trfs" "10.22.1.192" "255.255.255.224" "0.0.0.0" "eth0:1" -"seinfeld" "10.9.2.0" "255.255.255.128" "0.0.0.0" "eth0" -"heman" "10.4.1.128" "255.255.255.128" "10.22.1.193" "eth0:1" -"dukes" "10.9.2.192" "255.255.255.224" "10.22.1.193" "eth0:1" -"simpsons" "10.4.2.0" "255.255.255.0" "10.22.1.193" "eth0:1" -"brigada" "10.4.1.32" "255.255.255.252" "0.0.0.0" "eth0:2" -"swat" "10.4.1.36" "255.255.255.252" "10.22.1.193" "eth0:1" +"red" "ip" "mascara" "gateway" "interfaz" "metrica" +"alf" "192.168.1.0" "255.255.255.0" "10.4.1.34" "eth0:2" "2" +"friends" "10.4.1.64" "255.255.255.192" "10.4.1.34" "eth0:2" "2" +"csi" "10.6.11.192" "255.255.255.240" "10.4.1.34" "eth0:2" "2" +"action" "10.4.1.0" "255.255.255.224" "10.4.1.34" "eth0:2" "1" +"trfs" "10.22.1.192" "255.255.255.224" "0.0.0.0" "eth0:1" "0" +"seinfeld" "10.9.2.0" "255.255.255.128" "0.0.0.0" "eth0" "0" +"heman" "10.4.1.128" "255.255.255.128" "10.22.1.193" "eth0:1" "2" +"dukes" "10.9.2.192" "255.255.255.224" "10.22.1.193" "eth0:1" "2" +"simpsons" "10.4.2.0" "255.255.255.0" "10.22.1.193" "eth0:1" "3" +"brigada" "10.4.1.32" "255.255.255.252" "0.0.0.0" "eth0:2" "0" +"swat" "10.4.1.36" "255.255.255.252" "10.22.1.193" "eth0:1" "1" "--" "tabla de ruteo de e116" "eth0" "10.22.1.193" "255.255.255.224" "10.22.1.223" -- 2.43.0