From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,981367ea5845adef X-Google-Attributes: gidfee84,public From: John Hill Subject: Re: default route Date: 1997/05/06 Message-ID: <336F5B1D.167E@hep.phy.cam.ac.uk>#1/1 X-Deja-AN: 239765704 References: <336E96EF.72EE850E@sover.net> Organization: University of Cambridge Newsgroups: comp.unix.osf.osf1 Unix Weenie wrote: > > Been trying to get used to D-UX, not used to configuring through the > gui, > it has me running in circles. The documentation has me kind of running > in circles > as well. > > Perhaps someone could post the route add command string that I could use > to > get the D-UX to use 192.168.1.2 as the default route to get internet > from ? > > I have it set on ethernet as 192.168.1.4, and as the last configuration > attempt left it, > I could use nslookup, but couldn't ftp, irc, or use netscape. Kinda > boggled me. > > I have my /etc/resolv.conf set up > > I would think that a route add default 192.168.1.2 1 type of string > should do it, > but I'm just learning. > > Thanks for your time :) > > Jeff > > ~~~~~~There are two major products that come out of > Berkeley~~~~~~~~ > ~~~~LSD & BSD~~~~ > }}}}}}}}}}}}}We do not believe this to be a > coincidence{{{{{{{{{{{{{ > +++++ > **************++++=== I am coffee of Borg > ===++++************** > }}}}}}}}}}}} Instant is futile {{{{{{{{{{{{ > ~~~@@@ You will be percolated @@@~~~ > |||||||^^^^^^^^^^^^^^^^^^^^|||||||| You don't say which version of D.U. you are running. Under V3.2G, I've always used "netsetup" and answered the questions. It appears that the default router information is in /etc/routes. You need a line: default 192.168.1.2 in this file. The command: route add default 192.168.1.2 should work, but if my understanding is right the information will not be preserved across a reboot. Regards, John Hill -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Dr. John C. Hill University of Cambridge, + + E-mail: hill@hep.phy.cam.ac.uk Cavendish Laboratory, + + Phone: +44-1223-337243 Madingley Road, + + Fax: +44-1223-353920 Cambridge, CB3 0HE, U.K. + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++