Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-01-2002, 03:56 PM   #1
LQ Newbie
Registered: Apr 2002
Distribution: Red Hat 7.1
Posts: 6

Rep: Reputation: 0
lan internet

Hey -
I just installed RedHat Linux 7.1 onto a desktop computer in my house. I get my internet through a LAN on the other computer (Win2000); I have another Linux box set up as a webserver/router. How can I set up the new Linux machine to get internet through that router? Thanks
Old 04-02-2002, 01:48 AM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,667

Rep: Reputation: 217Reputation: 217Reputation: 217
route add default gw router_ip
I assume network is already set up.
Old 04-04-2002, 08:44 PM   #3
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
Is the router a DHCP server also (does it supply 192.168.x.x ip addresses)?
Old 04-05-2002, 03:38 PM   #4
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
Don't forget to setup DNS entries in /etc/resolv.conf

This of course is only an issue if you are not using a DHCP server that's pushing DNS into linux.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No Internet but LAN and VPN connect LAN work fine??? xavior SUSE / openSUSE 7 11-09-2005 01:14 PM
LAN with no internet tekmorph Linux - Networking 14 03-19-2005 05:53 AM
Internet through LAN bajte Linux - Newbie 6 09-23-2004 07:06 AM
Internet Via Lan K_smolka Red Hat 3 03-10-2004 08:42 AM
Internet with LAN? a17driverguy Linux - Networking 6 04-08-2003 02:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration