• October 31, 2024, 09:32:20 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Does Shareport work with VPN???  (Read 7832 times)

jimkiefer

  • Level 1 Member
  • *
  • Posts: 3
Does Shareport work with VPN???
« on: July 02, 2009, 09:04:25 AM »

Does Shareport work with VPN?  I haven't seen VPN specifically mentioned with respect to Shareport. 

I can get Shareport working on my Dell that does NOT run VPN.  However...

I can only get Shareport working on my company laptop IF I don't start VPN.  If I start VPN, the printer no longer shows up in the Shareport Utility.  Further, I need to turn off Cisco Security Agent so it can print.  Turning off Cisco Security Agent isn't a deal-breaker, but not being able to print while running VPN is a deal-breaker.  My VPN is Nortel Contivity V04_86.102 running on Windows XP. 

Below are the router, firmware, and sharepoint versions:

Router DIR-628 hw ver A2, Firmware version 1.20NA,  2009/04/24

Shareport version 1.1.0 R1

Thanks!



Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: Does Shareport work with VPN???
« Reply #1 on: July 02, 2009, 09:26:55 AM »

When you run a VPN from your network to another it changes the routing table on your PC so that your traffic is routed out the VPN, it is not a function of Shareport, that's how VPNs work.

You may be able to get around this by starting Shareport with the VPN up and ensuring that the LAN interface is the one chosen in Shareport's prefs.  No guarantees though, this is still a little on the hackish side.

As for VPNs into your network, how that would be something I would have to test.  I don't what Shareport traffic looks like, but I fear there will be a lot of broadcast traffic that is not VPN-able for discovery.
Logged
non progredi est regredi

jimkiefer

  • Level 1 Member
  • *
  • Posts: 3
Re: Does Shareport work with VPN???
« Reply #2 on: July 03, 2009, 09:45:07 AM »

How do I do this?: 

"...and ensuring that the LAN interface is the one chosen in Shareport's prefs"



When you run a VPN from your network to another it changes the routing table on your PC so that your traffic is routed out the VPN, it is not a function of Shareport, that's how VPNs work.

You may be able to get around this by starting Shareport with the VPN up and ensuring that the LAN interface is the one chosen in Shareport's prefs.  No guarantees though, this is still a little on the hackish side.

As for VPNs into your network, how that would be something I would have to test.  I don't what Shareport traffic looks like, but I fear there will be a lot of broadcast traffic that is not VPN-able for discovery.
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: Does Shareport work with VPN???
« Reply #3 on: July 06, 2009, 09:03:04 AM »

Be visiting Shareport's options panel and enable broadcast addresses and filling in the broadcast address for your LAN interface.

Your broadcast address is a IP address with the "host" portion of the IP as the highest possible value, for example.

192.168.x.y with a subnet mask of 255.255.255.0, the broadcast address is 192.168.x.255
172.16.x.y with a subnet mask of 255.255.0.0, the broadcast address is 172.16.255.255
10.x.y.z with a subnet mask of 255.0.0.0, the broadcast address is 10.255.255.255

Notice the pattern that as long as your subnet mask consists of all 255s and 0s then your broadcast address is your IP with all the potions that are 0s in the subnet mask replaced with 255s.  If you need help give me an IP on your network and your subnet mask and I will give you the correct address.
Logged
non progredi est regredi

jimkiefer

  • Level 1 Member
  • *
  • Posts: 3
Re: Does Shareport work with VPN???
« Reply #4 on: July 07, 2009, 06:06:29 PM »

Thanks for the offer.  My network skills are extremely limited.  Here it the output from ipconfig from both my work laptop and my wife's work laptop (different company), after I started a VPN session on each.   Note that both have a node in the mask that is not 255 or 0.  What should I use for each? 

My work laptop:

Ethernet adapter Wireless Network Connection:

        IP Address. . . . . . . . . . . . : 192.168.0.199
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1
        DHCP Class ID . . . . . . . . . . : Laptop

Ethernet adapter {this one appears after starting VPN}:

        IP Address. . . . . . . . . . . . : 172.22.1.242
        Subnet Mask . . . . . . . . . . . : 255.255.224.0
        Default Gateway . . . . . . . . . : 172.22.1.242

My wife's work laptop:

Ethernet adapter Wireless Network Connection:

        IP Address. . . . . . . . . . . . : 192.168.0.197
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :


Ethernet adapter Local Area Connection {this one appears after starting VPN}:

        IP Address. . . . . . . . . . . . : 10.30.131.58
        Subnet Mask . . . . . . . . . . . : 255.255.252.0
        Default Gateway . . . . . . . . . : 10.30.128.1

Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: Does Shareport work with VPN???
« Reply #5 on: July 08, 2009, 09:07:53 AM »

The one you needed to base this on was the one that existed before the VPN, so it is...

192.168.0.0/24 broadcast IP 192.168.0.255

however, just because I don't mind doing the binary math your work network broadcasts and proper CIDR notation is listed below.  Do not use these numbers for Shareport, or your ITs at work might call you angry about the broadcast traffic you are spreading.  These are being listed for edification purposes only.

172.22.0.0/19 broadcast 172.22.31.255
10.30.128.0/22 broadcast 10.30.131.255

Logged
non progredi est regredi