Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 14:09:29 +0200
From:      Arnout Boer <arnout@xs4all.nl>
To:        questions@FreeBSD.ORG
Subject:   Alias problem with user ppp en FreeBSD-stable
Message-ID:  <19980713140928.55508@xs4all.nl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980713140928.55508>