>>Здравствуйте.
.....>
>опция ппп - nodefaultroute, для поиграться...
не нашел такой :(
вот конфиг (ppp.conf):
default:
set log Phase tun command
set device PPPoE:rl0
set dial
set login
set mru 1492
set mtu 1492
set speed sync
set redial 10 0
fos:
set ifaddr 10.0.1.1/0 10.0.1.2/0
set authname file*****
set authkey ******
set server /var/run/ppp/ppp.pid "" 0117
inet:
set ifaddr 10.0.2.1/0 10.0.2.2/0
set authname jdsl*****
set authkey ******
set server /var/run/ppp/ppp_inet.pid "" 0117
local:
set ifaddr 10.0.3.1/0 10.0.3.2/0
set authname alt*****
set authkey ******
set server /var/run/ppp/ppp_local.pid "" 0117
при попытке поднять второе соединение:
ppp.log:
Apr 29 19:39:21 wld ppp[5300]: Phase: Using interface: tun0
Apr 29 19:39:21 wld ppp[5300]: Phase: deflink: Created in closed state
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: default: set device PPPoE:rl0
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: default: set dial
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: default: set login
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: default: set mru 1492
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: default: set mtu 1492
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: default: set speed sync
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: default: set redial 10 0
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: fos: set ifaddr 10.0.1.1/0 10.0.1.2/0
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: fos: set authname file*****
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: fos: set authkey ********
Apr 29 19:39:21 wld ppp[5300]: tun0: Command: fos: set server /var/run/ppp/ppp.pid ******** 0117
Apr 29 19:39:21 wld ppp[5300]: tun0: Phase: Listening at local socket /var/run/ppp/ppp.pid.
Apr 29 19:39:21 wld ppp[5302]: tun0: Phase: PPP Started (ddial mode).
Apr 29 19:39:21 wld ppp[5302]: tun0: Phase: bundle: Establish
Apr 29 19:39:21 wld ppp[5302]: tun0: Phase: deflink: closed -> opening
Apr 29 19:39:21 wld ppp[5302]: tun0: Phase: deflink: Connected!
Apr 29 19:39:21 wld ppp[5302]: tun0: Phase: deflink: opening -> dial
Apr 29 19:39:21 wld ppp[5302]: tun0: Phase: deflink: dial -> carrier
Apr 29 19:39:22 wld ppp[5302]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "gw35")
Apr 29 19:39:22 wld ppp[5302]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Apr 29 19:39:22 wld ppp[5302]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Apr 29 19:39:22 wld ppp[5302]: tun0: Phase: deflink: carrier -> login
Apr 29 19:39:22 wld ppp[5302]: tun0: Phase: deflink: login -> lcp
Apr 29 19:39:22 wld ppp[5302]: tun0: Phase: bundle: Authenticate
Apr 29 19:39:22 wld ppp[5302]: tun0: Phase: deflink: his = PAP, mine = none
Apr 29 19:39:22 wld ppp[5302]: tun0: Phase: Pap Output: file***** ********
Apr 29 19:39:23 wld ppp[5302]: tun0: Phase: Pap Input: SUCCESS ()
Apr 29 19:39:23 wld ppp[5302]: tun0: Phase: deflink: lcp -> open
Apr 29 19:39:23 wld ppp[5302]: tun0: Phase: bundle: Network
Apr 29 19:40:17 wld ppp[5367]: Phase: Using interface: tun1
Apr 29 19:40:17 wld ppp[5367]: Phase: deflink: Created in closed state
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: default: set device PPPoE:rl0
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: default: set dial
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: default: set login
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: default: set mru 1492
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: default: set mtu 1492
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: default: set speed sync
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: default: set redial 10 0
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: local: set ifaddr 10.0.3.1/0 10.0.3.2/0
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: local: set authname alt*****
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: local: set authkey ********
Apr 29 19:40:17 wld ppp[5367]: tun1: Command: local: set server /var/run/ppp/ppp_local.pid ******** 0117
Apr 29 19:40:17 wld ppp[5367]: tun1: Phase: Listening at local socket /var/run/ppp/ppp_local.pid.
Apr 29 19:40:17 wld ppp[5370]: tun1: Phase: PPP Started (ddial mode).
Apr 29 19:40:17 wld ppp[5370]: tun1: Phase: bundle: Establish
Apr 29 19:40:17 wld ppp[5370]: tun1: Phase: deflink: closed -> opening
Apr 29 19:40:17 wld ppp[5370]: tun1: Phase: deflink: Connected!
Apr 29 19:40:17 wld ppp[5370]: tun1: Phase: deflink: opening -> dial
Apr 29 19:40:17 wld ppp[5370]: tun1: Phase: deflink: dial -> carrier
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: Received NGM_PPPOE_ACNAME (hook "gw35")
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: Received NGM_PPPOE_SESSIONID
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: Received NGM_PPPOE_SUCCESS
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: deflink: carrier -> login
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: deflink: login -> lcp
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: bundle: Authenticate
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: deflink: his = PAP, mine = none
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: Pap Output: alt***** ********
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: Pap Input: SUCCESS ()
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: deflink: lcp -> open
Apr 29 19:40:18 wld ppp[5370]: tun1: Phase: bundle: Network
Apr 29 19:40:24 wld ppp[5370]: tun1: Warning: iface add: ioctl(SIOCAIFADDR, 88.147.156.6 -> 88.147.128.71): File exists
Apr 29 19:40:24 wld ppp[5370]: tun1: Error: ipcp_InterfaceUp: unable to set ip address
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: bundle: Terminate
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: open -> lcp
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: Disconnected!
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: lcp -> logout
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: logout -> hangup
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: Disconnected!
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: Connect time: 7 secs: 171 octets in, 194 octets out
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: 14 packets in, 14 packets out
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: total 52 bytes/sec, peak 61 bytes/sec on Sun Apr 29 19:40:23 2007
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: hangup -> opening
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: bundle: Establish
Apr 29 19:40:24 wld ppp[5370]: tun1: Phase: deflink: Enter pause (3) for redialing.
Apr 29 19:40:27 wld ppp[5370]: tun1: Phase: deflink: Connected!
Apr 29 19:40:27 wld ppp[5370]: tun1: Phase: deflink: opening -> dial
...
...
netstat -r:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
88.147.128.71 88.147.179.92 UH 0 0 tun0
88.147.156.6/32 lo0 US 0 0 lo0
88.147.179.92/32 lo0 US 0 0 lo0
localhost localhost UH 0 20 lo0
192.168.2 link#1 UC 0 0 rl0
ifconfig:
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
ether 00:50:22:8e:96:d2
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33208
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
pfsync0: flags=0<> mtu 2020
syncpeer: 224.0.0.240 maxupd: 128
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
inet 88.147.179.92 --> 88.147.128.71 netmask 0xffffffff
Opened by PID 5479
tun1: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
Opened by PID 5483
через mpd4 эффект примерно такойже :(
А хоть кому-нибудь удалось больше одного соединения поднять не модемом?
Помогите.....:-(