]> git.llucax.com Git - z.facultad/75.43/tp2.git/commitdiff
Correcciones hechas en nuestra última experiencia traumática en el laboratorio.
authorLeandro Lucarella <llucax@gmail.com>
Wed, 20 Jul 2005 06:29:38 +0000 (06:29 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Wed, 20 Jul 2005 06:29:38 +0000 (06:29 +0000)
hosts
networks
pingall
pingall.sh
propagate
routers_labo.csv

diff --git a/hosts b/hosts
index 60fb35054edbff63775fa29fb9a5084e8c4c9e2e..8994db1a3439fb9bd6c061292d43e620bae5fa72 100644 (file)
--- 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
index 155c48518f88fa43a6fb747476ada63a26e1274e..9eafac6825699e7a4172cb7160b16ef997b6f49a 100644 (file)
--- 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 6186a48f9a42a6d77b2cee6516c28a884465474a..974c2492bada2271fb1951cb487b4a96b1529747 100755 (executable)
--- 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!'
index d8d865789350c0c078e4247f5da5deed6d5b225c..fc6a05d39d60d9207ac0831455d3d9a391c3cbc1 100755 (executable)
@@ -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'
 
index 9bce94cda13e8af089d932693fa04f17a387752d..61ba19d3c8017426f212ae254deeac7b613d629e 100755 (executable)
--- 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
index 1e5f7154c1bc632b4ddfa7d0a9e04f3ff94f9c90..ee92d40549e48cae312246920e5134035c85d72a 100644 (file)
 "--"                                   
 "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"            
 "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"