Article View: aus.computers.linux
Article #57819Re: IP addresses
From: Jamie Lenehan
Date: Tue, 20 Aug 1996 00:00
Date: Tue, 20 Aug 1996 00:00
37 lines
1998 bytes
1998 bytes
In article <4v9mrd$hs6@hobyah.cc.uq.oz.au>, Robert Paul Pham <zzppham@dingo.cc.uq.oz.au> wrote: >terry@baldric.no.itg.telecom.com.au (Terry Dawson) writes: > >>: I had thought this too actually, but what I find was that as soon as I >>: setup a default route to my ISP (I have a static IPaddress), my >>: home network stopped working. I remember being annoyed by this for a while, especially since the machine with the modem has no keyboard or video card (or monitor or floppy drives)... >>It that happened then you didn't have your network route in place. >>Each host should have a network route and a default route. > >I would really appreciate some more elaborate wisdom :-). >Being a tcp/ip newbie I tried everything, but as soon as a >default route is setup to my ISP, all packets from other machines just >seems to head straight down sl0 and into oblivion. Do you mean I can >setup more than one default route on the Linux box? The default route is only used when there are no other routes which match. So you want to have a route which points to your local network. >I would really appreciate an example of an /sbin/route command to do >this, for the following machines 192.168.100.100 & 192.168.100.101. /sbin/route add -net 192.168.100.0 eth0 should do. (Anything to go to 192.168.100.x will be sent to eth0, otherwise it'll go out the default route...) -- Jamie Lenehan lenehan@nynaeve.apana.org.au (Home) lenehan@cs.latrobe.edu.au (Work)
Technical Details
Message-ID:
<4vcc2o$1d6@nynaeve.apana.org.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4upvqn$iq3@lynx.aba.net.au> <4v1g4c$pn8@hobyah.cc.uq.oz.au> <4v8l9m$ha8@cdn_news.telecom.com.au> <4v9mrd$hs6@hobyah.cc.uq.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,a83d94a1a2d7e05f X-Google-Attributes: gid102983,public From: lenehan@nynaeve.apana.org.au (Jamie Lenehan) Subject: Re: IP addresses Date: 1996/08/20 Message-ID: <4vcc2o$1d6@nynaeve.apana.org.au> X-Deja-AN: 175631416 references: <4upvqn$iq3@lynx.aba.net.au> <4v1g4c$pn8@hobyah.cc.uq.oz.au> <4v8l9m$ha8@cdn_news.telecom.com.au> <4v9mrd$hs6@hobyah.cc.uq.oz.au> organization: none newsgroups: aus.computers.linux