Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 1997 23:07:12 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   ifconfig problem in -current
Message-ID:  <19970413230712.AV02454@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
After finally upgrading my machine to a post-Lite2 system, each
ifconfig for my SLIP interface causes an error message.  The system is
usable nevertheless, but the error message is annoying.  This didn't
happen before the Lite2 integration (the scripts remained the same).

This can easily be demonstrated:

uriah # netstat -ran
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
127.0.0.1          127.0.0.1          UH          6     2002       lo0
192.168            link#1             UC          0        0 
192.168.0.1        0:a0:24:55:7a:c3   UHLW        0       22       lo0

As one can see, the routing table is almost empty, except a local
network (that won't be routed to the outside).

uriah # ifconfig -a
vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:a0:24:55:7a:c3 
sl0: flags=9010<POINTOPOINT,LINK0,MULTICAST> mtu 552
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 

(All irrelevant interfaces omitted for brevity.)

Now, go and configure the SLIP interface:

uriah # ifconfig sl0 193.175.26.65 193.175.26.94 netmask 0xffffffff
ifconfig: ioctl (SIOCAIFADDR): File exists

Hmm, so what?  Which ``File'' (aka. route) does already exist?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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