LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-04-2004, 08:30 PM   #1
ttague
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
Pings to _any_ IP return 192.168.1.77 not available


Have Redhat 9 installed. New to Linux so I've been tweaking, playong and probably doing things I shouldn't. Lost internet connectivity and start looking around. Tried pinging my router (192.168.1.1) and get back 192.168.1.77 not available. Hmmm, interesting.

Lets try pinging 4.2.4.1. Response 192.167.1.77 not available. Any other IP address - same response.

There seems to be a problem here. Either I've fiddled something I shouln't have or my machine has developed some type of compulsive attachment to 192.168.1.77.

Any ideas would be appreciated.

TT
 
Old 02-04-2004, 09:36 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
What does the output of ifconfig look like? (ifconfig -a) What do you have in your routing table? (netstat -nr)
 
Old 02-05-2004, 06:03 AM   #3
ttague
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Original Poster
Rep: Reputation: 0
stickman:

Thanks for the help

ifconfig looks like:

eth0 Link encap:Ethernet HWaddr 00:30:1B:11:23:0B
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25366 errors:42 dropped:0 overruns:0 frame:0
TX packets:5954 errors:0 dropped:0 overruns:0 carrier:0
collisions:3 txqueuelen:100
RX bytes:8600150 (8.2 Mb) TX bytes:1081911 (1.0 Mb)
Interrupt:11 Base address:0xa000

(+ the entry for the local loopback)

netstat looks like:

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0


OK, more wierdness....

Just ran redhat-config-network, it scolded me abut running as root at least once (which I have), gave me a lot of message about permissions. So, I su'd, ran redhat-config-network and saw that my host name wntry was blank (which it wasnt before), gave it a host name, deactivated and activated eth0 - and now all seems to be working fine.

Strange....

Thanks again for the help.
 
Old 02-11-2004, 11:35 AM   #4
Nic-MDKman
Member
 
Registered: Feb 2004
Location: Sacramento, CA, USA
Distribution: Mandrake 9.2
Posts: 159

Rep: Reputation: 30
If I am not mistaken, you cannot use 192.168.1.x for your network. You have to use 192.168.0.x for your group of IP addresses (which is a reserved group for LAN/home networking)
 
Old 02-11-2004, 11:44 AM   #5
idlers
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat 9
Posts: 4

Rep: Reputation: 0
Actually, I use 192.168.1.* for my LAN, running RH9 with no probs...
 
Old 02-11-2004, 12:01 PM   #6
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
"If I am not mistaken, you cannot use 192.168.1.x for your network. You have to use 192.168.0.x for your group of IP addresses (which is a reserved group for LAN/home networking)"

Private non routable IP addresses include: (basically these addresses will not route through the public internet)

192.168.0.0/16
10.0.0.0/8
172.16.0.0/12

As per RFC 1918

Which means that for a private network you can use
192.168.0.xxx through 192.168.254.xxx for your home networking needs. Just be sure to use correct subnet masks.
 
Old 02-14-2004, 10:14 AM   #7
Nic-MDKman
Member
 
Registered: Feb 2004
Location: Sacramento, CA, USA
Distribution: Mandrake 9.2
Posts: 159

Rep: Reputation: 30
Ok, I just remember checking into this a long time ago (RedHat 6.0) and was trying to recally back to then. All I know was I went in to all of my settings and changed the 192.168.1.x to 192.168.0.x and everything worked perfect. Perhaps it was something else that got it working like ifdown/ifuping the eth again.


BTW, what do you get if you ping localhost?
 
Old 02-14-2004, 07:28 PM   #8
ttague
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Problem seems to have gone away for good - as I discussed before I gave it a host name and reset eth0 - no problems since then.

Someone asked what I was getting on a ping to localhost - sorry - it was a few days ago and I can't recall.

I've moved on from this and am currently trying to destroy my setup with an upgrade to kde3.2 - but hey, that's what fresh installs are for.

Thanks all for the ideas and help.
 
  


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
Is someone on my network?! ::ffff:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM
192.168.2.1 network with 192.168.0.1? Micro420 Linux - Networking 2 02-27-2005 06:59 AM
Iptables is converting -s 192.168.1.0/8 into 192.0.0.0/8 why !? qwijibow Linux - Security 2 01-26-2005 09:57 AM
What does this mean? 192.168.254.32/24 costasm Linux - Networking 5 12-06-2003 04:57 PM
192.168.0.0/25 ? Firew Linux - Networking 1 04-12-2001 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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