LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-12-2003, 03:41 AM   #1
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
trying to set up a gateway


Hi,

I'm hoping you guys can help with the following:"

My boyfriend is trying to set up a gateway between his pc and his laptop (pc running RH 7.3, laptop debian woody).

he has them connected through a hub and can ping both ways, but then gets the following:

[root@localhost ruud]# /sbin/ifconfig eth0 pc
> > [root@localhost ruud]# ping lt
> > PING lt.localdomain (192.168.1.102) from 192.168.1.101 :
> > 56(84) bytes of data.
> > 64 bytes from lt.localdomain (192.168.1.102): icmp_seq=1
> > ttl=255 time=1.30 ms
> > 64 bytes from lt.localdomain (192.168.1.102): icmp_seq=2
> > ttl=255 time=0.643 ms
> > 64 bytes from lt.localdomain (192.168.1.102): icmp_seq=3
> > ttl=255 time=0.650 ms
> >
> > --- lt.localdomain ping statistics ---
> > 3 packets transmitted, 3 received, 0% loss, time 2013ms
> > rtt min/avg/max/mdev = 0.643/0.865/1.302/0.309 ms
> > [root@localhost ruud]# ping 192.168.1.0
> > Do you want to ping broadcast? Then -b
> > [root@localhost ruud]#

Any ideas on what goes wrong?

Thanxxx,
Anne
 
Old 05-12-2003, 04:14 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Re: trying to set up a gateway

Quote:
Originally posted by annehoog
> > [root@localhost ruud]# ping 192.168.1.0
> > Do you want to ping broadcast? Then -b
> > [root@localhost ruud]#
What you are going is pinging the network address not a machine address. If you have a machine configured as 192.168.1.0 then you should change it. You shouldn't use .255 or .0 for machine addresses.

HTH

Jamie...
 
Old 05-12-2003, 08:25 AM   #3
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Anne,

I don't know your skills in the basics TCP/IP networking, but you might want to take a quick look at it It's really not too much effort to "study" basic TCP/IP , and it will really help you in understanding gateways, routes, and configuration issues.

If you have a good connection, you might want to take a look at a movie about TCP/IP. It's really worth the download time, and I think it might clear a lot about networking, when you're new to it.

Not only is it educational, it's also very nice to watch. (And there are several translations available, including dutch... )

Take a look at it at: http://www.warriorsofthe.net

Greetz,

Satriani
 
Old 05-12-2003, 08:29 AM   #4
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
Thanxx guys,

Unfortunately due to other obligations I can't take a look at it tonight, but I forwarded your messages to my boyfriend. Let's see wether he can get any further with it.

Anne
 
Old 05-12-2003, 09:04 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by annehoog
My latest achievement: repartition my second harddisk and install Debian alongside with my previous installed RH. Does that make me less of a newbie now?
You're a newbie until you decide your not... and even then you'll be a newbie at something!

Hope you/he gets it working

Jamie...
 
Old 05-12-2003, 09:17 AM   #6
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jharris
You're a newbie until you decide your not... and even then you'll be a newbie at something!
Well, in that case I think I'll be a newbie for the rest of my life?

But seriously, i's good to hear/see you say that. Most of the times I get one of these:
You're no longer a newbie when you've installed Debian/Slack/Gentoo.
You're no longer a newbie only when you've compiled your own kernel (still haven't found any reason as to why I would do that!)
You're no longer a newbie when you dissmiss rpm and only install tarballs.

Mind you, I certainly don't mind being a newbie in many ways. I just find that a lot a people call themselves newbies just out of asort misguided feeling of shame about their skills and abilities when confronted with linux gurus (like here at linuxquestions) even though it very often and very quickly turns out that they certainly know their way around a pc/linux.
(but enough of this or you'll have to transfer this thread to general )

Anne
 
Old 05-12-2003, 10:54 AM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by annehoog
You're no longer a newbie when you've installed Debian/Slack/Gentoo.
You're no longer a newbie only when you've compiled your own kernel (still haven't found any reason as to why I would do that!)
You're no longer a newbie when you dissmiss rpm and only install tarballs.
WOW! In that case I started off as a GURU! As the first distro I installed was Slack, I very quickly rebuilt the kernel and I've always installed from source I think a lot of people state they are a newbie in fear of being flamed for saying something stupid. I just don my flame proof suit and go for it, I've asked enough stupid questions that a few more won't make any difference.

cheres

Jamie...
 
  


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
dhcp does not set gateway pantoniades Linux - Networking 4 02-14-2006 06:26 AM
lm10.0 gateway is set but when I reboot I have to set the gateway rharvey32 Mandriva 8 02-13-2006 02:35 PM
Gateway set up xowl Slackware 1 02-04-2005 11:20 PM
How can I set Gateway? gubak Linux - Networking 29 07-20-2004 05:43 AM
How do I set up an Internet Gateway??? Kelv1979 Linux - Networking 7 08-21-2003 04:00 AM


All times are GMT -5. The time now is 10:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration