Koozali.org: home of the SME Server

wrong subnet on VPN connection

Chuck Wilson

wrong subnet on VPN connection
« on: May 01, 2002, 09:15:32 PM »
The assigned address is ok on a PPTP connection but the subnet mask is 255.255.255.255 instead of 255.255.255.0. I need X.X.X.0 to browse the internal network.

I re-ran config from the console and it does allow you to adjust the pool of addresses but it didn't allow for changing the subnet mask.

Anyone have an idea?

Thanks

Chuck

Steve Bush

Re: wrong subnet on VPN connection
« Reply #1 on: May 02, 2002, 09:46:08 AM »
PPTP always assigns a 255.255.255.255 subnet to the remote PC.
Instead of browsing, try to ping an ip address on the network.
If that works, simply substitute the machine's ip address for its hostname and you should be able to browse its resources.

Bill Talcott

Re: wrong subnet on VPN connection
« Reply #2 on: May 02, 2002, 06:14:42 PM »
Hmmmm, winipcfg shows my subnet as 255.0.0.0 when I PPTP to our SME 5.0... Shouldn't PPTP use the same netmask as the DHCP server, since that's where it pulls the IPs from?

Chuck Wilson

Re: wrong subnet on VPN connection
« Reply #3 on: May 02, 2002, 09:00:41 PM »
Ping and browsing netbios name won't work.  The PPTP client and my internal network are on different subnets and the PPTP connection is somehow getting it's own IP as it's default gateway which isn't correct.

Any thoughts?
Steve Bush wrote:
>
> PPTP always assigns a 255.255.255.255 subnet to the remote PC.
> Instead of browsing, try to ping an ip address on the network.
> If that works, simply substitute the machine's ip address for
> its hostname and you should be able to browse its resources.

Chuck Wilson

Re: wrong subnet on VPN connection
« Reply #4 on: May 02, 2002, 09:06:02 PM »
Bill Talcott wrote:
>
> Hmmmm, winipcfg shows my subnet as 255.0.0.0 when I PPTP to
> our SME 5.0... Shouldn't PPTP use the same netmask as the
> DHCP server, since that's where it pulls the IPs from?

I read on the site yesterday that PPTP doesn't pass masks over the connection so it shouldn't matter.  It also said that is why there is no option to manually set the mask in PPTP  properties.  It further said that the mask will be a default based on the first octet of your ip address.

I could be wrong about the mask being my problem, but what about the erroneous default gateway assigned to my PPTP client?  It matches it's own IP instead my network's internal gateway.

My big question is why can't I see my windows domain after a successful vpn connection to our e-smith server / gateway?

Thanks

Julian Luton

Re: wrong subnet on VPN connection
« Reply #5 on: May 02, 2002, 10:08:12 PM »
It works a treat for me.
As you can see my LAN subnet is 192.168.69.0
and the subnet on network I'm VPN'ing to is 192.168.0.0
I couldn't get things to work until I realised that I needed to change my subnet to make it different from the one I was connecting to (hence my .69).
Now it works a treat, browsable and pingable.

All the best,
Julian

Ethernet adapter LAN:

        Connection-specific DNS Suffix  . : boffgroup.com
        IP Address. . . . . . . . . . . . : 192.168.69.104
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.69.1

PPP adapter amber music:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.0.148
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . : 192.168.0.148

Bill Talcott

Re: wrong subnet on VPN connection
« Reply #6 on: May 03, 2002, 01:19:01 AM »
Check my latest reply in your other thread...

http://www.e-smith.org/bboard//read.php?f=1&i=14285&t=14252

I think your situation is similar to mine, which I discussed in http://forums.contribs.org/index.php?topic=13465.msg51044#msg51044 not too long ago.