LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-10-2004, 12:05 AM   #1
Buckyjunior
Member
 
Registered: Jul 2003
Distribution: Kubuntu Hardy
Posts: 76

Rep: Reputation: 15
Failed WAN connection


I've been looking for days to find a problem similar to mine, but cannot. If I am repeating a thread, I apologize. My problem is that I cannot access the internet with my Linux box, nor is it accessible from the outside.

My Linux box, running Fedora Core 1, as my other computers running other OS's, is connected to a D-Link DI-604 router. I've set my linux box to have the static IP address 192.168.0.138, enabled virtual server HTTP and set that IP address as "DMZ."

I can make connections from the other computers on my LAN through ssh and with a browser, pull up http pages. If I try to connect through my WAN IP, I get nothing. From the Linux box, I can ping the other machines on my network, but cannot ping anything outside.

I've checked and double-checked the settings on the router, rebooted the router, rebooted the cable modem. No help.

ifconfig looks like this:
Code:
eth0      Link encap:Ethernet  HWaddr 00:03:6D:12:44:22  
          inet addr:192.168.0.138  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4070 errors:0 dropped:0 overruns:0 frame:0
          TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          RX bytes:1142094 (1.0 Mb)  TX bytes:7383 (7.2 Kb)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2757 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2757 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          RX bytes:2181528 (2.0 Mb)  TX bytes:2181528 (2.0 Mb)
I've looked at /etc/hosts, /etc/host.allow, /etc/host.deny, iptables, and nothing seems to lend itself to finding the answer of why I have a block here. I'm frustrated, tired, and giving up for the evening.

I would be thankful for some assistance.
Bucky
 
Old 10-10-2004, 12:56 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
did you set the default gateway to the dlink router and have DNS servers in /etc/resolv.conf?
 
Old 10-10-2004, 10:47 AM   #3
Buckyjunior
Member
 
Registered: Jul 2003
Distribution: Kubuntu Hardy
Posts: 76

Original Poster
Rep: Reputation: 15
Ah, the default gateway. It *had* been set to the D-Link router then it stopped being able to go in and out. I had changed it to the IP's listed gateway where it worked for a day or so.

Now that I've changed it back to point to the D-Link, I'm back on line. I can access the internet from the linux box and I can access the linux box using my dhcp assigned IP address.

Thanks for your help.

Now, I need to move on to other issues that have been nagging me for months now. They're different topics so I'll run them in different threads.

Appreciative,
Bucky
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9: NDC command failed : rndc: connect failed: connection refused Boudewijn Linux - Networking 19 01-02-2014 07:19 AM
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 09:27 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
LAN to WAN Connection MNF Mandrake Firewall? aaziz Linux - Networking 0 02-16-2004 02:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration