Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!spring.edu.tw!news-peer.gsl.net!news.gsl.net!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!usenet From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Help for Newbie: How to configure tun0 ? Date: 2 Jan 1997 01:26:35 GMT Organization: Coverform Ltd. Lines: 24 Message-ID: <5af2sb$92r@awfulhak.demon.co.uk> References: <32C9B2C6.7443@scn.org> <32CA94A9.41C67EA6@net-tel.co.uk> NNTP-Posting-Host: awfulhak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33455 In article <32CA94A9.41C67EA6@net-tel.co.uk>, Andrew Gordon <andrew.gordon@net-tel.co.uk> writes: > Enoch Wu wrote: [.....] >> Beside the alias parameter in /sbin/ifconfig, are actions performed by >> ifconfig_tun0 >> different from those performed by /sbin/ifconfig. > > No. You can put an 'alias' keyword in /etc/sysconfig too if you > really want it, though your configuration does not look > right at all. From what I can see, having an ifconfig_tun0 line in /etc/sysconfig is bogus, but a necessary evil if your ppp.conf says "ifaddr 0/0 .....". The correct solution is to have (say) "ifaddr 127.0.1.1/0 ...." instead - so that ppp can set up a route (0/0 is a bum address). I'm not sure where this idea of having "ifaddr 0/0 ...." came from :( -- Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour....