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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access problem

Status
Not open for further replies.

frozenpeas

Technical User
Sep 13, 2001
893
CA
I have such a headache.

I have 2 IPs. One machine is running *cough* Windows 98. The other is running Red Hat 7/Apache.

I can access the server from anywhere outside my house. When I try to access it from within my house, I can't get at it. All I can do is ping it.

I have tried different (cable) modems, ethernet cables, I have even tried using a dial-up account with a different ISP but still cannot access the server from within here.

I can access it from anywhere else. I can hit any other site. The only thing I can't do is access my own server from within my own walls.

Please. Someone. Help. Me.
 
Oh, I also can't ping the Windoze 98 machine from the Linux box.
 
Hi,

Well are both machines configured on the same subnet to start ? I'm assuming you have them connected via a hub and are using the correct cables (straight-through). You'd need IP addresses something like :

172.16.16.1 255.255.0.0
172.16.16.2 255.255.0.0

or

192.168.1.1 255.255.255.0
192.168.1.2 255.255.255.0

In other words, where the 'network' part of the address (as indicated by the subnet mask) is identical on both machines.

Can you describe the way the two boxes are connected (if at all ?) so that its a bit clearer....

Regards
 
I am using a hub, and I am using straight-through cables. I picked up a cross-over cable just for something else to try, too.

Windows box: 24.72.10.196, 255.255.255.0
Linux (server) box: 24.72.10.238, 255.255.255.0
 

Situation is:
win 98 can ping linux machine.
lin box no ping against win98.
connect to linux box from external addresses: all services.
no connect to linux box from internal address.

Is this correct?

Take a look at your firewall rules:
ipchains/tables -L
Look at what services are enabled/disabled in xinetd
and where you allow access from.
Your network addresses look good to me.

If nothing is obviously wrong here, what drivers and nic are you using for the linux box?
 
Win98 CAN ping Linux box.
Win98 CANNOT connect to Linux box from other IP.
Linux box CANNOT ping Win98 machine.
External addresses CAN connect to Linux box (all services).

Everything is allowed on my ipchains rules.

Really, most of my settings are the default values.

On the Linux box, I am using a Cicero NIC. How do I check which driver it is using?
 
Fixed!!!

It was a conflict with the NICs I had in the Windows box.

I had two NICs installed (I used to have it setup for Internet Connection Sharing) so I took one out and now everything works like a charm.

Thanks to everyone for their help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top