Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: darmasanthi on February 26, 2008, 07:38:55 AM

Title: routing
Post by: darmasanthi on February 26, 2008, 07:38:55 AM
Hi All,
I have 2 gateways, which is once gateway (192.168.1.1) as internet gateways (Smothwall), and the other once is VPN Gateways (with SME) - with IP: 192.168.1.100
And all client computer (with Win XP) must have access to VPN and Internet with IP range : 192.168.1.0/24

For now, we has trying to setup multiple default gateways on Windows XP, but is not work stable.

Is there any contribs for SME Server for the routing tables.
so we can use 192.168.1.100 as single default gateways on Windows XP, and client can access VPN, instead Internet ...

regards,
darmasanthi
Title: Re: routing
Post by: the-heck on February 26, 2008, 10:16:58 AM
Is there DHCP running in the network?

If yes, you can set it from DHCP.

Title: Re: routing
Post by: darmasanthi on February 26, 2008, 10:45:20 AM
Is there DHCP running in the network?

If yes, you can set it from DHCP.



HI,
There is no DHCP running on the network

regards,
darmasanthi
Title: Re: routing
Post by: the-heck on February 26, 2008, 10:50:31 AM

route -add -p 0.0.0.0/0 192.168.1.100 metric 1

this will add a persistent route to 192.168.1.100.

Hope this help u.
Title: Re: routing
Post by: darmasanthi on February 26, 2008, 11:02:31 AM
route -add -p 0.0.0.0/0 192.168.1.100 metric 1

this will add a persistent route to 192.168.1.100.

Hope this help u.

Sorry, my question is : wherein we created those route? on SME Server or WindowsXP client?
how to make those route permanent ...?

regards,
darmasanthi
Title: Re: routing
Post by: the-heck on February 26, 2008, 11:15:37 AM
in the xp workstations. "-p" is for the persistent route, to retain after reboot.
Title: Re: routing
Post by: darmasanthi on February 26, 2008, 11:53:31 AM
in the xp workstations. "-p" is for the persistent route, to retain after reboot.

Thank you,
btw, how to setup the other gateway (internet gateway: 192.168.1.1),
is this correct?
- i have to setup the 192.168.1.1 as default gateway on windowsXP network, and
- i created the routed with "route -add -p 0.0.0.0/0 192.168.1.100"

my assumption is: by setting up one IP gateway on WindowsXP,
either 192.168.1.1 or 192.168.1.100 - the client can access VPN and Internet.

could you give the step by step how to ...

regards,
darmasanthi
Title: Re: routing
Post by: the-heck on February 26, 2008, 11:57:44 AM
This is beyond the scope of this forum.

Please contact me via kyledimas@yahoo.com

I'm online.
Title: Re: routing
Post by: darmasanthi on February 26, 2008, 12:01:41 PM
This is beyond the scope of this forum.

Please contact me via kyledimas@yahoo.com

I'm online.

thank you,
my add: yasaku66@yahoo.com

regards,