Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 16:16:26 +0200
From:      "Johan Hendriks" <Johan@double-l.nl>
To:        "Miroslav Lachman" <000.fbsd@quip.cz>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: FreeBSD 7.0 jail and Samba 3
Message-ID:  <57200BF94E69E54880C9BB1AF714BBCB5DDDE7@w2003s01.double-l.local>
References:  <47F54BB3.1080801@skoberne.net><48071F0E.2020002@skoberne.net>	<57200BF94E69E54880C9BB1AF714BBCB5DDDB1@w2003s01.double-l.local>	<480DB0E2.3070202@skoberne.net><60553.203.127.42.92.1208860527.squirrel@www.superhero.nl>	<480EFF60.3040901@skoberne.net>	<57200BF94E69E54880C9BB1AF714BBCB5DDDE0@w2003s01.double-l.local>	<481072B5.8020607@skoberne.net>	<57200BF94E69E54880C9BB1AF714BBCB5DDDE1@w2003s01.double-l.local> <481074A7.1080504@skoberne.net> <48107AE0.9010903@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
>> Hey,
>>=20
>>> ifconfig_rl0_alias0=3D"192.168.15.201 netmask 255.255.255.0"
>>>
>>> the mask of an alias ipadres needs to be 32 bits.
>>> I do not now if this solves your problem but it needs to be 32 bits.
>>>
>>> ifconfig_rl0_alias0=3D"192.168.15.201 netmask 255.255.255.255"

>Can you explain why it needs to be 32 bits?
>I have both setups (24 and 32) and both seems to works fine.
>(I am not running Samba)

>> I tried with 24 bits - it doesn't work one way or the other.
>>=20
>> Thanks,
>> Nejc

This is from the man page of ifconfig and there it is

alias   Establish an additional network address for this interface.
This
	     is sometimes useful when changing network numbers, and one
wishes
	     to accept packets addressed to the old interface.	If the
address
	     is on the same subnet as the first network address for this
	     interface, a non-conflicting netmask must be given.
Usually
	     0xffffffff is most appropriate.




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