LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-24-2004, 04:15 PM   #1
ibrhaidar
LQ Newbie
 
Registered: Oct 2004
Location: Syria
Distribution: SuSE, Fedora core 2
Posts: 4

Rep: Reputation: 0
how i can make connect to internet through another computer


Hi , every one

I have two computers in my network(the operating system is Fedora Core 3)

the first (A) has the ip : 198.0.0.40
the second (B) has the ip : 198.0.0.45

the computer A has a modem (Dail up) which allow me to connect to the Internet (www)
What I must do to make the computer B able to connect to the Internet through
the modem of the computer A.
and thanks for every thing.

Last edited by ibrhaidar; 12-24-2004 at 04:24 PM.
 
Old 12-24-2004, 06:24 PM   #2
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Rep: Reputation: 15
just set up computer A as a router

google ~ linux + router.


Kyle
 
Old 12-25-2004, 11:41 AM   #3
ibrhaidar
LQ Newbie
 
Registered: Oct 2004
Location: Syria
Distribution: SuSE, Fedora core 2
Posts: 4

Original Poster
Rep: Reputation: 0
again , this is the details

**************** Computer B has this route table ***********************
======================================================
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
198.0.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0

*************** Computer A has this route table ***********************
============================================================================
### when i offline
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
198.0.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 198.0.0.1 0.0.0.0 UG 0 0 0 eth0
*** Linux is Freedom ***

### after make connect by modem

[02:06:43 |Fri Dec 24 ~]$ netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.3.0.5 * 255.255.255.255 UH 0 0 0 ppp0
198.0.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 10.3.0.5 0.0.0.0 UG 0 0 0 ppp0

please, tell me the command to do that
route add ....................

Note: after my install fedora i did not modify the route table (this lines as it)

Last edited by ibrhaidar; 12-25-2004 at 11:42 AM.
 
  


Reply


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
How to connect one computer to another without an internet connection? wearetheborg Linux - Software 9 12-28-2004 12:02 AM
Internet is slower on my win computer than on my linux computer eXor Linux - Networking 1 12-03-2004 08:58 AM
how to make my computer avilable on internet as webserver peevee Linux - Networking 2 10-24-2004 12:32 PM
Internet on 2nd computer thru 1st computer jmsuthar General 4 09-11-2004 11:03 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM

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

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