Que tal lista. Hace unos días instale un servidor Proxy cache en mi red local.
Debian Squezee Squid 3 2 tarjetas de red eth0: Conecta a internet (Telecable) eth1: Conecta al switch que asimismo conecta con varias computadoras, todas con windows 7 excepto 1 con Debian. Funcionaba bien hasta esta mañana, en la que reinicie varias veces el servidor y eth1 dejo de conectarse. Al principio, había configurado todo desde la interfase gráfica de Network Manager, poniendo el modo "Compartir Internet" en eth1: Funcionaba muy bien, pero como ustedes saben, Network Manager es muy propenso a fallos y esta vez dejo de funcionar aparentemente sin razón. Así que borre Network Manager y me dedique a configurar manualmente las tarjetas desde /etc/network/interfaces Esta es la configuración que realice: *________________________________________________________________* # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp # The secundary network interface auto eth1 iface eth1 inet static address 10.42.43.1 netmask 255.255.255.0 # De estos 2 ultimos parametros no estoy muy seguro network 10.42.43.0 broadcast 10.42.43.255 # gateway 10.42.43.1 ___________________________________________________________________ Realizo un /etc/init.d/networking restart Y obtengo esto: *_______________________________________________________________________* sudo /etc/init.d/networking restart [sudo] password for xxxxxxx: Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning). Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:c0:a8:fe:3a:85 Sending on LPF/eth0/00:c0:a8:fe:3a:85 Sending on Socket/fallback DHCPRELEASE on eth0 to 10.10.6.10 port 67 send_packet: Network is unreachable send_packet: please consult README file regarding broadcast address. Reloading /etc/samba/smb.conf: smbd only. Internet Systems Consortium DHCP Client 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:c0:a8:fe:3a:85 Sending on LPF/eth0/00:c0:a8:fe:3a:85 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPOFFER from 10.230.0.1 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 10.230.0.1 Reloading /etc/samba/smb.conf: smbd only. bound to 10.230.175.82 -- renewal in 258374 seconds. done. _____________________________________________________________________ AL hacer ifconfig, la conexión con internet es correcta, pero eth1 parece que no tiene conexión. ______________________________________________________________ sudo ifconfig eth0 Link encap:Ethernet HWaddr 00:c0:a8:fe:3a:85 inet addr:10.230.175.82 Bcast:10.230.255.255 Mask:255.255.128.0 inet6 addr: fe80::2c0:a8ff:fefe:3a85/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:931 errors:0 dropped:0 overruns:0 frame:0 TX packets:324 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:258236 (252.1 KiB) TX bytes:43894 (42.8 KiB) eth1 Link encap:Ethernet HWaddr 00:21:2f:2f:aa:39 inet addr:10.42.43.1 Bcast:10.42.43.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:22 Base address:0xb800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:32 errors:0 dropped:0 overruns:0 frame:0 TX packets:32 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2000 (1.9 KiB) TX bytes:2000 (1.9 KiB) ___________________________________________________- AL hacer ping de el servidor a los clientes, y viceversa, me sale esto: PING 10.42.43.37 >From 10.42.43.1 icmp_sq2 Destination Host Unrecheable Aunque en este punto, no se si sea problema del servidor, o de la configuración de los clientes. Cuando funcionaba Network Manager, los clientes obtenían la ip automáticamente, pero supongo que en este nuevo acomodo necesito asignar la ip manualmente, algo como esto en los clientes con Windows: *________________________________________________________* Ip adress: 10.42.43.50 Netmask: 255.255.255.0 #La gateway supongo es la IP del servidor debian Gateway: 10.42.43.1 #Las DNS puse las de mi proovedor de internet, aunque no estoy seguro si debo poner estas o la ip del servidor local. DNS primaria: 200.53.250.1 DNS secundaria 8.8.8.x DNS terciaria 201.130.193.15 _______________________________________________________________________ Gracias de antemano!
