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-09-2003, 10:34 AM   #1
Neomaster
Member
 
Registered: May 2003
Location: Digital world
Posts: 113

Rep: Reputation: 15
Question iptable shareing and network prob


I useing dial-up and i try to setup my 2 pc to internet shareing.I setup my main red hat box network card 192.168.1.1


I try to use 192.168.1.2 as the gateway.But when i try to get on the internet it will not let me surf the internet for somereason.Do i need to use a gateway ip number or do i need just ip_forward to get borth 2 pc online with dial-up?


Home
 
Old 09-09-2003, 11:22 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I don't understand how your network is set-up.
Does the PC that connects to the internet (via Dial-UP) have two network cards ?

If yes, one network card should get the IP automatically and the other should be static (192.168.1.1).

The second PC should have the IP address 192.168.1.2 and have the Gateway IP 192.168.1.1

To setup internet connection sharing in RedHat (and Mandrake), take a look at these links.
http://www.linuxquestions.org/questi...threadid=82005
http://www.linuxquestions.org/questi...threadid=80256
 
  


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
network prob. saosurya Red Hat 1 08-03-2005 09:37 AM
network prob enrique_arong Linux - Networking 7 03-07-2005 02:42 PM
shareing printers in the network reaky Linux - Networking 2 02-08-2004 02:23 PM
Linux networking and internet shareing prob Neomaster Linux - Networking 5 05-10-2003 03:32 PM
network prob vhs Linux - Networking 1 11-21-2002 12:20 AM

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

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