Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2001 19:35:08 +1000
From:      "Craig Nuttall" <admin@kewl.com.au>
To:        "Craig Nuttall" <admin@kewl.com.au>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: PPP Gateway problem
Message-ID:  <006301c0749f$4c8e7340$02a8a8c0@craig>
References:  <005801c073b2$483b6980$02a8a8c0@craig>

next in thread | previous in thread | raw e-mail | index | archive | help
update on my problem, modem TX light flashes but no RX light, can anyone see
a problem with my routing ??
or anything else...

getting desperate
Craig

----- Original Message -----
From: "Craig Nuttall" <admin@kewl.com.au>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Monday, 1 January 2001 3:18
Subject: PPP Gateway problem


> I am setting up a gateway server on my home network. FreeBSD 4.2-RELEASE /
> ppp 2.27
> I have followed the tutorial for PPP setup and can connect to my ISP but
can
> not ping anything on the outside apart from the IP supplied by my ISP.
>
> Would someone be so kind to help me with this ???
>
> ### SKIP to the end if you dont want to read the detail yet ###
>
> Here is my config, (only the ISP phone, authname and authkey have been
> changed for privacy) everything else is exactly as in my config.
>
> ######
>
> root gateway ~ # cat /etc/host.conf
>
> hosts
> bind
>
> ######
>
> root gateway ~ # cat /etc/hosts
>
> ::1                     localhost.my.domain     localhost
> 127.0.0.1               localhost.my.domain     localhost
> 192.168.168.1           gateway.my.domain       gateway
> 192.168.168.2           craig.my.domain         craig
> 192.168.168.3           petra.my.domain         petra
> 192.168.168.4           kids.my.domain          kids
>
> ######
>
> root gateway ~ # cat /etc/ppp/ppp.conf
>
> default:
>  ident user-ppp VERSION (built COMPILATIONDATE)
>  set device /dev/cuaa0
>  set log Phase Chat Connect LCP IPCP CCP tun command
>  set speed 115200
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
>            \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 60 CONNECT \\c
\\n"
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>  set timeout 9000
>  add default HISADDR
>  enable dns
>
> anet:
>  set phone ######
>  set authname ######
>  set authkey ######
>
> ######
>
> root gateway ~ # cat /etc/rc.conf
>
> kern_securelevel="2"
> kern_securelevel_enable="YES"
> check_quotas="NO"
> sendmail_enable="NO"
> saver="blank"
> font8x8="swiss-8x8"
> font8x14="NO"
> font8x16="swiss-8x16"
> keyrate="fast"
> sshd_enable="YES"
> gateway_enable="YES"
> router_enable="NO"
> portmap_enable="NO"
> nfs_server_enable="NO"
> inetd_enable="NO"
> local_startup="/usr/local/etc/rc.d"
> network_interfaces="lo0 ed0"
> ifconfig_lo0="inet 127.0.0.1"
> ifconfig_ed0="inet 192.168.168.1 netmask 255.255.255.0"
> hostname="gateway.my.domain"
>
> #######
>
> Here is the routing table before connecting
>
> ######
>
> root gateway ~ # netstat -rn
>
> Routing tables
>
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif
> Expire
> 127.0.0.1          127.0.0.1          UH          0        4      lo0
> 192.168.168        link#2             UC          0        0      ed0 =>
> 192.168.168.2      0:10:4b:c:d0:f0    UHLW        2      261      ed0
1128
> 192.168.168.3      0:48:54:8e:5e:13   UHLW        0        3      ed0 =>
>
> Internet6:
> Destination                       Gateway                       Flags
> Netif Expire
> ::1                               ::1                           UH
> lo0
> fe80::%ed0/64                     link#2                        UC
> ed0
> fe80::%lo0/64                     fe80::1%lo0                   Uc
> lo0
> fe80::%tun0/64                    link#11                       UC
> tun0
> fe80::240:33ff:fe94:a789%tun0     ::1                           UH
> lo0
> ff01::/32                         ::1                           U
> lo0
> ff02::%ed0/32                     link#2                        UC
> ed0
> ff02::%lo0/32                     fe80::1%lo0                   UC
> lo0
> ff02::%tun0/32                    link#11                       UC
> tun0
>
> #######
>
> Here is the connection
>
> ######
>
> root gateway ~ # ppp anet
> Working in interactive mode
> Using interface: tun0
> ppp ON gateway> dial
> ppp ON gateway>
> Ppp ON gateway>
> PPp ON gateway>
> PPP ON gateway> show physical
> Name: deflink
>  State:           open (with carrier)
>  Device:          /dev/cuaa0
>  Link Type:       interactive
>  Connect Count:   1
>  Physical outq:   0
>  Queued Packets:  0
>  Phone Number:    ######
>
> Defaults:
>  Device List:     "/dev/cuaa0"
>  Characteristics: 115200bps, cs8, no parity, CTS/RTS on
>  CD check delay:  device specific
>
> Connect time: 0:04:27
> 441 octets in, 1755 octets out
> 12 packets in, 26 packets out
>   overall        8 bytes/sec
>   currently      0 bytes/sec in,      0 bytes/sec out (over the last 5
secs)
>   peak         192 bytes/sec on Mon Jan  1 01:11:15 2001
>
> ######
>
> Here is the routing table after connection
>
> ######
>
> root gateway ~ # netstat -rn
> Routing tables
>
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif
> Expire
> default            203.52.67.5        UGSc        0        0     tun0
> 127.0.0.1          127.0.0.1          UH          0        4      lo0
> 192.168.168        link#2             UC          0        0      ed0 =>
> 192.168.168.2      0:10:4b:c:d0:f0    UHLW        2      290      ed0
1147
> 203.52.67.5        203.52.67.130      UH          1        0     tun0
>
> Internet6:
> Destination                       Gateway                       Flags
> Netif Expire
> ::1                               ::1                           UH
> lo0
> fe80::%ed0/64                     link#2                        UC
> ed0
> fe80::%lo0/64                     fe80::1%lo0                   Uc
> lo0
> fe80::%tun0/64                    link#11                       UC
> tun0
> fe80::240:33ff:fe94:a789%tun0     ::1                           UH
> lo0
> ff01::/32                         ::1                           U
> lo0
> ff02::%ed0/32                     link#2                        UC
> ed0
> ff02::%lo0/32                     fe80::1%lo0                   UC
> lo0
> ff02::%tun0/32                    link#11                       UC
> tun0
>
> ######
>
> Here are some ping tests
>
> ######
>
> root gateway ~ # ping 203.52.67.5
> PING 203.52.67.5 (203.52.67.5): 56 data bytes
> ^C
> --- 203.52.67.5 ping statistics ---
> 8 packets transmitted, 0 packets received, 100% packet loss
>
>
> root gateway ~ # ping 203.52.67.130
> PING 203.52.67.130 (203.52.67.130): 56 data bytes
> 64 bytes from 203.52.67.130: icmp_seq=0 ttl=255 time=3.101 ms
> 64 bytes from 203.52.67.130: icmp_seq=1 ttl=255 time=2.949 ms
> 64 bytes from 203.52.67.130: icmp_seq=2 ttl=255 time=2.954 ms
> 64 bytes from 203.52.67.130: icmp_seq=3 ttl=255 time=3.030 ms
> ^C
> --- 203.52.67.130 ping statistics ---
> 4 packets transmitted, 4 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 2.949/3.008/3.101/0.062 ms
> root gateway ~ # ping 203.52.67.1
>
>
> PING 203.52.67.1 (203.52.67.1): 56 data bytes
> ^C
> --- 203.52.67.1 ping statistics ---
> 5 packets transmitted, 0 packets received, 100% packet loss
> root gateway ~ # ping 192.168.168.2
> PING 192.168.168.2 (192.168.168.2): 56 data bytes
> 64 bytes from 192.168.168.2: icmp_seq=0 ttl=128 time=1.103 ms
> 64 bytes from 192.168.168.2: icmp_seq=1 ttl=128 time=1.047 ms
> 64 bytes from 192.168.168.2: icmp_seq=2 ttl=128 time=1.061 ms
> 64 bytes from 192.168.168.2: icmp_seq=3 ttl=128 time=1.022 ms
> ^C
> --- 192.168.168.2 ping statistics ---
> 4 packets transmitted, 4 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 1.022/1.058/1.103/0.029 ms
>
> #######
>
> Here is the ppp log
>
> ######
>
> Jan  1 01:10:37 gateway ppp[1709]: Phase: Using interface: tun0
> Jan  1 01:10:37 gateway ppp[1709]: Phase: deflink: Created in closed state
> Jan  1 01:10:37 gateway ppp[1709]: tun0: Command: default: set speed
115200
> Jan  1 01:10:37 gateway ppp[1709]: tun0: Command: default: set dial ABORT
> BUSY ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK
> \dATDT\T TIMEOUT 60 CONNECT \c \n
> Jan  1 01:10:38 gateway ppp[1709]: tun0: Command: default: set ifaddr
> 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
> Jan  1 01:10:38 gateway ppp[1709]: tun0: Command: default: set timeout
9000
> Jan  1 01:10:38 gateway ppp[1709]: tun0: Command: default: add default
> HISADDR
> Jan  1 01:10:38 gateway ppp[1709]: tun0: Command: default: enable dns
> Jan  1 01:10:38 gateway ppp[1709]: tun0: Command: anet: set phone ######
> Jan  1 01:10:38 gateway ppp[1709]: tun0: Command: anet: set authname
######
> Jan  1 01:10:38 gateway ppp[1709]: tun0: Command: anet: set authkey
********
> Jan  1 01:10:38 gateway ppp[1709]: tun0: Phase: PPP Started (interactive
> mode).
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Command: /dev/tty: dial
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Phase: bundle: Establish
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Phase: deflink: closed -> opening
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Phase: deflink: Connected!
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Phase: deflink: opening -> dial
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Phone: ######
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: deflink: Dial attempt 1 of
1
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Send: AT^M
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Expect(5): OK
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Received: AT^M^M
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Received: OK^M
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Send: ATE1Q0^M
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Expect(5): OK
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Received: ATE1Q0^M^M
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Received: OK^M
> Jan  1 01:10:40 gateway ppp[1709]: tun0: Chat: Send: ATDT######^M
> Jan  1 01:10:42 gateway ppp[1709]: tun0: Chat: Expect(60): CONNECT
> Jan  1 01:11:08 gateway ppp[1709]: tun0: Chat: Received: ATDT######^M^M
> Jan  1 01:11:08 gateway ppp[1709]: tun0: Chat: Received: CONNECT 48000^M
> Jan  1 01:11:08 gateway ppp[1709]: tun0: Phase: deflink: dial -> carrier
> Jan  1 01:11:09 gateway ppp[1709]: tun0: Phase: deflink: /dev/cuaa0: CD
> detected
> Jan  1 01:11:09 gateway ppp[1709]: tun0: Phase: deflink: carrier -> login
> Jan  1 01:11:09 gateway ppp[1709]: tun0: Phase: deflink: login -> lcp
> Jan  1 01:11:09 gateway ppp[1709]: tun0: LCP: FSM: Using "deflink" as a
> transport
> Jan  1 01:11:09 gateway ppp[1709]: tun0: LCP: deflink: State change
> Initial --> Closed
> Jan  1 01:11:09 gateway ppp[1709]: tun0: LCP: deflink: State change
> Closed --> Stopped
> Jan  1 01:11:10 gateway ppp[1709]: tun0: LCP: deflink: LayerStart
> Jan  1 01:11:10 gateway ppp[1709]: tun0: LCP: deflink: SendConfigReq(1)
> state = Stopped
> Jan  1 01:11:10 gateway ppp[1709]: tun0: LCP:  ACFCOMP[2]
> Jan  1 01:11:10 gateway ppp[1709]: tun0: LCP:  PROTOCOMP[2]
> Jan  1 01:11:10 gateway ppp[1709]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jan  1 01:11:10 gateway ppp[1709]: tun0: LCP:  MRU[4] 1500
> Jan  1 01:11:10 gateway ppp[1709]: tun0: LCP:  MAGICNUM[6] 0x08a94fe0
> Jan  1 01:11:10 gateway ppp[1709]: tun0: LCP: deflink: State change
> Stopped --> Req-Sent
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP: deflink: SendConfigReq(1)
> state = Req-Sent
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  ACFCOMP[2]
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  PROTOCOMP[2]
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  MRU[4] 1500
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  MAGICNUM[6] 0x08a94fe0
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP: deflink: RecvConfigRej(1)
> state = Req-Sent
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP: Sending ident magic 08a94fe0
> text user-ppp 2.27 (built Nov 20 2000)
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP: deflink: SendIdent(0) state
=
> Req-Sent
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  ACFCOMP[2]
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  PROTOCOMP[2]
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP: deflink: SendConfigReq(2)
> state = Req-Sent
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  MRU[4] 1500
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP:  MAGICNUM[6] 0x08a94fe0
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP: deflink: RecvConfigAck(2)
> state = Req-Sent
> Jan  1 01:11:13 gateway ppp[1709]: tun0: LCP: deflink: State change
> Req-Sent --> Ack-Rcvd
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: deflink: RecvConfigReq(1)
> state = Ack-Rcvd
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  <0x0>[4] 0000
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  MRU[4] 1524
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP
> 0x05)
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  MRRU[4] 1524
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  ENDDISC[9] MAC
> 00:c0:7b:9a:c6:65
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  LDBACP[4] 0037
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: deflink: SendConfigRej(1)
> state = Ack-Rcvd
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  <0x0>[4] 0000
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  MRRU[4] 1524
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  LDBACP[4] 0037
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: Sending ident magic 08a94fe0
> text user-ppp 2.27 (built Nov 20 2000)
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: deflink: SendIdent(1) state
=
> Ack-Rcvd
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: deflink: RecvConfigReq(2)
> state = Ack-Rcvd
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  MRU[4] 1524
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP
> 0x05)
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  ENDDISC[9] MAC
> 00:c0:7b:9a:c6:65
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: deflink: SendConfigAck(2)
> state = Ack-Rcvd
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  MRU[4] 1524
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP
> 0x05)
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP:  ENDDISC[9] MAC
> 00:c0:7b:9a:c6:65
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: deflink: State change
> Ack-Rcvd --> Opened
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: deflink: LayerUp
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: Sending ident magic 08a94fe0
> text user-ppp 2.27 (built Nov 20 2000)
> Jan  1 01:11:14 gateway ppp[1709]: tun0: LCP: deflink: SendIdent(2) state
=
> Opened
> Jan  1 01:11:14 gateway ppp[1709]: tun0: Phase: bundle: Authenticate
> Jan  1 01:11:14 gateway ppp[1709]: tun0: Phase: deflink: his = CHAP 0x05,
> mine = none
> Jan  1 01:11:14 gateway ppp[1709]: tun0: Phase: Chap Input: CHALLENGE (16
> bytes from noc-nas01)
> Jan  1 01:11:14 gateway ppp[1709]: tun0: Phase: Chap Output: RESPONSE
> (######)
> Jan  1 01:11:14 gateway ppp[1709]: tun0: Phase: Chap Input: SUCCESS
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: Using trigger address
0.0.0.0
> Jan  1 01:11:14 gateway ppp[1709]: tun0: CCP: FSM: Using "deflink" as a
> transport
> Jan  1 01:11:14 gateway ppp[1709]: tun0: CCP: deflink: State change
> Initial --> Closed
> Jan  1 01:11:14 gateway ppp[1709]: tun0: CCP: deflink: LayerStart.
> Jan  1 01:11:14 gateway ppp[1709]: tun0: CCP: deflink: SendConfigReq(1)
> state = Closed
> Jan  1 01:11:14 gateway ppp[1709]: tun0: CCP:  DEFLATE[4] win 15
> Jan  1 01:11:14 gateway ppp[1709]: tun0: CCP:  PRED1[2]
> Jan  1 01:11:14 gateway ppp[1709]: tun0: CCP: deflink: State change
> Closed --> Req-Sent
> Jan  1 01:11:14 gateway ppp[1709]: tun0: Phase: deflink: lcp -> open
> Jan  1 01:11:14 gateway ppp[1709]: tun0: Phase: bundle: Network
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: FSM: Using "deflink" as a
> transport
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: deflink: State change
> Initial --> Closed
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: deflink: LayerStart.
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: deflink: SendConfigReq(1)
> state = Closed
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP:  IPADDR[6]  0.0.0.0
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots
> with slot compression
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP:  PRIDNS[6]  203.52.66.15
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP:  SECDNS[6]  203.52.66.16
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: deflink: State change
> Closed --> Req-Sent
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: deflink: RecvConfigReq(1)
> state = Req-Sent
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots
> with slot compression
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP:  IPADDR[6]  203.52.67.5
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: deflink: SendConfigAck(1)
> state = Req-Sent
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots
> with slot compression
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP:  IPADDR[6]  203.52.67.5
> Jan  1 01:11:14 gateway ppp[1709]: tun0: IPCP: deflink: State change
> Req-Sent --> Ack-Sent
> Jan  1 01:11:15 gateway ppp[1709]: tun0: LCP: deflink: RecvProtocolRej(3)
> state = Opened
> Jan  1 01:11:15 gateway ppp[1709]: tun0: LCP: deflink: -- Protocol 0x80fd
> (Compression Control Protocol) was rejected!
> Jan  1 01:11:15 gateway ppp[1709]: tun0: CCP: deflink: State change
> Req-Sent --> Stopped
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP: deflink: RecvConfigNak(1)
> state = Ack-Sent
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP:  IPADDR[6]  203.52.67.130
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP:  IPADDR[6]  changing
address:
> 0.0.0.0  --> 203.52.67.130
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP:  PRIDNS[6]  203.52.66.15
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP:  SECDNS[6]  203.52.66.16
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP: Primary nameserver set to
> 203.52.66.15
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP: Secondary nameserver set to
> 203.52.66.16
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP: deflink: SendConfigReq(2)
> state = Ack-Sent
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP:  IPADDR[6]  203.52.67.130
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots
> with slot compression
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP:  PRIDNS[6]  203.52.66.15
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP:  SECDNS[6]  203.52.66.16
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP: deflink: RecvConfigAck(2)
> state = Ack-Sent
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP: deflink: State change
> Ack-Sent --> Opened
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP: deflink: LayerUp.
> Jan  1 01:11:15 gateway ppp[1709]: tun0: IPCP: myaddr 203.52.67.130
hisaddr
> = 203.52.67.5
> Jan  1 01:15:07 gateway ppp[1709]: tun0: Command: /dev/tty: show physical
> Jan  1 01:16:33 gateway ppp[1709]: tun0: Command: /dev/tty: quit
> Jan  1 01:16:33 gateway ppp[1709]: tun0: IPCP: deflink: LayerDown:
> 203.52.67.130
> Jan  1 01:16:33 gateway ppp[1709]: tun0: IPCP: Using trigger address
0.0.0.0
> Jan  1 01:16:33 gateway ppp[1709]: tun0: IPCP: deflink:
SendTerminateReq(3)
> state = Opened
> Jan  1 01:16:33 gateway ppp[1709]: tun0: IPCP: deflink: State change
> Opened --> Closing
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: Carrier lost
> Jan  1 01:16:35 gateway ppp[1709]: tun0: CCP: deflink: State change
> Stopped --> Closed
> Jan  1 01:16:35 gateway ppp[1709]: tun0: CCP: deflink: State change
> Closed --> Initial
> Jan  1 01:16:35 gateway ppp[1709]: tun0: LCP: deflink: LayerDown
> Jan  1 01:16:35 gateway ppp[1709]: tun0: LCP: deflink: State change
> Opened --> Starting
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: open -> lcp
> Jan  1 01:16:35 gateway ppp[1709]: tun0: IPCP: deflink: LayerFinish.
> Jan  1 01:16:35 gateway ppp[1709]: tun0: IPCP: Connect time: 321 secs: 0
> octets in, 1092 octets out
> Jan  1 01:16:35 gateway ppp[1709]: tun0: IPCP: : 0 packets in, 13 packets
> out
> Jan  1 01:16:35 gateway ppp[1709]: tun0: IPCP:  total 3 bytes/sec, peak 84
> bytes/sec on Mon Jan  1 01:16:35 2001
> Jan  1 01:16:35 gateway ppp[1709]: tun0: IPCP: deflink: State change
> Closing --> Initial
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: bundle: Terminate
> Jan  1 01:16:35 gateway ppp[1709]: tun0: LCP: deflink: LayerFinish
> Jan  1 01:16:35 gateway ppp[1709]: tun0: LCP: deflink: State change
> Starting --> Initial
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: Disconnected!
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: lcp -> logout
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: Disconnected!
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: logout -> hangup
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: Connect time: 355
> secs: 442 octets in, 1767 octets out
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: : 13 packets in,
27
> packets out
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase:  total 6 bytes/sec, peak
192
> bytes/sec on Mon Jan  1 01:16:35 2001
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: deflink: hangup -> closed
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: bundle: Dead
> Jan  1 01:16:35 gateway ppp[1709]: tun0: Phase: PPP Terminated (normal).
>
> ######
>
>
> I'm not real sure what is wrong with this...... one thing I am having
> trouble understanding is the address supplied by the ISP and the routing.
>
> PRIDNS[6]  203.52.66.15
> SECDNS[6]  203.52.66.16
>
> ok, this is correct and it gets written to resolv.conf
>
> root gateway ~ # cat /etc/resolv.conf
> nameserver 203.52.66.15
> nameserver 203.52.66.16
>
>
> myaddr 203.52.67.130 hisaddr = 203.52.67.5
> ok, 203.52.67.130 is the dynamic IP from my ISP, I understand that
> 203.52.67.5 ...... that is the IP of the ISP's NAS....... I guess I really
> expected it to be the the IP of their gateway ?????
> anyway, watching the modem TX/RX indicators shows that I am transmitting,
> but nothing comes back.......
>
> I will eventualy be using NAT via the -nat option in ppp, will this allow
me
> to use ICQ on more than one box in my network simultaneously, or will I
need
> to run a socks5 server to achieve that ???? (any other suggestions ????)
>
> Sorry for the long message, but I guess all the detail is better than none
> :-)
> Looking forward to resolving this,
> Thanks in advance
> Craig
> admin@kewl.com.au
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006301c0749f$4c8e7340$02a8a8c0>