Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2011 16:18:37 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Two problems still present in RC3
Message-ID:  <4EE4C9CD.3000906@gmail.com>
In-Reply-To: <20111209224610.GA13369@icarus.home.lan>
References:  <201112090913.CAA03333@lariat.net> <4EE1DEAD.2040108@gmail.com> <201112091731.KAA08794@lariat.net> <20111209224610.GA13369@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick schreef:
> On Fri, Dec 09, 2011 at 10:30:43AM -0700, Brett Glass wrote:
>> At 03:10 AM 12/9/2011, Johan Hendriks wrote:
>>
>>> After a /etc/netstart, i get the following:
>>> ifconfig: create: bad value.
>> I get the "create: bad value" messages as well. What's more, if I
>> change rc.conf to assign variables of the form ifconfig_*, such as
>>
>> ifconfig_re0_1="inet 192.168.0.1"
>> ifconfig_re0_1_alias0="inet 192.168.0.2"
>> ...
>>
>> instead of using an ip_addrs_* variable, I still get those messages.
>>
>> I have confirmed that if I run /etc/netstart after booting, I lose
>> connectivity just as you do.
>>
>> I recognize the challenge of specifying the network configuration in
>> a declaratory rather than a procedural environment, because there
>> are so many contingencies and possible combinations of parameters.
>> But there doesn't seem to be any combination of variables I can
>> assign in rc.conf that doesn't cause errors when I try to create
>> VLANs.
> I would advise everyone experiencing ""those messages"" or any anomalies
> of this sort to please set rc_debug="yes" in /etc/rc.conf and make sure
> they have serial or firewire console set up.  If you don't have some
> form of remote console, then this is going to be difficult to debug.
> See rc.conf(5) for what the option does and therefore why serial console
> will be needed.
>
> The information that's needed is what ifconfig commands are being issued
> on your systems.  This cannot be easily determined from rc.conf variables
> like ifconfig_snakes_in_the_grass="rocks moss", hence the above request.
>
> "Your" means Brett Glass and Johan Hendriks.
>
> Finally, please keep in mind the possibility that both of you are
> experiencing different problems.  I have no evidence at this point to
> support or refute that claim, but it's something that needs to be
> considered.
>
Ok did some test on the backup machine, i must do it remotely, so no 
serial access.

Lagg0 consist of two interfaces em0 and em1.
The machine booted with the following in /etc/rc.conf, and all is fine 
this way.

ifconfig_em0="up"
ifconfig_em1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 192.168.100.1/24"


I changed the ip adress from 192.168.100.1 to 192.168.100.2 in 
/etc/rc.conf, and added rc_debug="yes"
ifconfig_em0="up"
ifconfig_em1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 192.168.100.2/24"

I did a /etc/netstart
nas01-bw ~ # /etc/netstart
/etc/rc.d/devd: DEBUG: checkyesno: devd_enable is set to YES.
devd already running? (pid=1767).
/etc/rc.d/hostid: DEBUG: checkyesno: hostid_enable is set to YES.
/etc/rc.d/hostid: DEBUG: run_rc_command: doit: hostid_start
/etc/rc.d/hostid: DEBUG: checkyesno: rc_startmsgs is set to YES.
Setting hostuuid: 9abf4e13-9a77-b31d-9a77-b31d9fbfee13.
/etc/rc.d/hostid: DEBUG: checkyesno: rc_startmsgs is set to YES.
Setting hostid: 0xf505f6a8.
/etc/rc.d/hostname: DEBUG: run_rc_command: doit: hostname_start
/etc/rc.d/ipmon: DEBUG: checkyesno: ipmon_enable is set to NO.
/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
/etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to NO.
/etc/rc.d/ipfs: DEBUG: checkyesno: ipfs_enable is set to NO.
/etc/rc.d/sppp: DEBUG: run_rc_command: doit: sppp_start
/etc/rc.d/netif: DEBUG: run_rc_command: doit: network_start
ifconfig: create: bad value
/etc/rc.d/netif: DEBUG: Cloned:
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
ifconfig: SIOCSLAGGPORT: Device busy
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
Starting Network: lo0 em0 em1 bge0 pflog0 pfsync0 lagg0.
/etc/rc.d/netif: DEBUG: checkyesno: rc_startmsgs is set to YES.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=3<RXCSUM,TXCSUM>
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0xe
         inet 127.0.0.1 netmask 0xff000000
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet6 fe80::21b:21ff:fed4:77fb%em0 prefixlen 64 scopeid 0x5
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect (1000baseT <full-duplex>)
         status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet6 fe80::21b:21ff:fed4:749b%em1 prefixlen 64 scopeid 0x6
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect (1000baseT <full-duplex>)
         status: active
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=c01db<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,POLLING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
         ether 00:23:7d:f4:4a:55
         inet6 fe80::223:7dff:fef4:4a55%bge0 prefixlen 64 scopeid 0x7
         inet 192.168.1.17 netmask 0xffffff00 broadcast 192.168.1.255
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect <flowcontrol> (none)
         status: no carrier
