Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2001 18:03:25 +0800
From:      "Wing Tim" <twchim1@hotmail.com>
To:        mtech@buffnet.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Change of interface
Message-ID:  <F160dCZ3IqkMzB5nz0s0000e8a0@hotmail.com>

next in thread | raw e-mail | index | archive | help
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 <mtech@buffnet.net>
>To: Wing Tim <twchim1@hotmail.com>
>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 <mtech@buffnet.net>
> > >To: Wing Tim <twchim1@hotmail.com>
> > >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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F160dCZ3IqkMzB5nz0s0000e8a0>