Date: Sun, 15 Feb 1998 20:32:54 -0700 From: Michelle Brownsworth <michelle@eugene.net> To: freebsd-questions@FreeBSD.ORG Subject: FreeBSD as a PPP Dialup Router Message-ID: <v0300781cb10d630b0ef2@[206.100.174.69]>
next in thread | raw e-mail | index | archive | help
Folks, I thought you might help shed some light on the matter discussed below in a letter to Jeremy Childs: Mr. Childs, I recently discovered your informative article, "Configuring FreeBSD as a PPP Dialup Router" at http://www.ssimicro.com/~jeremyc/ppp.html. I read it with interest, because that's exactly what I'm doing. I'm in the process of setting up a LAN at home which will use a FreeBSD machine to dial up (using ijppp) to my other FreeBSD server (which is connected to the Internet via a T1 and uses pppd to service dial-in connections). I rejected as overkill my original notion of using a Livingston router, and decided to configure the FreeBSD server at home to do duty as router. My LAN at home is a subnet, not part of the C-block of the server to which I'm connecting. And that leads me to my question. In your article, you stated: "The proxyarp option takes care of all the routing, so all you need for the remote clients IP addresses are two free IP addresses on the same subnet as the server's IP address." My confusion stems from the fact that my server at home is not on the same subnet as the IP address of the server I'm calling: wintermute.primelogic.com 206.100.174.64 # On T1 (C-block) straylight.primelogic.com 208.151.228.65 # At home (subnet /224) I have dedicated a couple of IP's especially for PPP on wintermute: local.primelogic..com 206.100.174.68 # IP not assigned to ethernet card remote.primelogic..com 206.100.174.69 So, may I infer from your statement above that I should use 206.100.174.69 as the remote address in wintermute's /etc/ppp/options (or /etc/ppp/options.ttyd1), rather than straylight's subnet IP? If so, then the subnet IP's are relevant only for straylight's and the other LAN hosts' ethernet cards, and would play no part at all in the PPP configuration. This makes intuitive sense, since straylight's subnet IP is assigned to ed1, straylight's ethernet card. Assigning the address concurrently to user PPP's tun0 device seems wrong. I've reached a point where I clearly need to check my fundamental assumptions. If I'm on the right track then I can concentrate on finding the reasons why I'm getting "LCP: timeout sending Config-Requests" errors, and why straylight can't "ping localhost" or "ping straylight" once the PPP connection is (sort of) made. Thank you for your time. .\\ichelle -------------------------- Michelle Brownsworth PrimeLogic Communications http://www.primelogic.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v0300781cb10d630b0ef2>