LinuxQuestions.org
Visit Jeremy's Blog.
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 04-01-2006, 07:54 AM   #1
bigmoe
LQ Newbie
 
Registered: Nov 2005
Posts: 24

Rep: Reputation: 15
Question strange network problem


I hav very strange network problem i have an internet connection via network i have configured the network ips and everything but i cant get the internet to work neither on browser nor terminal i have a static ip and i can ping myself but i couldnt ping the dns nor the proxy?? Anyone can tell me what the problem might be???
Regards,

BiGmOe
 
Old 04-01-2006, 02:25 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Your ip address must be on the same subnet as the box that is giving the access and you must specify the ip address of this box as the gateway. You should also state the DNS addresses given in /etc/resolv.conf.
An example of this is if the box to which you must connect for internet access has an address like 192.168.1.10 then you must also have an address in this range eg 192.168.1.20. You specify the gateway as 192.168.1.10
 
Old 04-01-2006, 06:00 PM   #3
bigmoe
LQ Newbie
 
Registered: Nov 2005
Posts: 24

Original Poster
Rep: Reputation: 15
can you tell me how to configure the gateway in terminal because in the settings for the network i put the gateway and everything cuz my ip is 192.168.0.171 and the gateway is 192.168.0.100 and they are all configured but the output of ifconfig doesnt show the gateway!!
thanks

BiGmOe
 
Old 04-01-2006, 06:07 PM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
to check the routes, its
route -n

you should have a line beginning with 0.0.0.0

if its not, configure it in your desktop manager or by hand (it won't stay after a reboot):
route add default gw <ip_gateway>

if it still doesn't work, check your DNS (/etc/resolv.conf)
 
Old 04-01-2006, 07:53 PM   #5
bigmoe
LQ Newbie
 
Registered: Nov 2005
Posts: 24

Original Poster
Rep: Reputation: 15
i have a line starting with 0.0.0.0 and it is the ip for the gateway and the dns also everything is fine but i cannot ping anyone on the network? so any more sugestions??
Regards,

BiGmOe
 
Old 04-01-2006, 10:56 PM   #6
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
Well it may sound stupid but have you checked the cables/hardware/etc? When you issue the ping command do the lights on the card blink, etc? How about pinging your computer from others?
 
Old 04-02-2006, 05:51 AM   #7
bigmoe
LQ Newbie
 
Registered: Nov 2005
Posts: 24

Original Poster
Rep: Reputation: 15
they do blink the 1st time but then they stop i can only ping myself ad no other, and non users from the network can ping me also!!
Regards.
 
  


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
very strange network problem. bruse Linux - Networking 12 09-28-2005 07:45 AM
Strange Network Problem IronWolf Linux - Networking 1 06-09-2005 03:26 AM
Strange Network Problem! NeoAnderson Linux - General 10 08-23-2002 10:03 AM
Strange network problem shchuka Linux - Networking 5 06-13-2002 04:26 AM
Strange Network Problem syxxpac023 Linux - Networking 2 03-29-2002 05:15 PM

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

All times are GMT -5. The time now is 04:21 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