Jan wrote:
>
> 1st answer. I want to use it as a gateway eventually just
> leave the option open to opt out for now. Basically the
> server needs to prove effective first.... unfortunately.
> Once I can show it to be reliabel and possibly even better
> than the hardware router I will put it in between clients and
> router
>
> 2nd answer. I want to put 2 nics in one of which will have a
> different range but both are (for now) connected physically
> to the same switch which is connected to the router.
>
> The problem is that I have no idea if this should work or not.
>
> So if you think it works, please let me know. If you think it
> will not work, please let me know why not and what the cure
> should be.
It would depend on how your router is set up. You'll need to set the EXTERNAL interface of the SME to the same as the other PCs (192.168.1.x), so it can access the router. You'll then need to specify a different range for the SME's INTERNAL interface (10.0.0.x for example). I'm not sure how this will affect communications between PCs on the "router LAN" and those on the "SME LAN". The SME LAN PCs will be NAT-ed behind the one "router LAN" IP address that the external interface has. Unless I'm missing something, the "router LAN" would appear to be an external network just like any other. Maybe the local networks setting would get around that though...
I don't know much about routing two separate networks on one switch. Never tried it... But if you have the SME acting as a DHCP server on its LAN and the router acting as a DHCP server for its LAN, and both LANs are on the same switch, I would think you'd get conflicts when a DHCP request was sent out by a client. You'd need to turn off DHCP on one and give out static IPs for its LAN. You may be able to specify the "router LAN" PCs in the SME's hostnames panel by MAC, so it won't try to assign its own IPs to those PCs, though I haven't tried that.
In short, an SME is everything that a "home broadband router" is, plus more. I think you're going to spend a lot of time setting things up and fixing little problems to get both routers working on the same network, when you could basically just drop in the default SME in place of the other router.