From owner-freebsd-questions Wed Nov 21 3:50:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f74.law3.hotmail.com [209.185.241.74]) by hub.freebsd.org (Postfix) with ESMTP id E8B8A37B416 for ; Wed, 21 Nov 2001 03:50:44 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 21 Nov 2001 03:50:44 -0800 Received: from 139.108.175.27 by lw3fd.law3.hotmail.msn.com with HTTP; Wed, 21 Nov 2001 11:50:44 GMT X-Originating-IP: [139.108.175.27] From: "Thor Legvold" To: patrick@mip.co.za Cc: freebsd-questions@freebsd.org Subject: RE: Network setup questions Date: Wed, 21 Nov 2001 11:50:44 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Nov 2001 11:50:44.0895 (UTC) FILETIME=[C0CB52F0:01C17282] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Thor, Hi Patrick, thanks for the reply. >I did not find it necessary to use netgraph, and I am not sure what the >differences are between ppp and pptp. If ppp is of no use to you then >ignore the rest of this message. I'm not sure myself - I've only used PPP as a dialup connection from a single client to an ISP. From what I gather, PPTP uses PPP as a sort of tunnel over another link (like TCP), but I really have no idea (it is clearly defined in the RFC, but it might as well be Greek to me :-) I have setup PPP clients under several varisou OS's previously, including FBSD. From what I understand, I need to do something quite different now. >I'll give a few vague hints as it is a while since I did this, and I >have >subsequently stopped using it. > >I used a 4.3 box to gateway to my dial-up ISP. > >I did "man ppp", and played with what I learned there. I had it >working >pretty quickly just plugging my modem into the first serial port on >the >box. >I seem to recall that I used the -auto and -nat features. This way >the >box >will dial automatically whenever you try to connect, and it will NAT >your >traffic depending on what IP the ISP gives you for the session. I >also >ran >ipfw for firewall, but since ppp does nat, I had no need to use natd. I've got UserPPP working with an ISDN TA previously, but only for a single client (i.e. not a gateway machine). >You need to set up a ppp.conf file which has telephone numbers, login, >password, time-out periods, etc. The man page explains it quite >nicely. Yep. Problem here is that there's no modem, no telephone numbers, no multilink, no redial or timeout. Everything goes over ethernet (wireless). That's part of the problem, I don't really see conceptually how all of this works/fits together so I don't really know where to look to fix it. >Finally, I set my LAN IPs in the 10.0.0.0/24 range. The NIC on the My home LAN is on the 192.168.128.0/24 range. >gateway >box was 10.0.0.1, and other PCs recorded 10.0.0.1 as their default > >gateway. yes, I have the same, my dual homed FBSD machine (the one I'm trying to set up) is 192.168.128.10 and it get's it's other (outside) NIC address via DHCP form my ISP. >I was able to simply open IE on my windoze PC, and the BSD box would >dial >and connect immediately. Yep. All of this has been working for me as well, unfortunatly my ISP is changing their setup and I don't know how to configure appropriately. >Patrick. Regards, Thor _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message