User Tools

Site Tools


informatica:hp_z230_400sb_centos7_3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
informatica:hp_z230_400sb_centos7_3 [2021/08/24 12:55]
miquel [Configuració de la xarxa de l'espectròmetre]
informatica:hp_z230_400sb_centos7_3 [2021/08/24 15:41]
miquel [Comprovació de les rutes]
Line 248: Line 248:
  
 Un cop els dos dispositius de xarxa estan en funcionament, Un cop els dos dispositius de xarxa estan en funcionament,
- 
-<WRAP todo> 
  
 <file> <file>
 # nmcli device status # nmcli device status
-DEVICE   TYPE      STATE      CONNECTION   +DEVICE  TYPE      STATE      CONNECTION  
-enp1s0   ethernet  connected  UAB-LAN      +eno1    ethernet  connected  UAB-LAN     
-enp55s9  ethernet  connected  CONSOLE-LAN  +ens3    ethernet  unmanaged  --          
-lo       loopback  unmanaged  --  +lo      loopback  unmanaged  --         
  
 # ping -c 5 spect # ping -c 5 spect
 PING spect (149.236.99.90) 56(84) bytes of data. PING spect (149.236.99.90) 56(84) bytes of data.
-64 bytes from spect (149.236.99.90): icmp_seq=1 ttl=64 time=0.140 ms +64 bytes from spect (149.236.99.90): icmp_seq=1 ttl=64 time=0.150 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=2 ttl=64 time=0.110 ms +64 bytes from spect (149.236.99.90): icmp_seq=2 ttl=64 time=0.156 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=3 ttl=64 time=0.115 ms +64 bytes from spect (149.236.99.90): icmp_seq=3 ttl=64 time=0.194 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=4 ttl=64 time=0.116 ms +64 bytes from spect (149.236.99.90): icmp_seq=4 ttl=64 time=0.153 ms 
-64 bytes from spect (149.236.99.90): icmp_seq=5 ttl=64 time=0.115 ms+64 bytes from spect (149.236.99.90): icmp_seq=5 ttl=64 time=0.127 ms
  
 --- spect ping statistics --- --- spect ping statistics ---
 5 packets transmitted, 5 received, 0% packet loss, time 3999ms 5 packets transmitted, 5 received, 0% packet loss, time 3999ms
-rtt min/avg/max/mdev = 0.110/0.119/0.140/0.012 ms+rtt min/avg/max/mdev = 0.127/0.156/0.194/0.021 ms
  
 # ping -c 5 gw.uab.cat # ping -c 5 gw.uab.cat
 PING gw.uab.cat (158.109.0.3) 56(84) bytes of data. PING gw.uab.cat (158.109.0.3) 56(84) bytes of data.
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=1 ttl=253 time=0.211 ms +64 bytes from gw.uab.es (158.109.0.3): icmp_seq=1 ttl=253 time=0.582 ms 
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=2 ttl=253 time=0.198 ms +64 bytes from gw.uab.es (158.109.0.3): icmp_seq=2 ttl=253 time=0.540 ms 
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=3 ttl=253 time=0.194 ms +64 bytes from gw.uab.es (158.109.0.3): icmp_seq=3 ttl=253 time=0.537 ms 
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=4 ttl=253 time=0.203 ms +64 bytes from gw.uab.es (158.109.0.3): icmp_seq=4 ttl=253 time=0.273 ms 
-64 bytes from gw.uab.es (158.109.0.3): icmp_seq=5 ttl=253 time=0.254 ms+64 bytes from gw.uab.es (158.109.0.3): icmp_seq=5 ttl=253 time=0.280 ms
  
 --- gw.uab.cat ping statistics --- --- gw.uab.cat ping statistics ---
-5 packets transmitted, 5 received, 0% packet loss, time 4000ms +5 packets transmitted, 5 received, 0% packet loss, time 4001ms 
-rtt min/avg/max/mdev = 0.194/0.212/0.254/0.021 ms+rtt min/avg/max/mdev = 0.273/0.442/0.582/0.137 ms
 </file> </file>
  
-</WRAP> +comprovo les rutes definides i veig que hi són les correctes,
- +
-comprovo les rutes definides i veig que són les correctes,+
  
 <file> <file>
Line 292: Line 288:
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 default         ciesudsw-core.u 0.0.0.0         UG    100    0        0 eno1 default         ciesudsw-core.u 0.0.0.0         UG    100    0        0 eno1
-149.236.99.0    0.0.0.0         255.255.255.0       101    0        0 ens3+149.236.99.0    0.0.0.0         255.255.255.0       0      0        0 ens3
 158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1 158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1
 +link-local      0.0.0.0         255.255.0.0         1002          0 ens3
  
 # route -n # route -n
Line 299: Line 296:
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 0.0.0.0         158.109.48.1    0.0.0.0         UG    100    0        0 eno1 0.0.0.0         158.109.48.1    0.0.0.0         UG    100    0        0 eno1
-149.236.99.0    0.0.0.0         255.255.255.0       101    0        0 ens3+149.236.99.0    0.0.0.0         255.255.255.0       0      0        0 ens3
 158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1 158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1
 +169.254.0.0     0.0.0.0         255.255.0.0         1002          0 ens3
 </file> </file>
 +
 +però que hi ha una (''169.254.0.0 (link-local)'') que cal eliminar amb la comanda ''route del -net 169.254.0.0 ...''
 +
 +<file>
 +# route del -net 169.254.0.0 netmask 255.255.0.0 dev ens3 metric 1002
 +
 +# route -n
 +Kernel IP routing table
 +Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 +0.0.0.0         158.109.48.1    0.0.0.0         UG    100    0        0 eno1
 +149.236.99.0    0.0.0.0         255.255.255.0            0        0 ens3
 +158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1
 +
 +# route
 +Kernel IP routing table
 +Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 +default         ciesudsw-core.u 0.0.0.0         UG    100    0        0 eno1
 +149.236.99.0    0.0.0.0         255.255.255.0            0        0 ens3
 +158.109.48.0    0.0.0.0         255.255.240.0       100    0        0 eno1
 +</file>
 +
 +Un cop eliminada, les rutes definides són les correctes.
 +
 +=== Enllaços d'interès ===
 +
 +  * [[https://askubuntu.com/questions/893097/how-to-get-rid-of-169-254-0-0-route | How to get rid of 169.254.0.0 route?]]
 +
  
 ===== Eliminar els kernels més antics ===== ===== Eliminar els kernels més antics =====
informatica/hp_z230_400sb_centos7_3.txt · Last modified: 2021/08/24 15:42 by miquel