En 24 de febrero de 2020 11:39:04 a. m. "Lino H. Rodríguez Acosta" <lino...@gmail.com> escribió:

Hola.
Estoy usando ubuntu 18.04. necesito usar dos IP en una misma tarjeta para
conectarme a un FTP fuera de la red local del trabajo.

En el fichero interface hago lo siguiente
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth0:1
iface eth0:1 inet static
address 192.168.10.68
netmask 255.255.255.0
#network 192.168.10.0
gateway 192.168.10.1

La misma configuración solo cambia eth0:1 por enp3s0
auto eth0:2
iface eth0:2 inet static
address 174.166.15.13
netmask 255.255.255.248
network 174.166.15.0
gateway 174.166.15.1

Y eth0:2 por enp3s0:1 elimina ese seguro Gateway y define unos solo preferiblemente que sale para el exterior y coloca las respectivas rutas para las redes internas. No sé deben definir más de un Gateway en un mismo sistema .
Al correr service networking restart, me devuelve los siguiente:
Job for networking.service failed because the control process exited with
error code.
See "systemctl status networking.service" and "journalctl -xe" for details.

Trato de ver las ip con ifconfig y no me muestra la eth0:2.
solo me muestra enp3s0, lo y wlp2s0, pero ninguna eth0.
Gracias anticipadas
Saludos


--
Mgtr. Lino H. Rodríguez Acosta



----------
_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu





_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu

Responder a