tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Changing the default subnet route.

In article <>,
Roy Marples  <> wrote:
>Following up with a test case which shows what I think is a kernel bug.
>I've tested this on NetBSD-4.0.1, 5.0BETA and 5.99.4 - all the same.
># ifconfig re0 alias
># ifconfig ral0 alias
># route change -ifp ral0
>change net
># ifconfig re0 -alias
># ifconfig re0 alias
>ifconfig: SIOCAIFADDR: File exists
># ifconfig re0
>re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 1 mtu
>address: 00:50:8d:bb:da:f8
>media: Ethernet autoselect (100baseTX full-duplex)
>status: active
>inet6 fe80::250:xxxx:xxxx:xxxx%re0 prefixlen 64 scopeid 0x1
>As you can now see, it's impossible to add or remove any address in the
> range to re0 until the subnet route itself is removed.
>If this is NOT considered to be a kernel bug then could someone please
>tell me how I should go about changing the connected route (as it's
>described in the source)?
>Attached is a simple shell test program.

Send-pr please.


Home | Main Index | Thread Index | Old Index