From owner-freebsd-questions Mon Sep 17 3: 3:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f160.pav2.hotmail.com [64.4.37.160]) by hub.freebsd.org (Postfix) with ESMTP id 9FCED37B40B for ; Mon, 17 Sep 2001 03:03:25 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 17 Sep 2001 03:03:25 -0700 Received: from 147.8.182.114 by pv2fd.pav2.hotmail.msn.com with HTTP; Mon, 17 Sep 2001 10:03:25 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: Mon, 17 Sep 2001 18:03:25 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Sep 2001 10:03:25.0567 (UTC) FILETIME=[FDCE18F0:01C13F5F] 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, If I did not understand wrongly, I just followed what you said. I added in the line "interfaces="lo0 vx0"" into /etc/rc.conf. Then whenever there's a line containing "ifconfig_xl0", I created another same line containing "ifconfig_vx0". However, upon rebooting, I still couldn't find the interface vx0 using "netstat -r". What do you think is still wrong here? Thanks! Wing >From: Mohsin Rahman >To: Wing Tim >Subject: Re: Change of interface >Date: Thu, 13 Sep 2001 17:31:35 -0400 (EDT) > >You are coorect. If you want to assign the IP of 192.168.0.4 to vx0, >you still have to look at ifconfig (man ifconfig). How do you have >your settings now that 0.4 is getting assigned to xl0? simply change >it to vx0, unless I am not totally understanding your question. the >two locations will be /etc/rc.conf and /etc/defaults/rc.conf > >On Thu, 13 Sep 2001, Wing Tim wrote: > > > 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 > > > >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