>Here's the output from 'netstat -rn':
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
209.215.223.7 0.0.0.0 255.255.255.255 UH 1500 0 0
ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 1500 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 3084 0 0
lo
0.0.0.0 209.215.223.7 0.0.0.0 UG 1500 0 0
ppp0
Basically, it reads:
1) 209.215.223.7 is an IP address that doesn't need a gateway
and its a HOST address because it has a netmask of 255.255.255.255.
Its UP and, again, its a HOST address. It has a Maximum segment
size (or MTU) of 1500 and a TCP sliding window of 0 [you should
fix this via my TCP/IP optimizations in TrinityOS]. Lastly, you
have your Interface Route Trip time set to -0- (fine), and this
is all coming from interface ppp0. Get it?
2) Same as (1) but its a network address and NOT a HOST
3) Same as (1) but its a network address and since its NOT Ethernet, its MSS
can
be bigger.
4) This is the magic. 0.0.0.0 (the default gateway is used if
the computer has TCP/IP traffic and it doesn't know what to do
with it). It will forward the traffic to 209.215.223.7 which
is your PPP connection. The interface is UP and its set as
your GATEWAY. An MSS or MTU of 1500 for it, a TCP sliding
window of 0 [you should fix this via my TCP/IP optimizations
in TrinityOS]. Lastly, you have your Interface Route Trip
time set to -0- (fine), and this is all coming from interface
ppp0. Get it?
>Also, the machine's local IP on the lan is 192.168.1.1, since
>it is the gateway. 192.168.1.0 would be the correct network, but not the
correct
>IP address for the box. Does the output above seem correct
Yes.. this only shows ROUTEs and NOT IPs unless its for
Point-to-Point links like SLIP, PPP, etc.
--David
.----------------------------------------------------------------------------.
| David A. Ranch - Remote Access/Linux/PC hardware [EMAIL PROTECTED] |
!---- ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]