Subject: Re: gifconfig problems
To: Jon Buller <jonb@paclink.com>
From: None <itojun@iijlab.net>
List: current-users
Date: 12/30/1999 17:50:52
>Can someone tell me why this command:
>   gifconfig gif0 inet 198.145.117.53 206.123.31.102
>produces this output:
>   gifconfig: ioctl (SIOCSIFPHYADDR): no such interface
>when I try to hook up to the 6bone?  netstat -i produces the following
>lines (among others) so I think the interface really exists.
>
>Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs Colls
>ppp1  1500  <Link>                            163340    74   168396     0     0
>ppp1  1500  198.145.117   p03pm1.paclink.co   163340    74   168396     0     0
>gif0* 1280  <Link>                                 0     0        0     0     0
>gif0* 1280  3ffe:b00:c18: 3ffe:b00:c18:1fff        0     0        0     0     0
>
>and ifconfig produces:
>
>ppp1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>        inet 198.145.117.53 --> 198.145.117.22 netmask 0xffffff00 
>gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
>        inet6 3ffe:b00:c18:1fff::41 -> 3ffe:b00:c18:1fff::40 prefixlen 127
>
>Did I compile something wrong?  Am I doing something wrong?  Any hints?

	Works just fine for me on the following configuration:

>NetBSD turmeric.itojun.org 1.4P NetBSD 1.4P (TURMERIC.v6) #189: Sun Dec 26 21:45:33 PST 1999     itojun@turmeric.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/TURMERIC.v6 i386

	Could you try to investigate which part of kernel is generating
	the error?

itojun