I agree with Sridhar. I think the fact that the machine's name is
localhost, is causing a bit of a problem. It could very well be the
firewall as well. But edit this file:
[root@r2d2 sysconfig]# cat network
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=MACHINE-NAME-HERE
DOMAINNAME=DOMAIN.ORG-HERE
Edit that, restart the network, and other services. I'm not sure if
bastille runs as a service or not. But just to be sure do a:
/etc/init.d/network restart
That must be done as root of course. I'd edit the /etc/hosts and make
sure you fix the first line that holds the 127.0.0.1, since that seems
to get messed up quite often. And add the correct names and IP address.
The basic form goes as follows.
127.0.0.1 localhost.DOMAIN.ORG localhost
192.168.0.1 router.DOMAIN.ORG router
192.168.0.2 aj.DOMAIN.ORG aj
The names can be switched around if you'd like, it will still work, I
actually have them switched so it shows the short name instead of the
long name when you do a `w` on the machine.
>From there try running that ping. Going both ways of course. Then try
and ping the outside world.
I'd suggest naming the Linux box something like ROUTER since that's what
it appears to do, or go with a theme. A lot of people have network
themes and a lot of companies do. My them would be StarWars. (YODA,
R2D2, JEDI, CHEWBACCA) At work we use various themes. Elements, Greek
gods, and the ever so popular, cartoon names.
tdh
--
T. Holmes
-----------------
UNIXTECHS.org
[EMAIL PROTECTED]
-----------------
"Real Men Use Vi!"
Uptime:
--------------------------------------------------------------------
10:57am up 3 days, 21:52, 4 users, load average: 0.00, 0.00, 0.00
--------------------------------------------------------------------
| On Mon, 30 Jul 2001 11:41, Dennis Myers wrote:
| > I have two computers connected via a hub. Localhost (linux) is the Samba
| > server and also a client, AJ is an windows box client.
| > Currently, AJ can connect to the internet through localhost using
| > localhost firewall also, AJ can ping 127.0.0.1 but can not ping the
| > localhost 192.168.0.1
| > Localhost can ping both the name AJ and the address 192,168.0.2
| > In network neighborhood on AJ, AJ shows up but not localhost, all are set
| > up on localgroup. I know, real original on the names ha.
| > So, does anyone know what I may have set up incorrectly to prevent AJ from
| > pinging the localhost address? Samba is so close to being configured I can
| > taste it. TIA for any assistance.
|
| "localhost" (and "localhost.localdomain") is a name that is normally used by
| a computer to refer to itself via a loopback interface. Perhaps this is
| causing some kind of confusion on your network. Try renaming localhost to
| something else.
|
| --
| Sridhar Dhanapalan.
| "There are two major products that come from Berkeley:
| LSD and UNIX. We don't believe this to be a coincidence."
| -- Jeremy S. Anderson
|
------------------------------------------------------------------