From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 06:15:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E64416A4CE for ; Thu, 3 Jun 2004 06:15:15 -0700 (PDT) Received: from boerse-berlin-bremen.de (h-213.61.228.202.host.de.colt.net [213.61.228.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C64943D5A for ; Thu, 3 Jun 2004 06:15:14 -0700 (PDT) (envelope-from stephan.yaraghchi@boerse-berlin-bremen.de) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 3 Jun 2004 15:15:10 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE: Need Help on Win98 Thread-Index: AcRJbMxuHpN0EvD1Scy2b+F5jJWr4Q== From: "Yaraghchi, Stephan" To: cc: guanhui.ho@sheraton.com Subject: RE: Need Help on Win98 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 13:15:15 -0000 > Message: 30 > Date: Thu, 3 Jun 2004 00:52:26 -0400=20 > From: "Ho, Guan hui" > Subject: Need Help on Win98 > To: freebsd-questions@freebsd.org > Message-ID: > Content-Type: text/plain; charset=3D"iso-8859-1" >=20 > I need help on how to make the routing persistent in Win98. =20 > I have my PC > connected to a network that has two separate routers=20 > connected to the same > network. One of the routers is for surfing the internet and=20 > the other is > for connectivity to the VPN email system. > =20 > I used to change the gateway and restart the PC depending on=20 > what I need to > access. Not a practical solution. I now can do so by going=20 > to the MSDOS > prompt and type in the routing command. Please find example below.=20 > =20 > c:\>route add 20.30.0.0 mask 255.0.0.0 155.123.111.9 > =20 > c:\>route add 195.144.0.0 mask 255.0.0.0 155.123.111.9 > =20 > =20 > This works perfectly but only problem is that I have to keep=20 > typing it every > time I start the PC. Microsoft does not support the -p=20 > command on the above > in 95/98 system. For my XP machine, I just need to add the=20 > -p after "add" > in both these lines and it will stay permanently even if you=20 > restart the > system. > =20 > I now create a shortcut on the desktop to point to a batch=20 > file I created. > The batch has the route instruction in it. All I have to do=20 > now is to click > the icon on the desktop when I restart my PC. Not a bad=20 > solution but would > be better if this can be put into a startup file of Windows. =20 > =20 > Which INI file is the right one to use and how do I put the=20 > line in it to > call the batch file? > =20 > Thank you. > =20 > Guan > =20 > Ho Guan Hui > Reception Manager=20 > Sheraton Utama Hotel > Brunei Darussalam > Email: guanhui.ho@sheraton.com > Tel : 673 2244272 > Fax : 673 2234178 > =20 >=20 > This electronic message transmission contains information=20 > from the Company that may be proprietary, confidential and/or=20 > privileged. > The information is intended only for the use of the=20 > individual(s) or entity named above. If you are not the=20 > intended recipient, be > aware that any disclosure, copying or distribution or use of=20 > the contents of this information is prohibited. If you have received > this electronic transmission in error, please notify the=20 > sender immediately by replying to the address listed in the=20 > "From:" field. >=20 >=20 > ------------------------------ Hopefully my fellows don't get bothered if I answer that one: just add the option '-p' to the route command like c:\>route -p add 20.30.0.0 mask 255.0.0.0 155.123.111.9 Greg, Is this list really only for FreeBSD users? What about the "FreeBSD *and* MS" users? ;-) Regards, Sephan.