Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 1997 12:45:54 +0000
From:      "Carlos Vicente Yepes" <cvicente@tricom.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re:  ppp and routing
Message-ID:  <199708072021.AAA28234@sdq1>

next in thread | raw e-mail | index | archive | help
I read that it is necessary to disable routed in the /etc/sysconfig 
(/etc/rc.conf) file.  Otherwise, user-ppp will not work fine.  Maybe there's your 
problem.

Good luck.

> Hello All,
> 
> I'm still having these routing problems when I disconnect and reconnect
> to my ISP, using user-ppp.  What basically happens is I connect fine the first
> time, but then after reconnecting the old default route is still present.
> 
> Here's some info:
> 
> _____________________________________________________________________________
> running: FreeBSD 2.2-970618-RELENG
> 
> /* during first connection */
> $netstat -rn
> 
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            204.178.77.130     UGSc        3     1530      tun0
> 204.178.77.130     206.66.15.57       UH          3        0      tun0
> 206.66.15.57       127.0.0.1          UH          0        0       lo0
> /* There are also some listings for ed1, but they are omitted */
> 
> /* After reconnecting */
> $netstat -rn
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            204.178.77.130     UGSc        3     1554      tun0
> 207.136.8.17       207.136.15.65      UH          0        0      tun0
> 207.136.15.65      127.0.0.1          UH          0        0       lo0
> 
> /* Note, the new gateway is 207.136.8.17, but it wasn't added as the default 
>    but it was added to the tun0 interface */
> 
> $cat /etc/ppp/ppp.linkup
> MYADDR:
>  delete ALL
>  add 0 0 HISADDR
> 
> /* I don't know if the following is pertinent, but here it is. */
> 
> $cat /etc/rc.conf | grep route
> defaultrouter="NO"              # Set to default gateway (or NO).
> static_routes=""                # Set to static route list (or leave empty).
> router_enable="YES"             # Set to YES to enable a routing daemon.
> router="routed"                 # Name of routing daemon to use if enabled.
> router_flags="-q"               # Flags for routing daemon.
> mrouted_enable="NO"             # Do multicast routing (see /etc/mrouted.conf)
> ipxrouted_enable="NO"           # Set to YES to run the IPX routing daemon.
> ipxrouted_flags=""              # Flags for IPX routing daemon.
> _____________________________________________________________________________
> 
> Also, in my last post I mentioned that I was getting a routed error message
> on boot concerning ed1.  Doug suggested that it was nothing and to turn off
> multicasting, however, as you can see above mrouted is turned off. So, I'm
> still getting that message and don't really see how they could be related,
> but they're both routing problems....sooo....
> 
> Thanks for anything you guys can come up with,
> 
> Royce
> 
> 


Carlos Vicente Yepes
cvicente@tricom.net
cvicente@ns.intec.edu.do
http://members.tripod.com/~cvicente




Carlos Vicente Yepes
cvicente@tricom.net
cvicente@ns.intec.edu.do
http://members.tripod.com/~cvicente



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