On 4/28/12 3:57 PM, Paul Lavender wrote:
> I know the purists are grumbling that this is for other forums but it is
> more interesting than flame wars about capacitors on the pcb :)
> 
> Debian Wheezy? I thought the Debian kernels did not have bridging. But
> perhaps that has changed recently, or perhaps you roll your own kernel.

I had it going in both squeeze and wheezy with minimal configuration:

/etc/network/interfaces
        auto lo
        iface lo inet loopback

        allow-hotplug eth4
        auto eth4
        iface eth4 inet dhcp

        allow-hotplug eth0
        iface eth0 inet manual
           pre-up   ifconfig $IFACE up
           pre-down ifconfig $IFACE down

        allow-hotplug eth1
        iface eth1 inet manual
           pre-up   ifconfig $IFACE up
           pre-down ifconfig $IFACE down

        allow-hotplug eth2
        iface eth2 inet manual
           pre-up   ifconfig $IFACE up
           pre-down ifconfig $IFACE down

        allow-hotplug eth3
        iface eth3 inet manual
           pre-up   ifconfig $IFACE up
           pre-down ifconfig $IFACE down

        auto br0
        iface br0 inet static
          bridge_ports eth0 eth1 eth2 eth3
          address 192.168.0.1
          broadcast 192.168.0.255
          netmask 255.255.255.0

/etc/rc.local
        iptables -t nat -A POSTROUTING -o eth4 -j MASQUERADE

/etc/sysctl.conf
        net.ipv4.ip_forward=1

regards,
/Lars
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to