From mboxrd@z Thu Jan 1 00:00:00 1970 From: presotto@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] ipconfig MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ylpniprzncrhdfrfrplgkzipwl" Message-Id: <20010713125307.C4D4E199E4@mail.cse.psu.edu> Date: Fri, 13 Jul 2001 08:53:05 -0400 Topicbox-Message-UUID: ca1d22e2-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ylpniprzncrhdfrfrplgkzipwl Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit The options have to happen before any of the ppsitional arguments. You really want ip/ipconfig -g 192.168.0.1 ether /dev/ether0 192.168.0.2 255.255.255.0 Alternately, you could leave out the '-g 192.168.0.1' and just use echo -n 'add 0 0 192.168.0.1' > /net/iproute I think the ipconfig is easier but the other lets you change it later. --upas-ylpniprzncrhdfrfrplgkzipwl Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Fri Jul 13 05:33:23 EDT 2001 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Fri Jul 13 05:33:21 EDT 2001 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.16.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 71CEB199E6; Fri, 13 Jul 2001 05:33:09 -0400 (EDT) Received: from mail-gw.im.se (mail-gw.im.se [193.14.22.222]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 1B207199C0 for <9fans@cse.psu.edu>; Fri, 13 Jul 2001 05:32:43 -0400 (EDT) Received: from MSXSTH1.im.se (msxsth1.im.se [193.14.16.108]) by mail-gw.im.se (8.11.0/8.11.0) with ESMTP id f6D9OvF36276 for <9fans@cse.psu.edu>; Fri, 13 Jul 2001 11:24:57 +0200 Received: by MSXSTH1.im.se with Internet Mail Service (5.5.2653.19) id ; Fri, 13 Jul 2001 11:31:59 +0200 Message-ID: From: Grunditz Mikael - migu To: "9fans@cse.psu.edu (E-mail)" <9fans@cse.psu.edu> MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C10B7E.A460D9C0" Subject: [9fans] ipconfig Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.5 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Fri, 13 Jul 2001 11:31:49 +0200 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10B7E.A460D9C0 Content-Type: text/plain; charset="iso-8859-1" Does ip/ipconfig ether /dev/ether0 192.168.0.2 -g 192.168.0.1 255.255.255.0 give me an interface with 192.168.0.2 and with default gateway 192.168.0.1 ? Or how do I set my default gateway ? /Michael Grunditz ------_=_NextPart_001_01C10B7E.A460D9C0 Content-Type: text/html; charset="iso-8859-1" ipconfig

Does ip/ipconfig ether /dev/ether0 192.168.0.2 -g 192.168.0.1 255.255.255.0

give me an interface with 192.168.0.2 and with default gateway 192.168.0.1 ?

Or how do I set my default gateway ?

/Michael Grunditz

------_=_NextPart_001_01C10B7E.A460D9C0-- --upas-ylpniprzncrhdfrfrplgkzipwl--