Error » Error News and Info » Knowledge Base » VPN to remote network on same subnet as local network

Knowledge Base Most common error and how to trouble shoot them off

Post New Thread Reply
  VPN to remote network on same subnet as local network
LinkBack Thread Tools Display Modes
Old 22-Feb-2007, 09:26 PM   #1 (permalink)
Administrator
 
Anilrgowda's Avatar

Posts: 18,695
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default VPN to remote network on same subnet as local network

My local subnet is 10.0.1.x and I'm trying to establish a dial-up vpn connection to a network that is also a 10.0.1.x subnet. I connect fine but can't access any resources on the remote subnet - which is expected. All the research I've done says it's best to change one of the subnets - and I agree, but does anyone know if there are any work-arounds without changing one of the subnets? Some have said it is possible to add a static route to get it to work, but they don't give details, or the instructions they give don't apply to my specific situation. If my local subnet is 10.0.1.x and I'm assigned 10.0.1.210 from the vpn connection, and I want to communicate with 10.0.1.6 that is on the remote subnet, how can I tell XP to route traffic destined to 10.0.1.6 through the vpn gateway? Right now it assumes that 10.0.1.6 is on the local subnet so it doesn't forward packets to the gateway.

I've tried> "route add 10.0.1.6 mask 255.255.255.255 10.0.1.210" but it gives an error.

Is there any way around this for those rare instances when both are on the same subnet and you can't change the ip scheme?
Anilrgowda is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
   


   
Old 22-Feb-2007, 09:26 PM   #2 (permalink)
Administrator
 
Anilrgowda's Avatar

Posts: 18,695
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Re: VPN to remote network on same subnet as local network

When using the windows VPN, the gateway to the corporate network is the same as the assigned VPN/Virtual adapter's IP. This may be static or dynamic. The "use default gateway" option creates a route forcing all traffic to the remote network using that gateway. You can verify this by running route print at a command line. Therefore there is nothing gained by adding a route, and actually you should receive an error to the effect that the route is alresdy in place. If you wish to try, the route statement would look like the following, assuming the VPN client were assigned the IP of 10.0.1.210 (which is also the VPN gateway address)
route add 10.0.1.0 mask 255.255.255.0 10.0.1.210
this will route all 10.0.1.x traffic to the VPN server, however it will not as a rule allow you to connect to other devices on the remote network other than the VPN server.
Anilrgowda is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Post New Thread Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 10:03 PM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

DMCA Policy

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227