LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-01-2001, 10:58 AM   #1
frost33
LQ Newbie
 
Registered: May 2001
Posts: 7

Rep: Reputation: 0
Angry


I am setting up a gateway so that i can access the net from any of my other machines by plugging into my hub. I am having some problems and would appreciate ANY help you can give me.

Here's my setup :

Gateway Machine
eth0 192.168.0.1 (for internal use)
eth1 DHCP (for external use)
Laptop
eth0 192.168.0.3

Here's my problem :

The gateway machine works just fine for accessing the internet (though it seems to take a while sometimes to realize that it is connected and to lookup an host). The problem is when I plug in my laptop to the hub and try to ping the gateway machine, I get 1 successful packet and the rest are errors. When I ping (pung?) in the opposite direction, I received mixed results depending on how i had the gateway configured at the time (0 success, 1 success, seemingly all success). I have no idea how I screwed this one up. Any help would be greatly appreciated!

 
Old 05-01-2001, 04:17 PM   #2
frost33
LQ Newbie
 
Registered: May 2001
Posts: 7

Original Poster
Rep: Reputation: 0
please help if you have any ideas...
thanks.
 
Old 05-01-2001, 06:52 PM   #3
frost33
LQ Newbie
 
Registered: May 2001
Posts: 7

Original Poster
Rep: Reputation: 0
Angry

Okay... I have a little more information. From my gateway machine, I can ping my laptop with no lost packets. BUT, from my laptop I am still getting the 1 accepted packet and the rest are errors. The funny thing is, I did a tcpdump on both machines while I pinged and I was getting replies from the gateway machine for EVERY packet, yet ping was not showing any good packets? WHY???
 
Old 05-02-2001, 08:03 AM   #4
frost33
LQ Newbie
 
Registered: May 2001
Posts: 7

Original Poster
Rep: Reputation: 0
nevermind... i figured it out...

now if i can just get dns and packet forwarding to work i'll be set.
 
Old 05-04-2001, 08:55 PM   #5
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
What was the solution to your original problem?

IPmasq is not difficult to setup...
http://www.ecst.csuchico.edu/~dranch...q-HOWTO-c.html
 
  


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
Help me setup this gateway/network ziggy25 Linux - Networking 9 02-24-2008 02:41 PM
NAT/Gateway setup cflyguy Linux - Networking 3 08-12-2005 12:47 AM
SMS Gateway Setup?!?! rohroh Linux - Software 9 03-07-2005 07:49 AM
Two gateway setup eqxro Linux - Networking 4 12-07-2004 02:32 AM
Linux RH 7.2 Gateway Setup goatr Linux - General 4 01-23-2002 01:17 PM

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

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