cool,
you should be able to get the route table with either 'route' or 'netstat
-r' on a redhat box. they both return the same thing on my slackware box.
[use@box user]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default gw.mydomain 0.0.0.0 UG 1 0 0 eth0
see how loopback points to the 'lo' interface? does yours?
like scott mentioned, you should read the man pages on route and ifconfig.
you can find good help at http://www.linuxdoc.org/
mike
on 7/2/01 9:53 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote:
> I'm on a redhat 7.1 box on a pentium 3 pc. I set up networking via netcfg.
> Here are the settings (names have been modified):
>
> Names
>
> Hostname localhost.localdomain
>
>
> Hosts
>
> IP Name Nickname
> -----------------------------------------------------
> 127.0.0.1 localhost.localdomain localhost
> 199.33.57.1 windowshost
> 198.77.110.8 internet.com ghc000
>
>
> Interface
>
> interface IP Proto
> ----------------------------------------------------------
> lo 127.0.0.1 None
> eth0 199.33.57.3 None
>
>
> Routing
>
> Default Gateway 199.33.57.7
> default gateway device eth0
>
>
> Again, I appreciate your help.
>
> best,
>
> daniel
>
> -----Original Message-----
> From: mike cullerton [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 3:06 PM
> To: 'PHP List'
> Subject: Re: [PHP] newbie has include path error & new problem
>
>
> on 7/2/01 3:59 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote:
>
>> Yes, I could load a page from localhost until I set up networking.
>>
>> No, I cannot load a page from 127.0.0.1. Tried that.
>>
>> Embarrassed to ask. What is a routing table and how do I find it?
>
> no need to be embarrased for not knowing what a routing table is, most
> people wouldn't. a routing table is used by a networked computer to
> determine how to reach remote hosts. it tells the machine what interface to
> use for a particular host and physical layer address to send to.
>
> what kind of a machine are you on?
>
> what steps (specifically) did you take to 'set up networking'?
>
> -- mike cullerton
>
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]