Subject: Re: gifconfig problems
To: None <itojun@iijlab.net>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 12/31/1999 10:07:35
itojun@iijlab.net wrote:
>
> >> 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.
> >Do you have an ethernet NIC on that machine?
> >With no MAC address, I could not use gif tunnel device.
> >As my last try was about 2 months ago, the situation may have been
> >changed. But I got the same error, IIRC.
>
> If you are using recent sys/netinet6/in6_ifattach.c, you should have
> no problem with that. When no MAC address is available in the system
> the kernel will generate IPv6 interface identifier from
> MD5(hostname)
> as a last resort. you will get kernel printf() like this when you do
> gifconfig (visible via dmesg):
I hope I'm not speaking out of turn, but I think Jon would have been
using a pc532 which _definitely_ doesn't have any sort of on-board
ethernet capability. There is a SCSI-ethernet bridge available, but
last I spoke with Jon he was using PPP.
Sounds like the real question is "how recent is recent?" for
in6_ifattach.c...
Simon.