From owner-freebsd-questions Wed Sep 12 22: 1:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f71.pav2.hotmail.com [64.4.37.71]) by hub.freebsd.org (Postfix) with ESMTP id EEC5E37B40B for ; Wed, 12 Sep 2001 22:01:40 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 12 Sep 2001 22:01:40 -0700 Received: from 147.8.182.114 by pv2fd.pav2.hotmail.msn.com with HTTP; Thu, 13 Sep 2001 05:01:40 GMT X-Originating-IP: [147.8.182.114] From: "Wing Tim" To: mtech@buffnet.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Change of interface Date: Thu, 13 Sep 2001 13:01:40 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Sep 2001 05:01:40.0928 (UTC) FILETIME=[2CF26C00:01C13C11] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, But will the method suggested by you disable the interface xl0 which originally connects the machine with IP 192.168.0.1? Thanks! Wing >From: Mohsin Rahman >To: Wing Tim >Subject: Re: Change of interface >Date: Wed, 12 Sep 2001 08:34:18 -0400 (EDT) > >/etc/rc.conf and /etc/defaults/rc.conf > >Look for ifconfig_xl0 and change it to ifconfig_vx0 > >Also, there is a line called > > interfaces="AUTO" > >if it is auto, dont need to do anything, but if it listed as > > interfaces="lo0 xl0" > >then change it to > > interfaces="lo0 vx0" > >save and re-boot. Hope this helps. > > >On Tue, 11 Sep 2001, Wing Tim wrote: > > > Hello, > > The routing table in my FreeBSD machine is as follows: > > >------------------------------------------------------------------------------- > > Routing tables > > > > Internet: > > Destination Gateway Flags Refs Use Netif > > Expire > > localhost localhost UH 0 0 lo0 > > 192.168 link#1 UC 0 0 xl0 => > > 192.168.0.1 0:60:97:db:87:7 UHLW 1 78 xl0 >1083 > > 192.168.0.4 0:2:2d:17:3f:5b UHLW 0 201 xl0 >931 > > > > Internet6: > > Destination Gateway Flags Netif Expire > > ::1 ::1 UH lo0 > > fe80::%xl0 link#1 UC xl0 > > fe80::%vx0 link#2 UC vx0 > > fe80::%lo0 fe80::1%lo0 Uc lo0 > > ff01:: ::1 U lo0 > > ff02::%xl0 link#1 UC xl0 > > ff02::%vx0 link#2 UC vx0 > > ff02::%lo0 fe80::1%lo0 UC lo0 > > >------------------------------------------------------------------------------- > > > > What command I should use to change the interface connecting to the >machine > > with IP 192.168.0.4 from xl0 to vx0? That is to change the line from > > 192.168.0.4 0:2:2d:17:3f:5b UHLW 0 201 xl0 > > to > > 192.168.0.4 0:2:2d:17:3f:5b UHLW 0 201 vx0 > > > > Thanks! > > > > Wing > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at >http://explorer.msn.com/intl.asp > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > >Mohsin AbdulRahman >MTech@BuffNET.Net > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message