From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net From: erik quanstrom Date: Mon, 23 Jan 2012 23:23:50 -0500 Message-ID: <7f6f0198b820ffbfc1b36c28d3a2bbd0@chula.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] two nics (alternating) vs dns config Topicbox-Message-UUID: 6103e8dc-ead7-11e9-9d60-3106f5b1d025 > I've bound '#l1' to /net (not /net.alt) in /lib/namespace.$node > and /cfg/$node/cpurc. The two static ipconfigs work. > I can ping out and drawterm in. > > The only issue is dns. DNS always uses /net/ether0. > How do I make it use /net/ether1 when needed? > Would the /net.alt style config work better? > > My /lib/ndb/local describes both networks with the same sys name. > MAC addresses differentiate. 'ndb/query sys $node' returns the > right set when I'm home, but DNS doesn't use it. what you've said about dns(8) isn't quite right. it doesn't use the ethernet devices directly, but rather through the ip stack. so you can use the usual tools to change the default route in the ip stack (ip/ipconfig) and dns will be none the wiser. - erik