[ale] Explain cable modem routing?
Joe Knapka
jknapka at charter.net
Thu Jun 10 11:10:32 EDT 1999
Here's the output of "netstat -r" on my machine:
<joe:~> netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
208-247-169-130 * 255.255.255.255 UH 1500 0 0
ppp0
208-247-169-130 * 255.255.255.255 UH 1500 0 0
sl0
10.0.0.0 * 255.255.255.0 U 1500 0 0
eth1
192.168.0.0 * 255.255.0.0 U 1500 0 0
eth0
loopback * 255.0.0.0 U 3584 0 0
lo
default * 0.0.0.0 U 1500 0 0
ppp0
default * 0.0.0.0 U 1500 0 0
sl0
<joe:~>
208.247.169.130 is the Charter PPP server. (I have both sl0 and
ppp0 'cause I'm using diald (sl0) to start pppd (ppp0)).
10.0.0.0 is the ethercard hooked up to the cable modem.
192.168.0.0 is the ethercard connected to the house network.
In general, IP packets can take any number of routes to their
destination. The kernel doesn't care which interface a packet
arrives on; it just delivers each incoming packet to the
appropriate local port.
Let me know if you have any other questions. I've got an IP-masq
server set up with Windows, Mac, and Linux machines behind it
here, and it all works very well!
-- Joe Knapka
* I speak only for myself, except when the little
* transceiver at the base of my skull is activated...
More information about the Ale
mailing list