Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 1997 00:58:07 +0700 (KRS)
From:      Victor Sudakov <vas@vas.tsu.tomsk.su>
To:        questions@freebsd.org (freebsd questions mailing list)
Subject:   ppp.linkdown does not work any more?
Message-ID:  <199712171758.AAA13285@vas.tsu.tomsk.su>

next in thread | raw e-mail | index | archive | help
Hello.

I have the following ppp.linkdown file:

========= cut here ========

MYADDR:
 delete ALL
 set ifaddr 193.124.182.241/0 193.124.182.1/0 255.255.255.0
 add 0 0 193.124.182.1


========= cut here ========

However, right after the ppp session is over, the routes and interfaces are:

vas: {1} netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            193.124.182.13     UGSc        4       16      tun0
127.0.0.1          127.0.0.1          UH          0    23876       lo0
192.168.1.1        192.168.1.1        UH          4      638       lo0
193.124.182.13     193.124.182.253    UH          5        0      tun0
vas: {2}

vas: {2} ifconfig tun0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 193.124.182.253 --> 193.124.182.13 netmask 0xffffff00
vas: {3}

Does this mean that ppp.linkdown does not work? It is also strange that
there is no example of a ppp.linkdown file and nothing about it in the
iijppp man page.

I am using stock ppp from FreeBSD 2.2.2

Thanks for any input.

-- 
Victor Sudakov
mailto:vas@obluo.tomsk.su
http://www.obluo.tomsk.su/~vas
PGP public key: finger vas@obluo.tomsk.su



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