VPN connection issues


C

Chuck.cobern

I can make a vpn connection from my G4, I can ping the server via IP address,
but I can not ping it via hostname. Is there something special on the Mac
configuration to tell it how to resolve names on the vpn network and not
to go to the internet to resolve names?

BTW: I'm using a Microsoft's VPN Server.

BTW:I can connect from a windows client and it can ping the server via hostname.

Thanks

Chuc
 
Ad

Advertisements

W

William Smith

I can make a vpn connection from my G4, I can ping the server via IP address,
but I can not ping it via hostname. Is there something special on the Mac
configuration to tell it how to resolve names on the vpn network and not
to go to the internet to resolve names?

BTW: I'm using a Microsoft's VPN Server.

BTW:I can connect from a windows client and it can ping the server via
hostname.
Hi Chuck!

Once you're VPN'ed in to your network, DHCP should assign your DNS
servers for you provided that it has been configured to do so for your
VPN connection.

If you have any DNS IP addresses manually entered into your TCP/IP
settings then these will override anything you get from DHCP.

If you don't have anything entered for DNS servers then your VPN
connection is probably not providing you the needed DNS IP addresses.
Try entering them manually. You can create a "location" so that you can
switch between your work connection and regular Internet connection.

Hope this helps! bill
 
C

Chuck.cobern

Hello William,

Well I have it working now. I added the server names to the host file.
I'll go back and see if I can manually add the DNS and see how that works.
I'm still wondering why my G4 is not getting the DNS info. The window clients
are getting the correct DNS info when they make a VPN connection.

Thanks

Chuck
 
W

William Smith

Well I have it working now. I added the server names to the host file.
I'll go back and see if I can manually add the DNS and see how that works.
I'm still wondering why my G4 is not getting the DNS info. The window
clients
are getting the correct DNS info when they make a VPN connection.

Let's check that...

On a Windows machine, open a command prompt by going to Start --> Run
and entering "cmd" without quotes. Click OK.

At the command prompt type "ipconfig /all" without quotes. Note any DNS
server IP addresses that you see. Also, note if you're getting any
entries for WINS servers.

On the Mac, open the Terminal from /Applications/Utilities. Type "dig"
without quotes and hit press Return. You should see IP addresses for
your DNS servers under the Additional Section.

If on the Windows machine you see WINS entries but no DNS then this is
what's doing name resolution and not DNS. You can manually enter a WINS
server entry on the Mac using /Applications/Utilities/Directory
Access/SMB.

Curious as to what you find...

bill
 
C

Chuck.cobern

Hello William,

Here's what I got on the G4. I don't see anything about the vpn dns. The
windows info is after the Mac's:

; <<>> DiG 9.2.2 <<>>
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2743
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13

;; QUESTION SECTION:
;. IN NS

;; ANSWER SECTION:
.. 400465 IN NS L.ROOT-SERVERS.NET.
.. 400465 IN NS M.ROOT-SERVERS.NET.
.. 400465 IN NS A.ROOT-SERVERS.NET.
.. 400465 IN NS B.ROOT-SERVERS.NET.
.. 400465 IN NS C.ROOT-SERVERS.NET.
.. 400465 IN NS D.ROOT-SERVERS.NET.
.. 400465 IN NS E.ROOT-SERVERS.NET.
.. 400465 IN NS F.ROOT-SERVERS.NET.
.. 400465 IN NS G.ROOT-SERVERS.NET.
.. 400465 IN NS H.ROOT-SERVERS.NET.
.. 400465 IN NS I.ROOT-SERVERS.NET.
.. 400465 IN NS J.ROOT-SERVERS.NET.
.. 400465 IN NS K.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
A.ROOT-SERVERS.NET. 50096 IN A 198.41.0.4
B.ROOT-SERVERS.NET. 50096 IN A 192.228.79.201
C.ROOT-SERVERS.NET. 591265 IN A 192.33.4.12
D.ROOT-SERVERS.NET. 158474 IN A 128.8.10.90
E.ROOT-SERVERS.NET. 59336 IN A 192.203.230.10
F.ROOT-SERVERS.NET. 591265 IN A 192.5.5.241
G.ROOT-SERVERS.NET. 59336 IN A 192.112.36.4
H.ROOT-SERVERS.NET. 50096 IN A 128.63.2.53
I.ROOT-SERVERS.NET. 591265 IN A 192.36.148.17
J.ROOT-SERVERS.NET. 158474 IN A 192.58.128.30
K.ROOT-SERVERS.NET. 591265 IN A 193.0.14.129
L.ROOT-SERVERS.NET. 591265 IN A 198.32.64.12
M.ROOT-SERVERS.NET. 591265 IN A 202.12.27.33

;; Query time: 59 msec
;; SERVER: 24.26.193.62#53(24.26.193.62)
;; WHEN: Wed Jul 20 08:43:56 2005
;; MSG SIZE rcvd: 436


Windows:

Windows IP Configuration

Host Name . . . . . . . . . . . . : auswk01
Primary Dns Suffix . . . . . . . : sbstp.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : sbstp.com
sbstp.com
TechPointe.local

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : sbstp.com
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast
Ethernet NIC
Physical Address. . . . . . . . . : 00-01-29-82-2B-17
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.119
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.254
DHCP Server . . . . . . . . . . . : 192.168.0.5
DNS Servers . . . . . . . . . . . : 192.168.0.5
Lease Obtained. . . . . . . . . . : Thursday, July 21, 2005 3:08:37
PM
Lease Expires . . . . . . . . . . : Sunday, July 24, 2005 3:08:37 PM

PPP adapter S3Ventures:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.15.108
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 192.168.15.3
65.106.1.196

Thanks

Chuck
 
W

William Smith

Hi Chuck!

Right away I can see that your Mac is listing the Internet root servers
rather than your company's internal DNS servers. The Windows machine is
listing an acceptable internal DNS server IP address.

You're correct, I'm wrong. Your Windows machine is getting DNS (and I
was suspecting WINS only) but your Mac isn't get the internal DNS
servers. Odd.

You mentioned that you added the server names to a Hosts file on your
Mac, which will work just fine, but you might consider creating a second
Location that has the DNS servers entered manually so that you can use
them to look up all resources on your network rather than limiting
yourself to the list in your Hosts file.

But you're up and working, right? If it ain't broke...

bill
 
Ad

Advertisements

C

Chuck.cobern

Hello William, yepper we are good to go at the moment.

Thanks for your help

Chuck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top