pflog0: flags=0<> metric 0 mtu 33152
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pfsync0: flags=0<> metric 0 mtu 1500
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         syncpeer: 0.0.0.0 maxupd: 128
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255
         inet6 fe80::21b:21ff:fed4:77fb%lagg0 prefixlen 64 scopeid 0xf
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect
         status: active
         laggproto lacp
         laggport: em1 flags=0<>
         laggport: em0 flags=0<>
/etc/rc.d/netif: DEBUG: The following interfaces were not configured:
/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
/etc/rc.d/ipsec: DEBUG: checkyesno: ipsec_enable is set to NO.
/etc/rc.d/ppp: DEBUG: checkyesno: ppp_enable is set to NO.
/etc/rc.d/ipfw: DEBUG: checkyesno: firewall_enable is set to NO.
/etc/rc.d/routing: DEBUG: run_rc_command: doit: routing_start doall
add net default: gateway 192.168.1.254
/etc/rc.d/routing: DEBUG: checkyesno: icmp_bmcastecho is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: icmp_drop_redirect is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: icmp_log_redirect is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: gateway_enable is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: forward_sourceroute is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: accept_sourceroute is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: arpproxy_all is set to NO.
route: writing to routing socket: File exists
add net ::ffff:0.0.0.0: gateway ::1: route already in table
route: writing to routing socket: File exists
add net ::0.0.0.0: gateway ::1: route already in table
/etc/rc.d/routing: DEBUG: checkyesno: ipv6_gateway_enable is set to NO.
route: writing to routing socket: File exists
add net fe80::: gateway ::1: route already in table
route: writing to routing socket: File exists
add net ff02::: gateway ::1: route already in table
/etc/rc.d/routing: DEBUG: checkyesno: ipv6_gatew
ay_enable is set to NO.
/etc/rc.d/mroute6d: DEBUG: checkyesno: mroute6d_enable is set to NO.
/etc/rc.d/route6d: DEBUG: checkyesno: route6d_enable is set to NO.
/etc/rc.d/mrouted: DEBUG: pid file (/var/run/mrouted.pid): not readable.
/etc/rc.d/mrouted: DEBUG: checkyesno: mrouted_enable is set to NO.
/etc/rc.d/routed: DEBUG: checkyesno: routed_enable is set to NO.
/etc/rc.d/nisdomain: DEBUG: run_rc_command: doit: nisdomain_start

As you can see i get the bad value, and secondly, my ipadress of lagg0 
has not changed, it is still 192.168.100.1

nas01-bw ~ # ifconfig lagg0
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255
         inet6 fe80::21b:21ff:fed4:77fb%lagg0 prefixlen 64 scopeid 0xf
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect
         status: active
         laggproto lacp
         laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
         laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>

The strange thing is i can not get rid off the bad value error anymore.

i changed the line in /etc/rc.conf to the following as suggested and add 
the inet statement
ifconfig_em0="up"
ifconfig_em1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 inet 
192.168.100.2/24"

still the same after a /etc/netstart

