windows - computer cannot be accessed after connecting Junos Pulse VPN -
i have 2 machines in lan, 1 desktop, other laptop. before connecting vpn on laptop, laptop ip 192.168.1.104 , desktop 192.168.1.107, can ping laptop desktop. after connecting junos pulse vpn, saw following ipconfig /all: 10.148.184.192 (this ip of vpn connection) 192.168.1.104 (this ip of lan). after vpn connected, found cannot ping or tracert laptop (192.168.1.104) desktop (192.168.1.107).
btw, 2 machines have windows 7 installed.
does know why happen ? there approach connect laptop desktop vpn connected ?
below route table:
**0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.104 27 0.0.0.0 0.0.0.0 在链路上 10.148.184.192 6** 10.148.184.192 255.255.255.255 在链路上 10.148.184.192 261 65.44.121.0 255.255.255.0 192.168.1.1 192.168.1.104 27 65.54.6.128 255.255.255.192 192.168.1.1 192.168.1.104 27 65.54.6.192 255.255.255.224 192.168.1.1 192.168.1.104 27 65.54.11.128 255.255.255.192 192.168.1.1 192.168.1.104 27
this typically design. when vpn network, routing table gets modified such default route (0.0.0.0) goes through new virtual ip address (10.148.184.192).
in case, there 2 default routes
destination netmask gateway interface metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.104 27 0.0.0.0 0.0.0.0 on-link 10.148.184.192 6
but vpn software did - second route through 10.148.184.192 has lower "metric" (cost). nullifies first row, original default route.
what need manually add route other computer. think this:
destination netmask gateway interface metric 192.168.1.107 255.255.255 on-link 192.168.1.104 2
type @ elevated command prompt:
route add 192.168.1.107 mask 255.255.255.255 192.168.1.104 metric 2
or if want access devices on 192.168.1.* network, this:
route add 192.168.1.0 mask 255.255.255.0 192.168.1.104 metric 2
and should laptop having access desktop again. don't forget delete route when disconnected vpn.
Comments
Post a Comment