LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-06-2006, 01:47 PM   #1
sirfudit
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
unable to access internet


hi folks,
i have a 64 bit machine with Suse-10.1 loaded on it.
I have a DSL to access internet and we are a couple of people using the DSL as the gateway to access the internet. Now when I m keeping the settings of my PC and DSL on "automatically attain IP address from DHCP", then i m able to access the internet.
But when I m giving a static address for the DSL and using its IP address as my default gateway for accessing internet, though it shows Knetwork connected , but doesnt let me access the internet.
Can somebody pls..... help me with the settings to be changed ,if any, or any other suggestions.
waiting for an early reply...
 
Old 09-06-2006, 03:11 PM   #2
steve-alexander
LQ Newbie
 
Registered: Mar 2005
Location: Ohio
Distribution: FC6->F7
Posts: 23

Rep: Reputation: 16
To set up a basic network manually you need to set the IP & mask,
the route table (showing your DSL as the router no doubt) and also
the dns server must be resolved so that you can translate names like
"www.google.com" into IP addresses.

If you have the default route set to your DSL, then you may be able
to launch dhclient from the command prompt and resolve DNS (or maybe
not depending on many factors).

I would strongly suggest you allow the system to automatically
attain IP's unless you have a strong need to tie IPs to particular
systems.
 
Old 09-06-2006, 03:32 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
If you or one of your other users has two NICs, you could set up dhcpd, with the machine with two NICs acting as the local DHCP server. One NIC (eth0) connects to the ISP, the second NIC (eth1) connects to the LAN and assigns internal addresses for the other machines. At least, that's my understanding of how it could work.

This might give you some ideas:
http://www.zippydesign.com/ying/linux/dhcpd/index.html

Last edited by bigrigdriver; 09-06-2006 at 03:36 PM.
 
Old 09-07-2006, 06:10 AM   #4
orhanco
LQ Newbie
 
Registered: Sep 2006
Location: Bulgaria
Distribution: suse
Posts: 5

Rep: Reputation: 0
Hi

There is another issue. Some routers(I had one) doesn't allow static IPed PCs to connect to them if the IT address is not given by them. It happens when the DHCP server is on on the router.

Orhi
 
  


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
Unable to access the internet carlonlinux Linux - Networking 6 08-26-2006 02:10 PM
unable to access internet with static IP Big_Fatcow Linux - Networking 6 02-05-2006 09:36 AM
Solaris 10 - Unable to access Internet msmapper Linux - Networking 0 01-06-2006 04:20 PM
Unable to access internet TBomb Linux - Networking 4 08-11-2004 10:29 AM
Unable to Access the Internet - not sure why zensufi Linux - Hardware 9 07-20-2004 06:14 PM

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

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