LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2004, 11:34 PM   #1
tlee7977
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
Cannot connect to internet through ISP LAN in Fedora Core 2


Hi everyone,

I have a Fedora Core 2 box installed on an office LAN that gets it's internet connection through a class A network ip supplied from an ISP. Here are the details.

IP address range: 10.20.20.1 to 254 (my machine is 10.20.20.120)
Netmask 255.255.255.0
Gateway 10.20.0.254

DNS server 1: 202.61.97.4
DNS server 2: 202.61.97.5

These settings work when I plug it into a Windows ME/XP Home/98 machine, however when I put these values in neat it doesn't seem to work, by that I mean mozilla cannot connect to the internet. However my network can reach each other. My routing table has been simplified to the following, allowing only LAN access through that network. I know it works because I've setup Samba on it and it works.


Fedora routing table:

address gateway netmask Iface
10.20.20.0 * 255.255.255.0 eth0
127.0.0.0 * 255.0.0.0 lo

Windows XP routing table:
======================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 80 1e 15 6b 7c ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - Packet Scheduler Miniport
=====================================================Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.20.0.254 10.20.20.120 30
10.20.20.0 255.255.255.0 10.20.20.120 10.20.20.120 30
10.20.20.120 255.255.255.255 127.0.0.1 127.0.0.1 30
10.255.255.255 255.255.255.255 10.20.20.120 10.20.20.120 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 10.20.20.120 10.20.20.120 30
255.255.255.255 255.255.255.255 10.20.20.120 10.20.20.120 1
Default Gateway: 10.20.0.254
=====================================================Persistent Routes:
None

I've tried everything from manual routing, neat, to NAT but to no avail. If any guru can help me please suggest to me some solutions or even step by step guide on where I should go about doing this.

Many thanks for reading
TL
 
Old 06-26-2004, 12:22 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
In your linux routing table you are missing default gateway
route add default gw 10.20.0.254

Last edited by neo77777; 06-26-2004 at 12:24 AM.
 
Old 06-26-2004, 01:06 AM   #3
tlee7977
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Ah yes, thank you for pointing me to the right direction.

For references, I also need to change my netmask to 255.255.0.0 in order for my default gateway and my LAN address to acknowledge each other.

TL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can't connect to internet on Fedora Core 1 notfoursaken Linux - Wireless Networking 2 05-19-2005 09:11 PM
Fedora Core 3 installed, cant connect to internet!~ spartanM19SSM Linux - Networking 5 12-13-2004 12:19 PM
can connect to isp; yet no internet ticky87 Linux - Networking 7 11-24-2004 05:37 PM
Installing a Modem & connect to internet in Linux Redhat Fedora core arinlinux Linux - Newbie 2 06-25-2004 07:15 AM
Fedora Core 1 can connect to Router but not out to internet Eleavings Linux - Newbie 4 03-26-2004 01:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration