Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2003 15:27:20 -0400
From:      Guy Silliman <gws@silliman.net>
To:        barbish@a1poweruser.com
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: PPP get 2 ips
Message-ID:  <3E9F0018.1070208@silliman.net>
References:  <MIEPLLIBMLEEABPDBIEGCEPDDKAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
That just might make a difference.  I've added these to my config... 
I'll let you know how it does

JoeB wrote:

>Add this to your ppp.conf file
>
>disable iface-alias    # Stop adding old IP addr as alias when ppp
>                        # redials because line was lost. These old
>ips
>                        # showed using  ifconfig -a   on tun0.
>
> iface clear            # Remove all previous IP address
>
>
>-----Original Message-----
>From: owner-freebsd-questions@freebsd.org
>[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Guy
>Silliman
>Sent: Thursday, April 17, 2003 1:49 PM
>To: William Ashworth
>Cc: freebsd-questions
>Subject: Re: PPP get 2 ips
>
>If this occured every time, then I would agree, and would work on
>resolving it.  This is a situation that ppp seems to think that the
>connection is down, or is reseting in some way for some reason.  And
>it
>gets another IP, but does not clear the stack of the previous IP.
>
>William Ashworth wrote:
>
>  
>
>>What I would think about the fact that it's assigned two IPs is if
>>    
>>
>the
>  
>
>>connection is dynamic, then you get an internal (LAN) IP and an
>>    
>>
>external
>  
>
>>(WAN) IP.
>>
>>Thanks,
>>Will Ashworth
>>
>>
>>
>>----- Original Message -----
>>From: "Guy Silliman" <gws@silliman.net>
>>To: <freebsd-questions@freebsd.org>
>>Sent: Thursday, April 17, 2003 7:09 AM
>>Subject: PPP get 2 ips
>>
>>
>>
>>
>>    
>>
>>>I am running pppd version 2.3 patch level 5, set up for pppoe to
>>>maintain a DSL connection.
>>>
>>>My Config is working great, but here it is any - missing the
>>>      
>>>
>sensative
>  
>
>>>      
>>>
>>stuff
>>
>>
>>    
>>
>>>#
>>># ppp.conf: PPPoE Configuration
>>>#
>>>default:
>>># PPP over Ethernet
>>>set device PPPoE:dc1
>>>set speed sync
>>>set mru 1492
>>>set mtu 1492
>>>set ctsrts off
>>># monitor line quality
>>>enable lqr
>>># log just a bit
>>>set log phase tun
>>># insert default route upon connection
>>>add default HISADDR
>>># download /etc/resolv.conf
>>>enable dns
>>># enable nat
>>>nat enable yes
>>>papchap:
>>>#
>>># edit the next three lines and replace the items in caps with
>>># the values which have been assigned by your ISP.
>>>#
>>>set authname *******************
>>>set authkey *********
>>>
>>>I have had several occassions to find that the interface attached
>>>      
>>>
>to the
>  
>
>>>DSL connection is assigned 2 IP's.  The connection still works for
>>>      
>>>
>me
>  
>
>>>from the inside, and I can traffic data without a problem.
>>    
>>
>However,
>  
>
>>>requests from the outside world fail.  I do run a mail server and
>>>      
>>>
>web
>  
>
>>>server off this connection, so incoming connections are kinda
>>>      
>>>
>important.
>  
>
>>>I can't find anything in the logs to hint towards a problem.  Most
>>>times, I don't even know it has happened until I hear from a
>>>      
>>>
>friend or
>  
>
>>>relative who depends on it.
>>>
>>>Any thoughts?
>>>
>>>_______________________________________________
>>>freebsd-questions@freebsd.org mailing list
>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>To unsubscribe, send any mail to
>>>
>>>
>>>      
>>>
>>"freebsd-questions-unsubscribe@freebsd.org"
>>
>>
>>
>>
>>    
>>
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe@freebsd.org"
>
>  
>



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