nas01-bw ~ # /etc/netstart
/etc/rc.d/devd: DEBUG: checkyesno: devd_enable is set to YES.
devd already running? (pid=1767).
/etc/rc.d/hostid: DEBUG: checkyesno: hostid_enable is set to YES.
/etc/rc.d/hostid: DEBUG: run_rc_command: doit: hostid_start
/etc/rc.d/hostid: DEBUG: checkyesno: rc_startmsgs is set to YES.
Setting hostuuid: 9abf4e13-9a77-b31d-9a77-b31d9fbfee13.
/etc/rc.d/hostid: DEBUG: checkyesno: rc_startmsgs is set to YES.
Setting hostid: 0xf505f6a8.
/etc/rc.d/hostname: DEBUG: run_rc_command: doit: hostname_start
/etc/rc.d/ipmon: DEBUG: checkyesno: ipmon_enable is set to NO.
/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
/etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to NO.
/etc/rc.d/ipfs: DEBUG: checkyesno: ipfs_enable is set to NO.
/etc/rc.d/sppp: DEBUG: run_rc_command: doit: sppp_start
/etc/rc.d/netif: DEBUG: run_rc_command: doit: network_start
ifconfig: create: bad value
/etc/rc.d/netif: DEBUG: Cloned:
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
ifconfig: SIOCSLAGGPORT: Device busy
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
Starting Network: lo0 em0 em1 bge0 pflog0 pfsync0 lagg0.
/etc/rc.d/netif: DEBUG: checkyesno: rc_startmsgs is set to YES.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=3<RXCSUM,TXCSUM>
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0xe
         inet 127.0.0.1 netmask 0xff000000
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet6 fe80::21b:21ff:fed4:77fb%em0 prefixlen 64 scopeid 0x5
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect (1000baseT <full-duplex>)
         status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet6 fe80::21b:21ff:fed4:749b%em1 prefixlen 64 scopeid 0x6
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect (1000baseT <full-duplex>)
         status: active
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=c01db<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,POLLING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
         ether 00:23:7d:f4:4a:55
         inet6 fe80::223:7dff:fef4:4a55%bge0 prefixlen 64 scopeid 0x7
         inet 192.168.1.17 netmask 0xffffff00 broadcast 192.168.1.255
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect <flowcontrol> (none)
         status: no carrier
pflog0: flags=0<> metric 0 mtu 33152
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pfsync0: flags=0<> metric 0 mtu 1500
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         syncpeer: 0.0.0.0 maxupd: 128
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255
         inet6 fe80::21b:21ff:fed4:77fb%lagg0 prefixlen 64 scopeid 0xf
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect
         status: active
         laggproto lacp
         laggport: em1 flags=0<>
         laggport: em0 flags=0<>
/etc/rc.d/netif: DEBUG: The following interfaces were not configured:
/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
/etc/rc.d/ipsec: DEBUG: checkyesno: ipsec_enable is set to NO.
/etc/rc.d/ppp: DEBUG: checkyesno: ppp_enable is set to NO.
/etc/rc.d/ipfw: DEBUG: checkyesno: firewall_enable is set to NO.
/etc/rc.d/routing: DEBUG: run_rc_command: doit: routing_start doall
add net default: gateway 192.168.1.254
/etc/rc.d/routing: DEBUG: checkyesno: icmp_bmcastecho is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: icmp_drop_redirect is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: icmp_log_redirect is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: gateway_enable is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: forward_sourceroute is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: accept_sourceroute is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: arpproxy_all is set to NO.
route: writing to routing socket: File exists
add net ::ffff:0.0.0.0: gateway ::1: route already in table
route: writing to routing socket: File exists
add net ::0.0.0.0: gateway ::1: route already in table
/etc/rc.d/routing: DEBUG: checkyesno: ipv6_gateway_enable is set to NO.
route: writing to routing socket: File exists
add net fe80::: gateway ::1: route already in table
route: writing to routing socket: File exists
add net ff02::: gateway ::1: route already in table
/etc/rc.d/routing: DEBUG: checkyesno: ipv6_gateway_enable is set to NO.
/etc/rc.d/mroute6d: DEBUG: checkyesno: mroute6d_enable is set to NO.
/etc/rc.d/route6d: DEBUG: checkyesno: route6d_enable is set to NO.
/etc/rc.d/mrouted: DEBUG: pid file (/var/run/mrouted.pid): not readable.
/etc/rc.d/mrouted: DEBUG: checkyesno: mrouted_enable is set to NO.
/etc/rc.d/routed: DEBUG: checkyesno: routed_enable is set to NO.
/etc/rc.d/nisdomain: DEBUG: run_rc_command: doit: nisdomain_start

The lagg interface still stays at 192.168.100.1

if i comment out cloned_interfaces="lagg0"  i get the following after a 
/etc/netstart
No bad value, but the following
ifconfig: SIOCSLAGGPORT: Device busy


ifconfig_em0="up"
ifconfig_em1="up"
#cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 inet 
192.168.100.2/24"


