From nobody@FreeBSD.org  Wed Sep 10 08:39:37 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1BED81065685
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Sep 2008 08:39:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D9FE48FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Sep 2008 08:39:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m8A8dZ8K080134
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Sep 2008 08:39:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m8A8dZj6080133;
	Wed, 10 Sep 2008 08:39:35 GMT
	(envelope-from nobody)
Message-Id: <200809100839.m8A8dZj6080133@www.freebsd.org>
Date: Wed, 10 Sep 2008 08:39:35 GMT
From: Serg Livitin <admin@netadmin.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gif tunnel error ifconfig: SIOCSIFPHYADDR: Can't assign requested address
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         127266
>Category:       kern
>Synopsis:       [gif] gif tunnel error ifconfig: SIOCSIFPHYADDR: Can't assign requested address
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 10 08:40:02 UTC 2008
>Closed-Date:    Sat Sep 13 22:36:01 UTC 2008
>Last-Modified:  Sat Sep 13 22:36:01 UTC 2008
>Originator:     Serg Livitin
>Release:        FreeBSD 6.3-STABLE #0
>Organization:
IT Prof Service
>Environment:
FreeBSD gw.netadmin.ru 6.3-STABLE FreeBSD 6.3-STABLE #0: Tue Sep  9 07:29:31 MSD 2008     root@gw.netadmin.ru:/usr/src/sys/i386/compile/krnl2008090900  i386
>Description:
I have two gif-interfaces (gif0 and gif3) and tunnels. All working good. I try to create third gif interface (gif14) and tunnel. There is an error appear, when I try to create tunnel.

my ifconfig:
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:16:ec:44:e3:a8
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:04:76:a1:97:ef
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 79.165.217.154 netmask 0xfffff000 broadcast 255.255.255.255
        ether 00:50:8b:5f:f2:4a
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        tunnel inet 79.165.217.154 --> 212.248.60.138
        inet 192.168.0.254 --> 192.168.8.254 netmask 0xffffff00
gif3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        tunnel inet 79.165.217.154 --> 81.195.226.74
        inet 192.168.0.254 --> 192.168.2.254 netmask 0xffffff00

[Home]gw# ifconfig gif14 create
[Home]gw# ifconfig gif14 tunnel 79.165.217.154 212.248.60.138
ifconfig: SIOCSIFPHYADDR: Can't assign requested address

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Sep 10 08:40:35 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127266 

From: Edwin Groothuis <edwin@mavetju.org>
To: Serg Livitin <admin@netadmin.ru>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/127266: gif tunnel error ifconfig: SIOCSIFPHYADDR: Can't assign requested address
Date: Fri, 12 Sep 2008 20:10:50 +1000

 On Wed, Sep 10, 2008 at 08:39:35AM +0000, Serg Livitin wrote:
 > my ifconfig:
 > sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 >         options=8<VLAN_MTU>
 >         inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255
 >         ether 00:16:ec:44:e3:a8
 >         media: Ethernet autoselect (100baseTX <full-duplex>)
 >         status: active
 > xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 >         options=9<RXCSUM,VLAN_MTU>
 >         inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
 >         ether 00:04:76:a1:97:ef
 >         media: Ethernet autoselect (100baseTX <full-duplex>)
 >         status: active
 > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 >         options=8<VLAN_MTU>
 >         inet 79.165.217.154 netmask 0xfffff000 broadcast 255.255.255.255
 >         ether 00:50:8b:5f:f2:4a
 >         media: Ethernet autoselect (100baseTX <full-duplex>)
 >         status: active
 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 >         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
 >         inet6 ::1 prefixlen 128
 >         inet 127.0.0.1 netmask 0xff000000
 > gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
 >         tunnel inet 79.165.217.154 --> 212.248.60.138
 >         inet 192.168.0.254 --> 192.168.8.254 netmask 0xffffff00
 > gif3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
 >         tunnel inet 79.165.217.154 --> 81.195.226.74
 >         inet 192.168.0.254 --> 192.168.2.254 netmask 0xffffff00
 > 
 > [Home]gw# ifconfig gif14 create
 > [Home]gw# ifconfig gif14 tunnel 79.165.217.154 212.248.60.138
 > ifconfig: SIOCSIFPHYADDR: Can't assign requested address
 
 You already used that address on gif0.
 
 Edwin
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Sat Sep 13 22:35:59 UTC 2008 
State-Changed-Why:  
Both Edwin (public reply) and I (private reply) mentioned the same 
problem. Most likely this is the issue. Please reply to one of our 
emails to get this further if needed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127266 
>Unformatted:
