LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   cannot access network resources outside my gateway (https://www.linuxquestions.org/questions/linux-networking-3/cannot-access-network-resources-outside-my-gateway-395363/)

symo0009 12-21-2005 02:41 PM

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:A0:D1: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

bulliver 12-21-2005 03:15 PM

Is your gateway (192.168.0.1) set up to do NAT?

symo0009 12-21-2005 03:24 PM

what is NAT and how do i find out?

bulliver 12-21-2005 03:46 PM

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...

symo0009 12-21-2005 03:52 PM

i have an ethernet brodband router that i connect to the computer which is under my control...

bulliver 12-21-2005 03:59 PM

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.

symo0009 12-21-2005 10:07 PM

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)

ruuster 12-21-2005 11:22 PM

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.

symo0009 12-22-2005 12:35 AM

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


All times are GMT -5. The time now is 09:24 AM.