Re: kern/87506 : [PATCH] Fix alias support on vr interfaces

From: Tom McLaughlin <tmclaugh_at_sdf.lonestar.org>
Date: Thu, 20 Oct 2005 19:16:22 -0000 (UTC)
> On Thursday 20 October 2005 11:15 am, John Baldwin wrote:
>> On Thursday 20 October 2005 10:23 am, Tom McLaughlin wrote:
<snip>
> I'm also seeing this too along with the following.
>
> I'm not sure if this is related, but I'm seeing the following on
> RELENG_6 and CURRENT, but and older RELENG_5 as of ~2 months ago
> doesn't show this problem.
> I'm trying to setup my workstation with a normal DHCP'd address
> and an alias IP for a jail running on the system, but the alias
> setting wipes out all the other addresses on the interface.
> in /etc/rc.conf:
> ifconfig_rl0="DHCP"
> ifconfig_rl0_alias0="inet 192.168.1.10 netmask 255.255.255.255"
>
> I've checked the rc boot order (on RELENG_6 and CURRENT) and it seems
> correct:
> netif
> dhclient
> netif
>
> I narrowed it down to:
> dhclient rl0
> ifconfig rl0 inet 192.168.1.11 netmask 0xffffffff alias
> [dhclient prints a message here saying connection closed and exiting]
>
> All of the other addresses on the card are removed.
> I'm also seeing this on dc.  So thinking it to be a problem in
> ifconfig I copied over the version from my RELENG_5 box, and that did
> the same thing...so this seems to be present several of the network
> drivers in RELENG_6/CURRENT.
>
>
>
> --
> Anish Mistry
>

Yup, that's exactly how I found the problem.

Tom



-- 
| tmclaugh at sdf.lonestar.org             tmclaugh at FreeBSD.org |
| FreeBSD                                   http://www.FreeBSD.org |
| BSD#                    http://www.mono-project.com/Mono:FreeBSD |
| PGP Key    http://people.FreeBSD.org/~tmclaugh/TomMclaughlin.asc |
Received on Thu Oct 20 2005 - 17:16:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC