Date: Tue, 24 Oct 2000 09:59:42 +0400 From: "Mikhail V. Majorov" <mik@ttn.ru> To: freebsd-questions@FreeBSD.org Subject: PPP and route. Message-ID: <39F5254E.1BB68499@ttn.ru>
next in thread | raw e-mail | index | archive | help
Hi! I use PPP Version 2.23 - $Date: 1999/08/23 23:12:14 $ under FreeBSD 3.3-RELEASE and FreeBSD 4.1-RELEASE. I try to connect my PC by ppp over TCP. When link is up I can't use IP address of interface as local address. All incoming IP packets with dst 213.24.18.229 forward to DEFAULT route (213.24.84.1)!!!! Why does it do? And how can I configure PPP to decide this problem? BEFOR CONNECTION ~~~~~~~~~~~~~~~~ # ifconfig -au ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 213.24.84.18 netmask 0xffffffe0 broadcast 213.24.84.31 ether 00:80:48:c2:c6:8b lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 213.24.84.1 UGSc 15 914 ed1 127.0.0.1 127.0.0.1 UH 4 3891 lo0 213.24.84/27 link#1 UC 0 0 ed1 213.24.84.1 0:50:73:5c:7d:c0 UHLW 14 0 ed1 682 213.24.84.18 0:80:48:c2:c6:8b UHLW 1 348 lo0 213.24.84.20 0:e0:29:64:6d:53 UHLW 0 494 ed1 606 # cat /etc/ppp/ppp.conf default: diakom: set device diakom.ru:8010/tcp set authname nix set ifaddr 213.24.18.229 213.24.18.228 255.255.255.255 0.0.0.0 set authkey Dy2kkb%sJx enable lqr set lqrperiod 15 AFTER CONNECTION ~~~~~~~~~~~~~~~~ #ppp -quiet -ddial diakom # ifconfig -au ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 213.24.84.18 netmask 0xffffffe0 broadcast 213.24.84.31 ether 00:80:48:c2:c6:8b lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 213.24.18.229 --> 213.24.18.228 netmask 0xffffffff # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 213.24.84.1 UGSc 11 978 ed1 127.0.0.1 127.0.0.1 UH 2 4218 lo0 213.24.18.228 213.24.18.229 UH 0 0 tun0 213.24.84/27 link#1 UC 0 0 ed1 213.24.84.1 0:50:73:5c:7d:c0 UHLW 10 0 ed1 910 213.24.84.18 0:80:48:c2:c6:8b UHLW 1 371 lo0 213.24.84.20 0:e0:29:64:6d:53 UHLW 0 494 ed1 835 # route -n get 213.24.18.229 route to: 213.24.18.229 destination: default mask: default gateway: 213.24.84.1 interface: ed1 flags: <UP,GATEWAY,DONE,STATIC,PRCLONING> recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 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?39F5254E.1BB68499>