LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot connect to internet through ISP LAN in Fedora Core 2 (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-connect-to-internet-through-isp-lan-in-fedora-core-2-a-197819/)

tlee7977 06-25-2004 10:34 PM

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

neo77777 06-25-2004 11:22 PM

In your linux routing table you are missing default gateway
route add default gw 10.20.0.254

tlee7977 06-26-2004 12:06 AM

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


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