determining gateway

White, Matt mattw at cotse.net
Thu Oct 9 22:58:48 EDT 2003


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

<quote who="Igor Gueths">
> 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 at braille.uwo.ca
>> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>> --
>> Free domains: http://www.eu.org/ or mail dns-manager at EU.org
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup at braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup


-- 
Matt B. White
Tel: 508.969.2836








More information about the Speakup mailing list