[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange output from ifconfig tun0



On Fri, Dec 29, 2000 at 08:43:01AM -0500, Richard J Kuhns wrote:
> Martin Maciaszek writes:
>  > I wanted to know my ip address assigned from my isp. here's what
>  > happened:
>  > 
>  > root_(_at_)_renraku:~# ifconfig tun0
>  > tun0: flags=11<UP,POINTOPOINT> mtu 1524
>  >         inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffffff 
>  >         inet 194.29.57.188 --> 255.255.255.255 netmask 0xffffffff 
> ...
>  >         inet 194.29.58.192 --> 255.255.255.255 netmask 0xffffffff 
>  >         inet 194.29.59.7 --> 255.255.255.255 netmask 0xffffffff 
>  >         inet 194.29.57.197 --> 195.211.161.132 netmask 0xffffffff 
>  > 
>  > These are obiously all my ip addresses assigned to me from my isp
>  > (since I started ppp(8)). Is this normal?
>  > 
> 
> Try adding 
> 
> label:
>  iface clear
> 
> to /etc/ppp/ppp.linkdown, where `label' is the label you used when you
> started ppp.
> 
This solved the problem partially. I added the line to the MYADDR
section. Now I still habe multiple addresse assigned to my tun0
interface. After hanging up tun0 keeps its last ip address. When
I dial out again tun0 has two ip addresses assigned. After
hanging up the last address is kept. Is there some way to have
only one address assinged after dailing up? This would also solve
the snmp-problem.

Cheers
Martin

-- 
I think there's a world market for about five computers.
		-- attr. Thomas J. Watson (Chairman of the Board, IBM), 1943

Attachment: pgptEujKbqfL6.pgp
Description: PGP signature


Visit your host, monkey.org