This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hello everybody, I've Redhat linux 7.0 installed on my machine. I've successfully installed the lan card on it. I configured the ip-address, gateway of last resort for it, but I'm unable to connect to the nework. when I ping the other machines on the network, I'm unable to reach them. I can successfully connect them on win'98. Does the redhat require anything extra to be configured or is there any problem with the redhat version itself?
The subnet mask is a number that helps split your IP address into two parts: a network number and a station number. In conventional IPv4 usage, the number itself specified a class for this split, based on the first (high-order) three bits of a 32-bit IP number. If the first bit is zero, you have a class A address, meaning the high 8 bits of the IP are the network number, e.g.:
That's a class A address. Class B addresses reserve the high 16 bits to describe the network number, the lower 16 for a station. Finally, class C addresses use the high 24 bits for the network, the last 8 for the station. In modern small networks, subsets other than these canoncial classes get used so that you can get more than one "subnetwork" out of a class address. So if your system doesn't agree with the others on your subnet which part of the number is network, and which part of the number defines a station, you aren't going to be able to hear them because you're not going to recognize them. I don't know how Linux does this. In Solaris, we use ifconfig(1M) to change an adapter dynamically, and we define subnets in a file called /etc/netmasks. I'd look for those two things first, and failing that, ask somebody who knows what the Linux equivalents for this program and file are called.
in linux there's an easy dialog box in the network configuration settings, when you're using KDE If you want to know which file it keeps it in, I'd have to look it up in Aeleen Frisch's Sys Admin book.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
The RedHat network config program writes its config info into /etc/sysconfig and /etc/sysconfig/network-scripts. The subnet mask is a number that allows the 32-bit IP (V4) address to be broken up into 2 parts - the network identifier and the host identifier, so if the subnet mask on your machine isn't the same as the subnet masks for the other machines on your network segment, things won't decode properly.
An IDE is no substitute for an Intelligent Developer.