Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

easy one

Let me start by saying that I have no idea what I am doing. I am trying to set a redhat 5.1 machine on a small IP network(win95 and win nt) at my house.  I had it set up at work and it worked fine. i got home started xfree86 and used the network control panel to remove the dns info, change the ip address and domain name.  Now I can't ping the thing. I can ping the loopback just fine. I tested the cable on another machine and it is fine. I ran ifconfig and noticed that my broadcast address was wrong(could that prevent me from pinging?)... I couldn't find any info on how to change it so i typed ifconfig "my hostname" broadcast address down. I received a hostname lookup failure error. ever since, when I run ifconfig it only shows info on my loopback address. What have I done and how do I fix it? Thanks, Jason
0
jasonsp
Asked:
jasonsp
1 Solution
 
nigesCommented:
Umm, if the ifconfig broad cast address is wrong, then you will not be able to ping as the computer will try to ping to a network that is theoretically not there...

what you need to type (as long as I can remember off the top of my head --I am on a win95 puter at uni) is--

ifconfig eth0 <your-ip> netmask 255.255.255.0 up

where <your-ip> is the ip of your computer eg 192.168.1.1 and if you use that number system then make sure the netmask is what I wrote, if you use a different number system, you will have to change the netmask..

then you should type 'ifup eth0'

--Nige
0
 
jasonspAuthor Commented:
I actually read somewhere that this is the way to do it.. After I typed ifup eth0, I got this-
route: netmask doesn't match route address

Here are my IP settings:
IP= 134.62.70.70
netmask= 255.255.0.0
new broadcast= 134.62.255.255

I have since rebooted and my broadcast address went back to the old one and I still can't ping...
Thanks

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now