P.S.: I used the term "computer" and the picture as a simplification. It is actually an ethernet enabled audio receiver/amplifier. The LAN connection is necessary for firmware updates and for listening to internet radio stations.
With a real computer, I guess, everybody would have asked why I not simply put a usb WLAN adapter onto the "computer" and connect to the astlinux router :-) Haven't thought about that when painting the diagramm... Michael wrote: > Lonnie Abelbeck wrote: > >> Michael, >> >> Could you provide some sort of diagram of your network configuration? >> >> What interfaces have what networks attached? >> > See attached diagram. I hope it is usable. > > The main point is that I have a computer in another room without a LAN > cable. But I have a small linux box there that is connected to the > astlinux router via WLAN. > > I connected the LAN connecter with the computer and configured a small > subnet here. It would have been easier to simply bridge WLAN0 and ETH0, > but then wpa_supplicant does not work. > > So the computer gets a static IP in the subnet. Its gateway is the linux > computer. This one forwards all packages to the astlinux router. > > This works, but the firewall on the astlinux router blocks all outgoing > traffic from the subnet because it only knows its local LANs. > >> Possibly you want to define two LAN subnets, ex. eth1 and br1, and then >> use the Firewall tab >> >> _x_ Allow LAN to LAN for the [ 1st and 2nd ] LAN Interfaces >> >> No static routes should be required if one subnet per interface. >> >> Lonnie >> > > I don't see how that could work in this scenario. > > Thanks for the help! > > Michael > >> >> >> On Jul 14, 2010, at 3:30 AM, Michael wrote: >> >>> Hello >>> >>> Just a short question: Where would I add static routes into astlinux? >>> >>> In my LAN I have another (small) router with a subnet. Actually, it is a >>> linux box that simply connects another room via WLAN with the astlinux >>> main router. >>> >>> I would liked to have used bridging instead of nat for the small router >>> but there seems to be a bug in wpa_supplicant that does not allow it to >>> work properly on a bridge. >>> >>> So I need to define a static route into the astlinux router, something >>> like: >>> >>> So, if my main LAN is 192.168.0.0/25 and the subnet is 192.168.0.128/29 >>> then I would need to add a route like this >>> >>> route add -net 192.168.0.128 netmask 255.255.255.248 gw 192.168.0.129 >>> dev br1 >>> >>> Hmm, I guess I also need to adapt the firewall as it will only forward >>> data from EXTIF to INTIF for the main net... (?!) >>> >>> Or is there a simple way to do it which also adapts the firewall >>> accordingly? >>> >>> Thanks >>> >>> Michael >> >> > ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
