LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-21-2005, 02:41 PM   #1
symo0009
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Rep: Reputation: 0
cannot access network resources outside my gateway


i use fedora 4 kernel 2.6.14.3 with a sk98lin driver for my nic on my toshiba m40.

my network card seems to be up and running i can sucessfully ping other computers on my network and i sucessfully obtain my ip address with dhcp but i canot connect to the internet the output of ifconfig and route are...

eth0 Link encap:Ethernet HWaddr 00:A01:23:59:7B
inet addr:192.168.0.148 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2a0:d1ff:fe23:597b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:171 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24819 (24.2 KiB) TX bytes:3054 (2.9 KiB)
Interrupt:11 Memory:cc000000-0

Kernel IP routing table


DestinationGateway Genmask Flags Metric Ref Use Iface

192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

any help at all would be much appriciated

Last edited by symo0009; 12-21-2005 at 02:43 PM.
 
Old 12-21-2005, 03:15 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Is your gateway (192.168.0.1) set up to do NAT?
 
Old 12-21-2005, 03:24 PM   #3
symo0009
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Original Poster
Rep: Reputation: 0
what is NAT and how do i find out?
 
Old 12-21-2005, 03:46 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Nat is Network Address Translation. Your IP address (192.168.0.148) is not publically routable, so you need the gateway/router to NAT your connection to connect to the internet.

Is this gateway not your box? If not you will need to talk to the administrator of it to find out how to connect.

If it is your box, you will need to set up NAT yourself.

Tell if the gateway is under your control or not, and we will go from there...
 
Old 12-21-2005, 03:52 PM   #5
symo0009
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Original Poster
Rep: Reputation: 0
i have an ethernet brodband router that i connect to the computer which is under my control...
 
Old 12-21-2005, 03:59 PM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Is 192.168.0.1 the router? If so you will need to play with the router settings. Follow the instructions for the device to enter the administrative interface, and make sure it is Natting your LAN for you.

If 192.168.0.1 is a different computer attached to the router, you should set the router as your default gateway instead.
 
Old 12-21-2005, 10:07 PM   #7
symo0009
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Original Poster
Rep: Reputation: 0
i am having some troubel figureing out how to set up my router with NAT iam wondering if it comes with it already enabled because i can access the internet on windows (my computer dual boots)
 
Old 12-21-2005, 11:22 PM   #8
ruuster
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2 - bare.i, Slackware 10.1 - scsi.s, Slackware 9.1 - bare.i
Posts: 47

Rep: Reputation: 15
You can ping local computers but cannot connect to Internet servers. These are very different functions. Can you ping Internet servers?

Enter this at the command line: nslookup www.linuxquestions.org

Post the results. This will tell us if you are routing properly and if you are getting name resolution.
 
Old 12-22-2005, 12:35 AM   #9
symo0009
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Original Poster
Rep: Reputation: 0
i typed in nslookup and there it timed out then i manualy entered the DNS server ip's and i can now view web sights thanks so much
 
  


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
Installing Wireless Network with Gateway 7001 series Access Point ejap105053 Linux - Wireless Networking 1 09-29-2005 12:30 PM
How does linux access shared resources in windows? QiangWan Linux - Newbie 1 05-17-2005 11:00 PM
Remote Access to Home Network Resources Notwerk Linux - Networking 3 05-02-2005 01:21 AM
Give certain users more access to resources tearinox Slackware 2 05-21-2004 02:44 AM
Can't access the rest of the network from behind gateway BrianG *BSD 1 05-02-2002 09:55 AM

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

All times are GMT -5. The time now is 06:16 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
Open Source Consulting | Domain Registration