nas01-bw ~ # /etc/netstart
/etc/rc.d/devd: DEBUG: checkyesno: devd_enable is set to YES.
devd already running? (pid=1767).
/etc/rc.d/hostid: DEBUG: checkyesno: hostid_enable is set to YES.
/etc/rc.d/hostid: DEBUG: run_rc_command: doit: hostid_start
/etc/rc.d/hostid: DEBUG: checkyesno: rc_startmsgs is set to YES.
Setting hostuuid: 9abf4e13-9a77-b31d-9a77-b31d9fbfee13.
/etc/rc.d/hostid: DEBUG: checkyesno: rc_startmsgs is set to YES.
Setting hostid: 0xf505f6a8.
/etc/rc.d/hostname: DEBUG: run_rc_command: doit: hostname_start
/etc/rc.d/ipmon: DEBUG: checkyesno: ipmon_enable is set to NO.
/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
/etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to NO.
/etc/rc.d/ipfs: DEBUG: checkyesno: ipfs_enable is set to NO.
/etc/rc.d/sppp: DEBUG: run_rc_command: doit: sppp_start
/etc/rc.d/netif: DEBUG: run_rc_command: doit: network_start
/etc/rc.d/netif: DEBUG: Cloned:
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
ifconfig: SIOCSLAGGPORT: Device busy
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set 
to NO.
Starting Network: lo0 em0 em1 bge0 pflog0 pfsync0 lagg0.
/etc/rc.d/netif: DEBUG: checkyesno: rc_startmsgs is set to YES.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=3<RXCSUM,TXCSUM>
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0xe
         inet 127.0.0.1 netmask 0xff000000
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet6 fe80::21b:21ff:fed4:77fb%em0 prefixlen 64 scopeid 0x5
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect (1000baseT <full-duplex>)
         status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet6 fe80::21b:21ff:fed4:749b%em1 prefixlen 64 scopeid 0x6
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect (1000baseT <full-duplex>)
         status: active
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=c01db<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,POLLING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
         ether 00:23:7d:f4:4a:55
         inet6 fe80::223:7dff:fef4:4a55%bge0 prefixlen 64 scopeid 0x7
         inet 192.168.1.17 netmask 0xffffff00 broadcast 192.168.1.255
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect <flowcontrol> (none)
         status: no carrier
pflog0: flags=0<> metric 0 mtu 33152
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pfsync0: flags=0<> metric 0 mtu 1500
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         syncpeer: 0.0.0.0 maxupd: 128
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
         ether 00:1b:21:d4:77:fb
         inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255
         inet6 fe80::21b:21ff:fed4:77fb%lagg0 prefixlen 64 scopeid 0xf
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: Ethernet autoselect
         status: active
         laggproto lacp
         laggport: em1 flags=0<>
         laggport: em0 flags=0<>
/etc/rc.d/netif: DEBUG: The following interfaces were not configured:
/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
/etc/rc.d/ipsec: DEBUG: checkyesno: ipsec_enable is set to NO.
/etc/rc.d/ppp: DEBUG: checkyesno: ppp_enable is set to NO.
/etc/rc.d/ipfw: DEBUG: checkyesno: firewall_enable is set to NO.
/etc/rc.d/routing: DEBUG: run_rc_command: doit: routing_start doall
add net default: gateway 192.168.1.254
/etc/rc.d/routing: DEBUG: checkyesno: icmp_bmcastecho is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: icmp_drop_redirect is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: icmp_log_redirect is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: gateway_enable is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: forward_sourceroute is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: accept_sourceroute is set to NO.
/etc/rc.d/routing: DEBUG: checkyesno: arpproxy_all is set to NO.
route: writing to routing socket: File exists
add net ::ffff:0.0.0.0: gateway ::1: route already in table
route: writing to routing socket: File exists
add net ::0.0.0.0: gateway ::1: route already in table
/etc/rc.d/routing: DEBUG: checkyesno: ipv6_gateway_enable is set to NO.
route: writing to routing socket: File exists
add net fe80::: gateway ::1: route already in table
route: writing to routing socket: File exists
add net ff02::: gateway ::1: route already in table
/etc/rc.d/routing: DEBUG: checkyesno: ipv6_gateway_enable is set to NO.
/etc/rc.d/mroute6d: DEBUG: checkyesno: mroute6d_enable is set to NO.
/etc/rc.d/route6d: DEBUG: checkyesno: route6d_enable is set to NO.
/etc/rc.d/mrouted: DEBUG: pid file (/var/run/mrouted.pid): not readable.
/etc/rc.d/mrouted: DEBUG: checkyesno: mrouted_enable is set to NO.
/etc/rc.d/routed: DEBUG: checkyesno: routed_enable is set to NO.
/etc/rc.d/nisdomain: DEBUG: run_rc_command: doit: nisdomain_start

I hope this helps.
The night i was struggling with the other machine i was able to get rid 
of the bad value, but it did not set the ipaddres, the same thing i see now.
So, the ipadress is not changeable by doing a /etc/netstart on the 
machine, and only a reboot sets the new address.
And it works with no problems what so ever.

regards
Johan Hendriks










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