From owner-freebsd-questions Mon Jul 13 05:09:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA21601 for freebsd-questions-outgoing; Mon, 13 Jul 1998 05:09:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp3.xs4all.nl (smtp3.xs4all.nl [194.109.6.53]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA21595 for ; Mon, 13 Jul 1998 05:09:22 -0700 (PDT) (envelope-from arnout@tomcat.xs4all.nl) Received: from tomcat.xs4all.nl (tomcat.xs4all.nl [194.109.15.187]) by smtp3.xs4all.nl (8.8.8/8.8.8) with ESMTP id OAA14667; Mon, 13 Jul 1998 14:09:15 +0200 (CEST) Received: (from arnout@localhost) by tomcat.xs4all.nl (8.8.8/8.8.6) id OAA03261; Mon, 13 Jul 1998 14:09:58 +0200 (CEST) Message-ID: <19980713140928.55508@xs4all.nl> Date: Mon, 13 Jul 1998 14:09:29 +0200 From: Arnout Boer To: questions@FreeBSD.ORG Subject: Alias problem with user ppp en FreeBSD-stable Reply-To: arnout@xs4all.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i X-Operating-System: FreeBSD 2.2.6-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, I'm running a very recent stable (till ctm-src-2_2 no. 789 ) I don't get ppp -auto -alias demand working I want to use my private network with the internet. I have a dns up and running for my own network with forwarders to my providers dns I have set up a private 192.168 network with netmask 255.255.0.0 Somewhere it goed wrong I can do anything between the hosts on my own network The gateway does connect correct on demand to my provider where I always get the same IP. So there goes something wrong in the aliasing. I included the most important files. Btw... is there a way to stop sendmail doing dns lookups if I'm offline. It fires up the link which is unnecessary at that moment. And has anybody the same problems with masquerading.. If yes... is it easier to sole with natd??? ------------------------- I use this as ppp.conf ---------- # ppp.conf default: set log Phase Chat Connect Carrier LCP IPCP CCP tun command set device /dev/cuaa0 set speed 38400 set timeout 0 disable pred1 deny pred1 disable lqr # on demand --- ppp -auto demand demand: alias enable yes alias log yes alias use_sockets yes alias unregistered_only yes set login "TIMEOUT 5 ogin:-\\r-ogin: Pmyaccountname TIMEOUT 20 word: SomethingSecret" set timeout 60 set ifaddr 194.109.15.187/0 194.109.6.1/18 255.255.0.0 0.0.0.0 delete ALL add 0 0 HISADDR set openmode active --------- My ppp.linkup file ------ # ppp.linkup demand: delete ALL add 0 0 HISADDR MYADDR: # delete ALL # add 0 0 HISADDR ------- I use it on a 486 with an ne2000 compatible ethernet card My /etc/hosts --- 127.0.0.1 localhost.xs4all.nl localhost localhost.appelding.nl 192.168.0.2 tomcat tomcat.appelding.nl 192.168.0.1 homebase.appelding.nl homebase 194.151.75.9 esmeralda.xaa.iae.nl esmeralda alterego 194.109.6.42 xs1.xs4all.nl xs1 194.109.6.43 xs2.xs4all.nl xs2 194.109.6.44 xs3.xs4all.nl xs3 ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message