[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dos redes y puente a una tercera



Me rindo.

Hasta hace 15 días esto funcionaba de maravillas.
Actualicé el sistema "jessie" amd64, y dejó de andar.
Que a la sazón, esa actualización me obligó a eliminar "hal" a mano (obsoleto según Debian), porque reportaba un larga lista de errores.

Tengo dos redes físicas y una placa inalámbrica con un puente a una de ellas.

Por alguna razón, eth1 se niega a funcionar en compañía de las otras dos placas.

La configuración de la red es:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# /etc/network/interfaces

# 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

# WiFi Access Point
 auto br0
 iface br0 inet dhcp
 bridge-ports eth0 wlan0

# Internet
 auto eth0
 iface eth0 inet dhcp

# Intranet
 auto eth1
 iface eth1 inet dhcp


#######################################################################

# Enrutamiento

 post-up route del -net 10.3.10.0/24
 post-up ip route change default via 10.3.12.246 dev br0

 post-up route add -host 10.3.0.207 gw 10.3.12.246 dev br0
 post-up route add -host 10.3.0.206 gw 10.3.12.246 dev br0

 post-up route add -host 10.1.0.231 gw 10.3.10.254 dev eth1
 post-up route add -host 10.1.12.201 gw 10.3.10.254 dev eth1
 post-up route add -host 10.1.0.216 gw 10.3.10.254 dev eth1
 post-up route add -host 10.1.0.215 gw 10.3.10.254 dev eth1
 post-up route add -host 10.1.0.202 gw 10.3.10.254 dev eth1
 post-up route add -host 10.1.0.224 gw 10.3.10.254 dev eth1
 post-up route add -host 10.3.10.118 gw 10.3.10.254 dev eth1

 post-up /etc/init.d/hostapd restart
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

La salida de un arranque es:

# /etc/init.d/networking start
[....] Configuring network interfaces...
Waiting for a max of 30 seconds for eth0 wlan0 to become available.

Waiting for br0 to get ready (MAXWAIT is 62 seconds).
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/br0/00:87:30:23:0e:a8
Sending on   LPF/br0/00:87:30:23:0e:a8
Sending on   Socket/fallback
DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 16
DHCPREQUEST on br0 to 255.255.255.255 port 67
DHCPOFFER from 10.3.12.241
DHCPACK from 10.3.12.241
Reloading /etc/samba/smb.conf: smbd.
bound to 10.3.12.121 -- renewal in 42103 seconds.
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/a0:f3:c1:01:da:92
Sending on   LPF/eth0/a0:f3:c1:01:da:92
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 10.3.12.241
DHCPACK from 10.3.12.241
Reloading /etc/samba/smb.conf: smbd.
bound to 10.3.12.143 -- renewal in 37999 seconds.
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth1/94:de:80:50:99:99
Sending on   LPF/eth1/94:de:80:50:99:99
Sending on   Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.3.10.254
Reloading /etc/samba/smb.conf: smbd.
RTNETLINK answers: File exists
bound to 10.3.10.104 -- renewal in 43069 seconds.
SIOCADDRT: Network is unreachable
Failed to bring up eth1.
done.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Las frases Failed to bring up eth1 y SIOCADDRT: Network is unreachable me tiene harto.

Si bajo toda la red, y levanto sólo eth1, tampoco funciona:
# ifup eth1
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth1/94:de:80:50:99:99
Sending on   LPF/eth1/94:de:80:50:99:99
Sending on   Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.3.10.254
Reloading /etc/samba/smb.conf: smbd.
RTNETLINK answers: File exists
bound to 10.3.10.104 -- renewal in 42151 seconds.
Cannot find device "br0"
Failed to bring up eth1.

Si lo levanto de forma "especial", es decir, con una configuración para él solito, sí funciona:

# ./eth1.sh
[ ok ] Deconfiguring network interfaces...done.
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth1/94:de:80:50:99:99
Sending on   LPF/eth1/94:de:80:50:99:99
Sending on   Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.3.10.254
Reloading /etc/samba/smb.conf: smbd.
RTNETLINK answers: File exists
bound to 10.3.10.104 -- renewal in 41974 seconds.

Ya se me quemaron las pestañas.

JAP


Reply to: