User mode PPP seems to be running well here but there are a few things I am
just plain curious about though. Background: We are a startup ISP with one
Freebsd box which links to our provider via iijPPP. This machine has a rack
of modems which users call into (again, iijPPP). It also has an ethernet
card which connects it to our internal network (unrelated to our internet
service). I can't find this info so I was hoping someone here could
enlighten me! Here goes.....
1) I thought I had seen discussion in the mail list archives on doing 'arp'
commands when using iijPPP on dial in lines. Is it really necessary or am I
halucinating :))? Aren't arp entries added automatically via the ifconfig
for the tunx devices anyway?
2) The link to my provider is started on boot. I'm using 'ppp -auto
providername' and then 'ping -c 1 ip.address' in /etc/netstart. The ping
times out before the connection is made, but it forces the startup (timeout
is 0 in ppp.config). This seems a bit kludgey; is there a more elegant or
standard way of starting a "dedicated" dialup link at boot time?
3) In /etc/sysconfig, I ifconfig lo0, ed0, and tun0. Everything works fine,
but why don't I have to add lines for tun1 through tunx? They seem to be
ifconfig'ed automagically by iijPPP when an incoming ppp session starts. If
that's the case, why do I even have to ifconfig tun0?
4) In /etc/ppp/ppp.conf, each label has the appropriate 'ifaddr' entry. In
/etc/ppp/ppp.linkup my providers entry has 'add 0 0 HISADDR' The other
labels are present but have no entries at all. Why? This is working fine but
None of these questions are urgent as everything has been working great for
several months. But I am kind of curious about the things listed above. Any
input from the guru's here would be most appreciated!