From owner-freebsd-questions Fri Jun 19 12:59:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04818 for freebsd-questions-outgoing; Fri, 19 Jun 1998 11:08:09 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp1.scsnet.com (smtp1.scsnet.com [146.126.86.241]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA04566 for ; Fri, 19 Jun 1998 11:06:57 -0700 (PDT) (envelope-from RRKRACKE@southernco.com) Received: from smap@localhost by smtp1.scsnet.com for id OAA11371; Fri, 19 Jun 1998 14:05:41 -0400 Received: from alxapex03.southernco.com(148.115.236.254) by smtp1.scsnet.com with smtp id xma011257; Fri, 19 Jun 98 14:04:16 -0400 Received: by ALXAPEX03.southernco.com with Internet Mail Service (5.5.1960.3) id ; Fri, 19 Jun 1998 13:04:14 -0500 Message-ID: <32A3EB5E7705D1118B600060971998C0FAEEE8@alxapex01.southernco.com> From: "Kracke, Robert R., Jr." To: "'freebsd-questions@freebsd.org'" Subject: Multi Homed Machine Date: Fri, 19 Jun 1998 13:02:23 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a ThinkPad 755CX running FreeBSD 2.2.6 PAO. I have configured the 3C589 PCMCIA card on ep0 to run on my corporate network. I have a PCMCIA modem using tun and ppp to dial into my ISP when not at work. Everything works great on the Corporate network, but dialing into my ISP requires that I edit my resolv.conf. I have to comment out the Corp DNS info and uncomment my ISP DNS info. Is there any way around this. The contents of my resolve.conf follow: # Resolv.conf of ACEBSD1.southernco.com # domain southernco.com # work domain # nameserver 148.115.228.157 # internal nameserver # nameserver 148.115.232.204 # internal backup nameserver domain dbtech.net # domain of my ISP nameserver 204.214.208.2 # ISP nameserver nameserver 204.214.208.3 # ISP backup nameserver nameserver 204.71.177.33 # ns.yahoo.com (just in case my isp can't find a name) # End Of File The above file is what I use when using my ISP, when using the Corp network I comment out the dbtech section and uncomment the southernco.com section. Is there an easier way? Robert R. Kracke Jr. Southern Company Power Coordination Center Support SCS Information Resources - Client Services APC-CHQ Alabama Control Center E-mail: RRKRACKE@fake.Southernco.com To send me e-mail remove "fake." from the above address To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message