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 12-15-2005, 11:39 PM   #1
rcbell
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Rep: Reputation: 1
connecting a host to internet thru another host (both running suse9.3)


Hi there!

I have two dells each running suse 9.3. Dell-1 has an NIC plus ethernet on the motherboard. I'm trying to make it act as a gateway/router for Dell-2.
I configured eth0 statically as 192.168.1.3 and it goes to a Linksys router (192.168.1.1). I have a crossover cable from eth1 to Dell-2.

After reading some posts here, I statically set eth1 as 192.168.0.1 and Dell-2 is 192.168.0.2 with its gateway is 192.168.0.1. Both NICs on Dell-1 have IP forwarding enabled in YAST.

At this point the two machines can talk to each other, and Dell-1 sees the internet fine (thru the linksys router). But Dell-2 cannot ping the Linksys router, or any other address.

Initially I had Dell-1's eth0 as 192.168.1.3 and eth1 as 192.168.1.4, and Dell-2 was set to 192.168.1.5, but this did not work at all. Any ideas how to set this up so Dell-2 accesses the internet thru Dell-1?

Craig
 
Old 12-17-2005, 05:35 PM   #2
Andrew_Chapman
LQ Newbie
 
Registered: May 2005
Location: Wichita, Kansas (USA)
Distribution: Debian (unstable), FreeBSD
Posts: 20

Rep: Reputation: 0
Look at the Network Address Translation section (and probably the firewalling section) of the Netwark Administrator's Guide at http://www.tldp.org

Feel free to post back with any questions.

I probably should have just said RTFM, but I'm being very tolerant. In the future read the documentation before posting questions. The website referenced above is a great resource. Also remember that "Google is your friend."
 
  


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
Resolving <www.some remote host>.... failed: Host not found. koodoo Linux - Newbie 2 06-27-2005 08:48 AM
How to setup a host.deny and host.allow for SSH? explorer1979 Linux - Security 2 01-31-2005 05:28 PM
problem connecting with nessusd host jarien Linux - Security 14 11-13-2004 03:21 PM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 01:24 PM
How to configure Host-to-Host IPSec (Free SWAN) gpagedar Linux - Security 2 10-18-2003 05:22 AM

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

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

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