машина freebsd4.9 ip в локалке 10.10.6.162, gw 10.10.6.1, vpn server 172.16.1.38
/etc/ppp/ppp.conf vpn: set authname "user" set authkey "pass" set timeout 0 set ifaddr 0 0 add default HISADDR
в таблицу роутинга руками добавил: 172.16.1.38 10.10.6.1 UGHS 1 158 rl0 default - нету.
/usr/local/sbin/pptp 172.16.1.38 vpn &
в логах Sep 29 22:07:07 bsd49 ppp[601]: Phase: Using interface: tun0 Sep 29 22:07:07 bsd49 ppp[601]: Phase: deflink: Created in closed state Sep 29 22:07:07 bsd49 ppp[601]: Phase: PPP Started (direct mode). Sep 29 22:07:07 bsd49 ppp[601]: Phase: bundle: Establish Sep 29 22:07:07 bsd49 ppp[601]: Phase: deflink: closed -> opening Sep 29 22:07:07 bsd49 ppp[601]: Phase: deflink: Connected! Sep 29 22:07:07 bsd49 ppp[601]: Phase: deflink: opening -> carrier Sep 29 22:07:08 bsd49 ppp[601]: Phase: deflink: carrier -> lcp Sep 29 22:07:09 bsd49 ppp[601]: Phase: bundle: Authenticate Sep 29 22:07:09 bsd49 ppp[601]: Phase: deflink: his = CHAP 0x81, mine = none Sep 29 22:07:09 bsd49 ppp[601]: Phase: Chap Input: CHALLENGE (16 bytes) Sep 29 22:07:09 bsd49 ppp[601]: Phase: Chap Output: RESPONSE (6/0568) Sep 29 22:07:09 bsd49 ppp[601]: Phase: Chap Input: SUCCESS (S=3FB1632E00B693952774B465F57B99C766CEC72E) Sep 29 22:07:09 bsd49 ppp[601]: Phase: deflink: lcp -> open Sep 29 22:07:09 bsd49 ppp[601]: Phase: bundle: Network Sep 29 22:07:09 bsd49 ppp[601]: Warning: iface add: ioctl(SIOCAIFADDR, 192.168.94.7 -> 172.16.1.38): File exists Sep 29 22:07:09 bsd49 ppp[601]: Error: ipcp_InterfaceUp: unable to set ip address Sep 29 22:07:11 bsd49 ppp[601]: Phase: deflink: open -> lcp Sep 29 22:07:11 bsd49 ppp[601]: Phase: bundle: Terminate Sep 29 22:07:11 bsd49 ppp[601]: Phase: Signal 15, terminate. Sep 29 22:07:14 bsd49 ppp[601]: Phase: deflink: Disconnected! Sep 29 22:07:14 bsd49 ppp[601]: Phase: deflink: Connect time: 7 secs: 489 octets in, 502 octets out Sep 29 22:07:14 bsd49 ppp[601]: Phase: deflink: 15 packets in, 14 packets out Sep 29 22:07:14 bsd49 ppp[601]: Phase: total 141 bytes/sec, peak 305 bytes/sec on Wed Sep 29 22:07:09 2004 Sep 29 22:07:14 bsd49 ppp[601]: Phase: deflink: lcp -> closed Sep 29 22:07:14 bsd49 ppp[601]: Phase: bundle: Dead Sep 29 22:07:14 bsd49 ppp[601]: Phase: PPP Terminated (normal).
почему возникает ошибка установки ip адреса????