Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Lloyd Keen on October 08, 2003, 01:29:25 PM

Title: Adding a local network
Post by: Lloyd Keen on October 08, 2003, 01:29:25 PM
Can anyone remember the db command to add a local network? I keep getting errors under 6.0b3 when using the web interface. Also could someone just confirm what entry goes in the router field. I've been putting the external IP of the server here but it's not working. Here's my setup:

Server providing services to a remore network (Site A):
network 192.168.10.0
mask     255.255.255.0
externalIP 203.213.xxx.124
mask 255.255.255.252
externalGW 203.213.xxx.123

Network that will be added as local network to the above network (Site B).
network 192.168.20.0
mask 255.255.255.0
externalIP 203.213.xxx.234
mask 255.255.255.252
externalGW 203.213.xxx.233

In the server manager at Site A I select add local network then enter:
Network address   192.168.20.0
mask                    255.255.255.0
router                    203.213.xxx.124
Is this correct. I've had to manually edit the smb.conf file to add the hosts allow entries to get me by till I can sort this out.
Title: Re: Adding a local network
Post by: neurotecimbecile on October 08, 2003, 06:00:31 PM
hi there,,
  before anything else...may i know what time of router do you have,, what kind of network environment, how many users, and please give me all the possible scenarios that youve been using ,,, thanks


chris
Title: Re: Adding a local network
Post by: Lloyd Keen on October 08, 2003, 06:33:52 PM
I have SME 6.0b3 both ends as the router with static DSL both ends and probably half a dozen users at each site. The network and subnet masks are correct but in the router field I have tried the external IP of the local server, the external IP of the remote router and just a blank entry all through the web interface. I thought maybe the db command might work where the web interface hasn't.
Title: Re: Adding a local network
Post by: Michael Smith on October 10, 2003, 04:46:50 AM
Just adding the local network ain't gonna do it ... you need to install a VPN contrib & go from there.
Title: Re: Adding a local network
Post by: Lloyd Keen on October 10, 2003, 05:32:17 AM
I already had the IPsec tunnel up but just wasn't able to map shares across the tunnel due to being unable to add the local network. I've sorted it now - the router address worked out to be the internal address of the server - not the external IP which I was using. Many thanks