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

next in thread | raw e-mail | index | archive | help
Hi, Mohin Rahman,
    My "dmesg" shows the follows:
$ dmesg
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.2-RELEASE #0: Mon Aug 27 16:03:45 HKT 2001
    root@FREEBSD1.eee.hku.hk:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium Pro (209.57-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
  Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 67108864 (65536K bytes)
config> di pcic0
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> di bt0
config> di ata1
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 61034496 (59604K bytes)
Preloaded elf kernel "kernel" at 0xc0442000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc044209c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xffa0-0xffaf at device 7.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <S3 ViRGE graphics accelerator> at 9.0 irq 0
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0x7f00-0x7f3f irq 11 at device 
10.0
on pci0
xl0: Ethernet address: 00:60:97:db:85:9e
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vx0: <3COM 3C595 Fast Etherlink III PCI> port 0x7f80-0x7f9f irq 9 at device 
11.0
on pci0
utp/tx[*utp*]: disable 'auto select' with DOS util! address 
00:a0:24:9f:3b:51
vx0: driver is using old-style compatability shims
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
fd1: <2880-KB 3.5" drive (in 1440-KB mode)> on fdc0 drive 1
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert enabled, rule-based forwarding 
disabled,
default to accept, logging limited to 200 packets/entry by default
DUMMYNET initialized (000608)
BRIDGE 990810, have 11 interfaces
-- index 1  type 6 phy 0 addrl 6 addr 00.60.97.db.85.9e
-- index 2  type 6 phy 0 addrl 6 addr 00.a0.24.9f.3b.51
ad0: 4103MB <ST34340A> [8894/15/63] at ata0-master WDMA2
acd0: CDROM <CD-ROM CDU511> at ata1-master using PIO3
Mounting root from ufs:/dev/ad0s1a
xl0: promiscuous mode enabled
>>now xl0 promisc ON if_flags 0xffff8943 bdg_flags 0x5
vx0: promiscuous mode enabled
>>now vx0 promisc ON if_flags 0xffff8943 bdg_flags 0x5
    Thanks!

Wing



>From: Mohsin Rahman To: Wing Tim Subject: Re: Change of interface Date: 
>Mon, 17 Sep 2001 08:36:24 -0400 (EDT)
>
>What does the output of "dmeg" say? Does it even find the interface vx0? 
>Plase send the output of dmesg. Thanks.
>
>On Mon, 17 Sep 2001, Wing Tim wrote:
>
> > 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 >
>
>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?F151vaGwoKyI71cV9tG000046b2>