Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem establishing gateway for VPN

Status
Not open for further replies.

tcica

MIS
Dec 27, 2005
2
US
Hi-

I'm having a strange problem with 2 Unix boxes. I have 5 servers (3-Win2003, 1-SCO 5.0.5, 1-SCO 5.0.6). Until about a month ago, I was able to access all five servers through a Sonicwall VPN from my house. Now, when I establish a VPN, I can only ping the 3 Win2003 servers, and I cannot ping either SCO box. I can, however, ping these servers from any machine on the LAN. I'm using SonicWall VPN and have made no changes to this software. The only other changes I made to the SCO boxes recently were a couple of 5.0.x patches.

All I'm trying to do is telnet into the 2 SCO boxes, and this never used to be an issue. I can telnet from any machine inside the LAN.

The Sonicwall VPN appliance is 192.168.0.1 and netstat -rn for one of the SCO boxes (192.168.0.100) returns:

# netstat -rn
Routing tables
Destination Gateway Flags Refs Use Interface
default 192.168.0.1 UGS 1 29 net1
127.0.0.1 127.0.0.1 UH 4 701035 lo0
192.168 192.168.0.100 UC 1 0 net1
192.168.0.100 127.0.0.1 UGHS 4 4 lo0
192.168.2 192.168.0.243 UG 2 789 net1
192.168.4 192.168.0.243 UG 0 0 net1
192.168.5 192.168.0.243 UG 0 0 net1
192.168.6 192.168.0.243 UG 0 0 net1
192.168.7 192.168.0.243 UG 0 0 net1
192.168.9 192.168.0.243 UG 0 0 net1
192.168.100 192.168.0.243 UG 0 0 net1
224 192.168.0.100 UCS 0 0 net1
#

Any help would be appreciated.

Thanks,
-Tom
 
At first glance, it looks like the subnet mask might be wrong.

Take a look at this entry:
192.168 192.168.0.100 UC 1 0 net1

Do "ifconfig -a" to see the MASK and BROADCAST values.
If that appears incorrect, review these files:
/etc/tcp
/etc/default/tcp



 
Thanks for the quick reply.

ifconfig -a returns:

# ifconfig -a
net1: flags=4043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.100 netmask ffffff00 broadcast 192.168.0.1
perf. params: recv size: 24576; send size: 24576; full-size frames: 1
ether 00:a0:c9:c7:50:07
lo0: flags=4049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
inet 127.0.0.1 netmask ff000000
perf. params: recv size: 57344; send size: 57344; full-size frames: 1
atl0: flags=404a<BROADCAST,LOOPBACK,RUNNING,MULTICAST> mtu 8232
inet 0.0.0.0 netmask ff000000
perf. params: recv size: 4096; send size: 8192; full-size frames: 1
#
/etc/tcp has the following entries:

NETMASK=
BROADCAST=
route add default 192.168.0.1

/etc/default/tcp has the following entries:

route add default 192.168.0.1

NETMASK=255.255.255.0
BROADCAST=192.168.0.1

I'm not seeing anything off, but I'm not a Unix expert.

 
BROADCAST=192.168.0.255

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
the mask on the third route is wrong....
it should be
192.168.0 192.168.0.100
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top