Hi,
I don’t know if it’s normal but it looks strange.
The problem occurs when we program ip aliases.
First try something like:
ifconfig en0 82.38.26.35 up
ifconfig en0 172.20.26.11 alias
route add default 82.38.1.254
Now write the following net.cfg
nto network config file v1.2
version v1.2
[global]
hostname COMBI2_2
domain Systeme
[en0]
type ethernet
mode manual
manual_ip 172.20.26.15
manual_netmask 255.255.0.0
then invoke netmanager and ifconfig
the result is:
lo0: …
en0: …
inet 172.20.26.11 netmask 0xffff0000 broadcast 172.20.255.255
so the secondary ip address has replaced the primary one and the one I
wanted to set hasn’t been taken in account.
Now, go back to the original configuration
write the following configuration
nto network config file v1.2
version v1.2
[global]
hostname COMBI2_2
domain Systeme
[en0]
type ethernet
mode manual
manual_ip 172.20.26.15
manual_netmask 255.255.0.0
alias 172.20.26.40 255.255.0.0
invoke netmanager then ifconfig
the result is:
en0: …
inet 172.20.26.11 netmask 0xffff0000 broadcast 172.20.255.255
inet alias 172.20.26.40 netmask 0xffff0000 broadcat 172.20.255.255
So the first secondary address replaced the primary one and my new
aliases was set.
if I invoke again netmanager (without any changes of course!) the result is
en0: …
inet 172.20.26.40 netmask 0xffff0000 broadcast 172.20.255.255
If invoke again netmanager the result is
en0: …
inet 172.20.26.15 netmask 0xffff0000 broadcast 172.20.255.255
inet 172.20.26.40 netmask 0xffff0000 broadcast 1720.20.255.255
which corresponds finally to the net.cfg configuration.
So be mad and let’s invoke netmanager again!
the result is the same!!
So, Do I have to invoke netmanager until no changes occur on stack
configuration ?? :-\
Alain.