Eugen Leitl
2012-Jan-10 16:54 UTC
[zfs-discuss] making network configuration sticky in nexenta core/napp-it
Sorry for an off-topic question, but anyone knows how to make network configuration (done with ifconfig/route add) sticky in nexenta core/napp-it? After reboot system reverts to 0.0.0.0 and doesn''t listen to /etc/defaultrouter Thanks.
Garrett D''Amore
2012-Jan-10 19:21 UTC
[zfs-discuss] making network configuration sticky in nexenta core/napp-it
put the configuration in /etc/hostname.if0 (where if0 is replaced by the name of your interface, such as /etc/hostname.e1000g0) Without an IP address in such a static file, the system will default to DHCP and hence override other settings. - Garrett On Jan 10, 2012, at 8:54 AM, Eugen Leitl wrote:> > Sorry for an off-topic question, but anyone knows how to make > network configuration (done with ifconfig/route add) sticky in > nexenta core/napp-it? > > After reboot system reverts to 0.0.0.0 and doesn''t listen > to /etc/defaultrouter > > Thanks. > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Matt Iavarone
2012-Jan-10 19:26 UTC
[zfs-discuss] making network configuration sticky in nexenta core/napp-it
On Tue, Jan 10, 2012 at 2:21 PM, Garrett D''Amore <Garrett.DAmore at nexenta.com> wrote:> put the configuration in /etc/hostname.if0 ?(where if0 is replaced by the name of your interface, such as /etc/hostname.e1000g0) > > Without an IP address in such a static file, the system will default to DHCP and hence override other settings. > > ? ? ? ?- Garrett > > On Jan 10, 2012, at 8:54 AM, Eugen Leitl wrote: > >> >> Sorry for an off-topic question, but anyone knows how to make >> network configuration (done with ifconfig/route add) sticky in >> nexenta core/napp-it? >> >> After reboot system reverts to 0.0.0.0 and doesn''t listen >> to /etc/defaultrouter >> >> Thanks.You may also have to disable network auto-magic: svcadm disable network/physical:nwam