1.Linea añadida al archivo /etc/resolv.conf:
Código:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8
Así lo he dejado colocado.
2.Interfraz reiniciada con el comando:
Código:
sudo /etc/init.d/networking restart
Aquí lo que indica la terminal:
Código:
jaume@Jaume-BTT:~$ ssh 192.168.1.50
[email protected]'s password:
Welcome to Ubuntu 15.04 (GNU/Linux 3.19.0-15-generic i686)
* Documentation: https://help.ubuntu.com/
System information as of Sat Jul 25 21:23:36 CEST 2015
System load: 0.16 Processes: 76
Usage of /: 2.1% of 72.50GB Users logged in: 0
Memory usage: 65% IP address for eth0: 192.168.1.50
Swap usage: 2%
Graph this data and manage this system at:
https://landscape.canonical.com/
0 packages can be updated.
0 updates are security updates.
Last login: Sat Jul 25 21:18:27 2015 from 192.168.1.3
jaume@UbServ01:~$ sudo /etc/init.d/networking restart
[sudo] password for jaume:
[....] Restarting networking (via systemctl): networking.serviceWarning: networking.service changed on disk. Run 'systemctl daemon-reload' to reload units.
. ok
jaume@UbServ01:~$
3.Pruebas:
3.1 Ping a 192.168.1.1:
Código:
jaume@Jaume-BTT:~$ ssh 192.168.1.50
[email protected]'s password:
Welcome to Ubuntu 15.04 (GNU/Linux 3.19.0-15-generic i686)
* Documentation: https://help.ubuntu.com/
System information as of Sat Jul 25 21:26:41 CEST 2015
System load: 0.01 Processes: 78
Usage of /: 2.1% of 72.50GB Users logged in: 0
Memory usage: 65% IP address for eth0: 192.168.1.50
Swap usage: 2%
Graph this data and manage this system at:
https://landscape.canonical.com/
0 packages can be updated.
0 updates are security updates.
Last login: Sat Jul 25 21:23:42 2015 from 192.168.1.3
jaume@UbServ01:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.310 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.311 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.323 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.320 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.322 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.306 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=0.315 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=0.315 ms
64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=0.316 ms
64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=0.354 ms
64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=0.291 ms
64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=0.329 ms
64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=0.318 ms
64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=0.297 ms
64 bytes from 192.168.1.1: icmp_seq=15 ttl=64 time=0.316 ms
64 bytes from 192.168.1.1: icmp_seq=16 ttl=64 time=0.310 ms
64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=0.311 ms
64 bytes from 192.168.1.1: icmp_seq=18 ttl=64 time=0.321 ms
^C
--- 192.168.1.1 ping statistics ---
18 packets transmitted, 18 received, 0% packet loss, time 17005ms
rtt min/avg/max/mdev = 0.291/0.315/0.354/0.026 ms
jaume@UbServ01:~$
Lo he parado yo con Control + C por que si no es infinito.
3.2 Ping a
www.google.com
Código:
jaume@Jaume-BTT:~$ ssh 192.168.1.50
[email protected]'s password:
Welcome to Ubuntu 15.04 (GNU/Linux 3.19.0-15-generic i686)
* Documentation: https://help.ubuntu.com/
System information as of Sat Jul 25 21:30:13 CEST 2015
System load: 0.08 Processes: 74
Usage of /: 2.1% of 72.50GB Users logged in: 0
Memory usage: 65% IP address for eth0: 192.168.1.50
Swap usage: 2%
Graph this data and manage this system at:
https://landscape.canonical.com/
0 packages can be updated.
0 updates are security updates.
Last login: Sat Jul 25 21:26:46 2015 from 192.168.1.3
jaume@UbServ01:~$ ping www.google.com
ping: unknown host www.google.com
jaume@UbServ01:~$
Esto es increíble, te vuelvo a agradecer tú ayuda.
Saludos.