Koozali.org: home of the SME Server

ip masq with 5.1.2

vj

ip masq with 5.1.2
« on: October 23, 2002, 01:11:41 AM »
hei
I am running SME 5.1.2 and have a problem because I have two local networks.

the first is 192.168.0.0/24 and no problem here, as the sme is local interface is on this network
the second is 192.168.2.0/24 and is connected via a router. Here I can not access the internet through sme. (but I can ping the local sme interface)

I think the solution is ip masq but I don't know how to configure it?
anyone?

Steve Bush

Re: ip masq with 5.1.2
« Reply #1 on: October 23, 2002, 09:01:12 AM »
You need to setup the SME server on 192.168.0.0/24 as the default gateway of your router.
Then the PC's on the 192.168.2.0/24 interface need to have their default gateway set to the router's interface on that network.

Next you need to add a local network in the sme server-manager:
Network address: 192.168.2.0
Subnet mask: 255.255.255.0
Router: router interface on 192.168.0.x network

That should take care of your problem....

vj

Re: ip masq with 5.1.2
« Reply #2 on: October 24, 2002, 04:51:38 PM »
Thanks a lot
had completely forgot about that "lokal network" thing, and it solved everything :-)

thanks again...