This is my routing table:
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
>real world.0    0.0.0.0         255.255.255.0   U     0      0      844 
eth0
>192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        2 
eth1
>127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        4 lo
>0.0.0.0         my real address   0.0.0.0         UG    1      0     2844 
eth0

>I am running Slackware, so I don't know where exactly you set this stuff 
in
>RedHat.
>Other than that, I have the same setting: one PCI NE2000 compatible, one 
ISA
>card.
>Works fine for me.

        I'm not sure I understand exactly what's going on here. Ok, all 
attempts to access addresses
on your LAN (the 192.168.1.* addresses) are being routed to eth1, the NIC 
attached to your
ethernet. This part I understand.

        "real world" I'm assuming is the address of your provider's network. 
(So if your IP was
208.45.67.32, "real world" would be 208.45.67.*) "my real address" then 
would be the 
real world address with the last number filled in (specifics don't really 
matter). So everything
going to your ISP network, is routed through eth0, which, I assume, is the 
card attached to your
ISDN/cable modem/modem etc... that connects you to your ISP. Ok, mine is 
doing the same
thing.

        Now here's the part where I get confused. When you specify a 
destination of 0.0.0.0
that seems like a very encompassing "wildcard" address to me. It seems like 
you are 
routing *all* traffic through eth0, but using your own machine as a 
gateway?!? Is this a
default route? Does is override the others or only take access attempts 
that are not routed
by the other entries? How can you use your own machine as a gateway to the 
internet?
Please excuse me if I'm way off the mark here, but I'm rather new to Linux 
and I'm trying to 
comprehend exactly what's going on. Thanks again.


-----------------------------------------------
        Joe Duncan
        Systems
        Human Resources Development Canada
        (613)997-7986
        [EMAIL PROTECTED]
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to