From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailhost.cotse.com ([216.112.42.58]) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 1A7nV0-0000DV-00 for ; Thu, 09 Oct 2003 22:59:26 -0400 Received: from www.cotse.net (www [216.112.42.60]) by mailhost.cotse.com (5.7.4/5.7.4) with ESMTP id h9A2wnnb091918 for ; Thu, 9 Oct 2003 22:58:49 -0400 (EDT) (envelope-from mattw@cotse.net) Received: (from nobody@localhost) by www.cotse.net (5.7.4/5.7.4) id h9A2wmUp027699; Thu, 9 Oct 2003 21:58:48 -0500 (EST) Received: from Cotse Members Webmail (authenticated user mattw) by www.cotse.net with HTTP; Thu, 9 Oct 2003 21:58:48 -0500 (EST) Message-ID: Date: Thu, 9 Oct 2003 21:58:48 -0500 (EST) X-Abuse-To: abuse@cotse.com Subject: Re: determining gateway From: "White, Matt" To: In-Reply-To: References: <20031009223629.GA3524@romuald.net.eu.org> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: www.cotse.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca X-Reply-To: mattw@cotse.net List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: I'm pretty sure that the .0 IP is the network address in this case--especially seeing it being followed by the netmask. If you have a static IP and your subnet mask is 255.255.255.0, it is pretty likely that the gateway starts with .1 with the first 3 octets being the same. For example, if my IP is 192.168.1.23, there's a good chance that the gateway is 192.168.1.1. Matt > The last line of output when I type route is: > default cdnt01-a-rtr.ve 0.0.0.0 UG 0 0 0 > eth0 > However I did find another line, which seems to contain the ip: > 68.37.216.0 * 255.255.252.0 U 0 0 0 > eth0 > I believe that 68.37.216.0 is the correct ip in this case? > > On Thu, 9 Oct 2003, Gregory Nowak wrote: > >> You want to use route. >> >> The line you're looking for starts with "default", and that should be >> the last line of output from route. >> The ip address right after "default" should be the address of your >> gateway. >> >> Greg >> >> >> On Thu, Oct 09, 2003 at 06:11:30PM -0400, Igor Gueths wrote: >> > Hi all. How do I go about determining the ip of the gateway my box >> is using? I tried using ifconfig but it doesn't seem to say what it >> is. >> > >> > _______________________________________________ >> > Speakup mailing list >> > Speakup@braille.uwo.ca >> > http://speech.braille.uwo.ca/mailman/listinfo/speakup >> >> -- >> Free domains: http://www.eu.org/ or mail dns-manager@EU.org >> >> >> _______________________________________________ >> Speakup mailing list >> Speakup@braille.uwo.ca >> http://speech.braille.uwo.ca/mailman/listinfo/speakup >> > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup -- Matt B. White Tel: 508.969.2836