Subject: Re: writing to routing socket: File exists
To: None <itojun@iijlab.net>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 12/04/2000 23:32:52
>	for me these two commands work fine, and I have no problem.
>
>	could you please do the following?
>	- boot in singleuser mode

done.

>	- mount -a

no problem.

>	- netstat -rn

# netstat -rnfinet (since inet6 just makes this longer :)
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface

>	- ifconfig lo0 127.0.0.1

fine.

>	- netstat -rn
>		see if we have 127/8 here.

# netstat -rnfinet
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface
127                127.0.0.1          U           0        0  33228  lo0

>	- route add -inet 127.0.0.0 -netmask 0xff000000 127.0.0.1 -reject
>		see if we see any error here.

# route add -inet 127.0.0.0 -netmask 0xff000000 127.0.0.1 -reject
writing to routing socket: File exists
add net 127.0.0.0: gateway 127.0.0.1: File exists

>	- netstat -rn

# netstat -rnfinet
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface
127                127.0.0.1          U           0        0  33192  lo0

>
>	if the result is different from what we see on normal multiuser
>	reboot, i think there's some obsolete configuration leftover.

done.  on a alpha (i halted, and then did "boot -fl -s") and also on a
sparc (there i did "reboot netbsd -s") and they were exactly the same.
my other laptop is probably the same (after all, the source is all the
same vintage), but i didn't check today.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."