From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 21 Jul 2010 09:03:39 -0700 Message-ID: From: Akshat Kumar To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] auth server with two NICs Topicbox-Message-UUID: 40eac968-ead6-11e9-9d60-3106f5b1d025 also, I should add that I cannot ping outside of the local network, on the card attached to the public network, even if I specify IP. so... there's some problem in the setup here, it seems. On Wed, Jul 21, 2010 at 12:58 AM, Akshat Kumar wrote: > I have an auth server with two cards, > ether0 and ether1; it's connected to > an fs server on ether1 and a public > network on ether0 - it has to get root > from the fs server: > > root is from il -g 192.168.100.1 ether /net/ether1 192.168.100.2 255.255.255.0 > > in /cfg/$sys/cpurc, I have the following: > > ip/ipconfig -g 192.168.2.1 ether /net/ether0 192.168.2.141 255.255.255.0 > ip/ipconfig -g 192.168.100.1 ether /net/ether1 192.168.100.2 255.255.255.0 > > I get the root fs just fine, and I can ping > nodes on both networks (fs on the fs net, > my laptop on the public net) just fine. > > now, I have one concern and one problem - > the concern: only ether0 is bound into /net, > ether1 doesn't show up in there. > the problem: dns on the public network > doesn't work - I get dns failure when trying > to resolve google.com, for example - I have > described both networks as separate ipnets > in /lib/ndb/local, with a specification of dns > for the public network, but it doesn't seem > to take effect. > > Is there some more proper way of dealing > with this? Anything I obvious that I might > be doing wrong? > > > Thanks, > ak >