> Saludos listeros. He configurado un bridge (puente de red con tres
> tarjetas de red (eth0 eth1 eth2), funciona a la perfección en un entorno
> mixto (3 xp y 2 ubuntus 8.10). el problema surge que al reiniciar pierdo
> la configuración. Estas son las ordenes que pongo para que funcione:
>
> Luego de instalar el paquete:
> apt-get install bridge-utils
>
> Lo configure así
>
> ifconfig eth0 0.0.0.0
> ifconfig eth1 0.0.0.0
> ifconfig eth2 0.0.0.0
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth1
> brctl addif br0 eth2
>
> Le pongo ip al bridge así:
> ifconfig br0 192.168.0.1 netmask 255.255.255.0 up
> route add default gw  192.168.0.7 dev br0
>
> ¿Alguna Sugerencia de como hacer que al inicio me cargue esto
> automaticamnete?
>

En /etc/network/interfaces puedes configurar el bridge, un ejemplo podría
ser este:

auto br0
iface br0 inet static
        bridge_ports eth0 eth1 eth2
        address 192.168.0.1
        netmask 255.255.255.0
        gateway 192.168.0.7
        post-up ip route add _some_host_ via _other_gw_

Esto último es para por si quieres agregar rutas.

Salu2





_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l

Responder a