>My question is: when I try to telnet on the internal LAN from this >machine to another machine on the internal LAN, for some reason >it wants to bring up the ppp link to complete the act - why?.
Probably the receiving client is trying to reverse-resolve the IP address who is trying to telnet to it.
>This happens >when I use the name of the other machine, but not when I use the >local IP address of the other machine - yet the name of the other >machine still resolves to the correct address (I'm using >/etc/hosts and such, not bind).
Are you using "hosts" files on both the SRC and DST machines?
To prove this to yourself, run TCPDUMP on eth1 of the MASQ server and then try the telnet from MASQ client #1 to client #2 by name. What does the MASQ server see?
>Maybe I am expecting an outcome that can't happen, and that's really >the gist of this particular question - is it the case that the box >that's set up with forwarding and masq simply will always try to >go onto the net via ppp0, since it in fact has forwarding and masq >set up?
No.. the problem is that you need to setup PPPD DNS filters to keep the line down.
>Or should I be able to accomplish what I am expecting, >which is to be able to go off that box with a TCP service to >somewhere else in my local net, and not expect to have to go outside >to get a name or IP address?
To do this, I recommend you setup an internal private DNS server on
the MASQ machine to keep this traffic off the Internet. You can also do this with "hosts" files but this doesn't scale for long.
--David .----------------------------------------------------------------------------. | David A. Ranch - Linux/Networking/PC hardware [EMAIL PROTECTED] | !---- ----! `----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting. You can start your search at http://www.indyramp.com/masq/ Please keep general linux/unix/pc/internet questions off the list.
