Problems with Orinoco WaveLan (long)

2001-10-25 Thread Thor Legvold

As far as I'm able to see, the card is identified, configured and seems to 
exist fine (ifconfig -a shows it as up, reports the details, etc before the 
card is given any IP or netmask).

wicontrol shows the stats, the IBSS name is correct (of the local access 
point I connect to), everything seems ok.

I do the following:
# dhclient wi0

and get the following:

wi0: watchdog timeout

After several repeated messages I get my prompt back, and ifconfig -a tells 
me that wi0 is:
IP 0.0.0.0 mask 0xFF00 broadcast 255.255.255.255.

netstat -rn gives:
destgw  flags   netif
0   link#5  UC  wi0
plus my other routes.

The watchdog comments continue popping up on the console, of course.

My ISP is currently running the AccessPoint as a NAT/DHCP server on a class 
A network (10.0.0.0).  Luckily I have a laptop, lucky or not it has WinXP on 
it. I've configured it to use DHCP and put the Orinoco card in it, it works 
perfectly.

I installed 4.0-RELEASE, CVSup'ed to 4.4-STABLE and have built and installed 
both world and kernel. I intend the machine to be a gateway/firewall (ipfw) 
and do NAT translation for my local home network, allowing all machines to 
access the broadband wireless connection.

The hardware is a Fujitsu Siemens ScenicPro, Pentium 200MMX, both ISA and 
PCI slots. The Orinoco is in a PC-Card carrier in PCI slot 4, a Matrox MGA 
Millenium is in PCI slot 0. A CNet Pro-200 (dc0) is in slot 3. Nothing else 
is installed in the machine. The entire disk is dedicated to FreeBSD, I boot 
from a CD-R until the spinning baton, then give a boot message for the hard 
disk and kernel image (because for some strage reason the hard disk refuses 
to boot, although every test I've run on it say's it fine and I've tried 
every jumper setting available. When it's up and running everything works 
great. This is the same for FBSD, Windows and DOS, so I think it might be a 
faulty control card on the hard disk itself.).

Checking my kernel configuration file and the dmesg, I see that there are no 
IRQ conflicts - the Orinoco is on IRQ 10, the dc0 on 11, etc. I have only a 
very few warning messages in my dmesg, relevant lines are as follows:

boot ad(0,a)/kernel

Warning: loader(8) metadata is missing! #this because I boot from the CD-R 
of 4.0-RELEASE, I expect. I wonder how I would go about making a boot floppy 
or CD-R dedicated to the machine's and kernel's  configuration that would 
pass the boot (and root dev) to the hdd...?

then I get this very shortly after the CPU type/setup is done:
pci0:  (vendor=0x11a, dev=0x0005) at 3.0
pci0:  (vendor=0x11a, dev=0x0005) at 3.1
I'm guessing it's something built onto the mainboard, like a soundchip or 
the flashcard reader or something. I got the machine for free from someone 
who didn't want it after buying a new one.

further down we have this:
pci_cfgintr: can't route an interrupt to 0:18 INTA
pcic0:  at device 18.0 on pci0
pcic0: PCI Memory allocated: 0x4400
pci_cfgintr: can't route an interrupt to 0:18 INTA
pcic0: no PCI interrupt routed, trying ISA
pcic0: Polling mode
pcic0: TI12XX PCI Config Reg: [pwr save][CSC parallel isa irq]
pccard0: 
...
then this:
pccard: card inserted, slot 0
wi0:  at port 0x240-0x27f irq 10 slot 0 on pccard0
wi0: ethernet address: 00:02:2d:0b:c2:39

I've checked sysctl, it says:
hw.pcic.ignore_function_1: 0
and won't let me change it to "YES" or "1" (variable read only - even as 
root), so I'm not sure how else I would go about trying it (from what I've 
read on Deja about similar problems).

Hoping someone can point me in the right direction (or proper mailing list, 
in case *-mobile would be more appropriate because of Warners presence...)

Regards,
Thor


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



vpn with mpd-netgraph, 4.4-STABLE

2001-11-20 Thread Thor Legvold

I'm trying to get mpd-netgraph to work so that I can log in to my ISP that 
uses PPTP VPN software.  I'e read the docs, writen a config file, but it 
doesn't seem to be able to connect (or I think it connects, but doesn't 
negotiate/authenticate). Stranger still is that when running mpd from the 
command line and loading a bundle I get error messages like:

set pptp mode: unknown command. Try "help".
[myisp_bundle] using interface ng0
mpd: option "mppc" unknown
[myisp_bundle:myisp_link]

set pptp mode active is in the docs, as is option mppc!  I imagine my config 
files are incorrect, but never using pptp/netgraph/mpd before and not 
understanding the underlying paradigm, I have no idea where I should start 
looking. I'm not even sure I'm using the right software for what I want to 
do, although several deja searches and posts both here and to questions 
resulted in no answers.

I'm running 4.4-STABLE, have a dual home host with ipfw and natd running. My 
home LAN is on 192.168.128.0 and my ISP is on 10.10.2.0, their VPN server on 
10.10.1.1. I get an IP via DHCP from them (10.10.2.0 range), conenct to VPN 
server to get a routable IP from a pool of dynamically adressable addresses, 
then I should be online.  However I haven't gotten it to work. LAN/inside is 
on dc0, outside is on wi0 (Lucent).

Here's a transcript of the connection attempt:
[myisp_bundle:myisp_link] open
[myisp_bundle] IFACE: Open event
[myisp_bundle] IPCP: Open event
[myisp_bundle] IPCP: state change Initial --> Starting
[myisp_bundle] IPCP: LayerStart
[myisp_bundle:myisp_link] [myisp_bundle] bundle: OPEN event in state CLOSED
[myisp_bundle] opening link "myisp_link"...
[myisp_link] link: OPEN event
[myisp_link] LCP: Open event
[myisp_link] LCP: state change Initial --> Starting
[myisp_link] LCP: LayerStart
[myisp_link] device: OPEN event in state DOWN
pptp0: connecting to 10.10.1.1:1723
[myisp_link] device is now in state OPENING
pptp0: connected to 10.10.1.1:1723
pptp0: attached to connection with 10.10.1.1:1723
pptp0-0: outgoing call connected at 64000 bps
[myisp_link] PPTP call successful
[myisp_link] device: UP event in state OPENING
[myisp_link] device is now in state UP
[myisp_link] link: UP event
[myisp_link] link: origination is local
[myisp_link] LCP: Up event
[myisp_link] LCP: state change Starting --> Req-Sent
[myisp_link] LCP: phase shift DEAD --> ESTABLISH
[myisp_link] LCP: SendConfigReq #1
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #2
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #3
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #4
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #5
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #6
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #7
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #8
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #9
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: SendConfigReq #10
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 95c7bf8b
AUTHPROTO CHAP MSOFT
[myisp_link] LCP: state change Req-Sent --> Stopped
[myisp_link] LCP: LayerFinish
[myisp_link] LCP: parameter negotiation failed
[myisp_link] LCP: LayerFinish
[myisp_link] device: CLOSE event in state UP
pptp0-0: clearing call
[myisp_link] device is now in state CLOSING
[myisp_link] device: CLOSE event in state CLOSING
[myisp_link] device is now in state CLOSING
[myisp_link] device: DOWN event in state CLOSING
[myisp_link] device is now in state DOWN
[myisp_link] link: DOWN event
[myisp_link] LCP: Down event
[myisp_link] LCP: state change Stopped --> Starting
[myisp_link] LCP: phase shift ESTABLISH --> DEAD
[myisp_link] LCP: LayerStart
[myisp_link] device: OPEN event in state DOWN
[myisp_link] pausing 9 seconds before open
[myisp_link] device is now in state DOWN
[myisp_link] device: OPEN event in state DOWN
[myisp_link] device is now in state DOWN
pptp0-0: peer call disconnected res=disconnect request err=none
pptp0-0: killing channel
pptp0: closing connection with 10.10.1.1:1723
pptp0: ctrl connection closed by peer
pptp0: killing connection with 10.10.1.1:1723
[myisp_link] device: OPEN event in state DOWN
pptp0: connecting to 10.10.1.1:1723
[myisp_link] device is now in state OPENING
pptp0: connected to 10.10.1.1:1723
pptp0: attached to connection with 10.10.1.1:1723
pptp0-0: outgoing call connected at 64000 bps
[myisp_link] PPTP call successful
[myisp_link] device: UP event in state OPENING
[myisp_link] device is now in state UP
[myisp_link] link: UP event
[myisp_link] link: origination is local
[myisp_link] LCP: Up event
[myisp_link] LCP: state change Starting --> Req-Sent

Network setup questions

2001-11-21 Thread Thor Legvold

Well, I've asked 3 or 4 times now in the last 3 weeks, and haven't received 
any answers. Posted to comp.unix.bsd.freebsd.misc and to both questions- and 
[EMAIL PROTECTED]

That leads me to conclude that either I'm: asking the wrong question(s), 
asking in an improper manner or asking the wrong people/wrong group.

I *have* searched Deja, I *have* read the docs and attempted to get this to 
work - I really don't know where else I could be looking or asking for more 
information. If my question was worded poorly or inappropiate, I would 
appreciate a pointer as to where/how/who I might contact in order to get my 
system up and configured properly.

Again, I'm trying to log into an ISP via PPTP for internet access, using 
mpd-netgraph but also trying out pptpclient. I have a small home LAN that I 
want to NAT/IPFW such that all machines can share the internet connection. 
I'm running FreeBSD 4.4-Stable.

Regards,
Thor


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Network setup questions

2001-11-21 Thread Thor Legvold

Hi Joao,

>Well.. hmm eh.. what's your question ?
>

I just posted it a few minutes ago to freebsd-questions (again). Else a 
quick search in the archives will show it (search word VPN PPTP mpd).

I was asked not to cross post, but I can also send a copy to you privately 
if you would like.

>Regards,
>Joao

Regards,
Thor



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Network setup questions

2001-11-21 Thread Thor Legvold

Hi Joao, (vôce é português?)

>I don't know much about pptp-client programs merely about the ports >needed 
>to
>be open on a firewall in order to pass it trough. But if you say it >won't
>work even with the firewall open,  i guess there's not much help I >can 
>give
>you..

No, I opened it up and had the same problem. Could nat be making problems 
for me? It's configured for my "external" interface wi0 (on the 10.10.2.0 
net), should I configure it for the ng0 iface, or for something else?

I tried pptp-client, the config script (perl) crashes, the script wants 
config files in /etc/pptp.d/ while the readme says to put them in 
/etc/ppp/ppp.conf (neither seems to work). It hangs when run, no log, no 
info, no connection :-(

mpd-netgraph changes terms in the documentation (sometimes server, sometimes 
peer - the same, right?), nor is it clear to me what is my IP address and 
what is my peers address, if I need a "pptp self" address at all or not (and 
if so, which of my addresses is it?). My machine has (at least) 2 IP 
addresses... One for the LAN, one for the WAN. Also there's the loopback, 
and devices down that don't currently have addresses, like ppp0. And I'm 
assigned an IP when (if) I connect successfully via PPTP (and I know the 
genereal range). Plus I'm supposed to supply the VPN "name", I can't see 
where that is configured. Nor does the documentation say if one needs a 
pap.secrets or chap.secrets - all I have is a mpd.secrets, dunno if it's 
enough...

Anyway I feel like I'm just digging myself deeper in this quicksand with 
each repeated time. Now I've found some doc's on Deja that say you need to 
run pppd in addition to pptp, one runs over the other. ?!?!?  No wonder I'm 
getting confused ;-)

>Anyway about the firewall . In my experience with pptp I had to >open the
>following ports..
>
>control channel:   1723 tcp & udp
>
>GRE or GRE over UDP:   P:47  or  47 udp
>
>And because of the client being behind the firewall (in my case) I >had to 
>add
>-pptpalias  to my natd parameters.. But since you use the 
> >firewall
>as a client I guess you don't need that anyway.

I have no idea.  I really need to get an overview as to all this stuff fits 
together and interoperates

>It's not much , but I hope it helps.
>
>Regards,
>Joao

Thanks for trying!

Regards,
Thor


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



mpd-netgraph log questions

2001-11-21 Thread Thor Legvold

Still struggling with PPTP...
Trying to decipher the logfile in order to ask more appropriate  questions 
and get this working.

I have these iface's configured at startup:
dc0 (home LAN 192.168.128.0)
lp0 (? never used)
lo0 (loopback)
ppp0 (? never used)
sl0 (? never used)
faith0 (ipv4 -> ipv6)
wi0 (ISP WAN 10.10.2.0, internet connection via VPN)

When I run mpd I get ng0 as well (netgraph, it seems).

I think I've narrowed my problem down to my configuration files. I *think* 
I'm able to connect with the VPN/PPTP server:

Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 627, version 3.3 ([EMAIL PROTECTED] 22:47 18-Nov-2001)
[:] load access
[access] ppp node is "mpd627-access"
[access] using interface ng0
mpd: option "mppc" unknown
mpd: option "mppc" unknown
[access:access] open
[access] IFACE: Open event
[access] IPCP: Open event
[access] IPCP: state change Initial --> Starting
[access] IPCP: LayerStart
[access:access] [access] bundle: OPEN event in state CLOSED
[access] opening link "access"...
[access] link: OPEN event
[access] LCP: Open event
[access] LCP: state change Initial --> Starting
[access] LCP: LayerStart
[access] device: OPEN event in state DOWN
pptp0: connecting to 10.10.1.1:1723
[access] device is now in state OPENING
pptp0: connected to 10.10.1.1:1723
pptp0: attached to connection with 10.10.1.1:1723
pptp0-0: outgoing call connected at 64000 bps
[access] PPTP call successful
[access] device: UP event in state OPENING
[access] device is now in state UP
[access] link: UP event
[access] link: origination is local
[access] LCP: Up event
[access] LCP: state change Starting --> Req-Sent
[access] LCP: phase shift DEAD --> ESTABLISH
[access] LCP: SendConfigReq #1

( I don't know why it says connected at 64000 bps! Its a pptp node, not a 
ppp node, isn't it?)

However, I never get any further, and the program keeps retrying:

[access] LCP: SendConfigReq #3
PROTOCOMP
MRU 1500
MAGICNUM c685c33c
AUTHPROTO CHAP MSOFT
[access] LCP: rec'd Configure Reject #3 link 0 (Ack-Sent)
AUTHPROTO CHAP MSOFT

so here I'm guessing that something is configured wrong and everything 
stops, because after about 10 retries I get the following:

[access] LCP: not converging
[access] LCP: parameter negotiation failed
[access] LCP: state change Ack-Sent --> Stopped
[access] LCP: LayerFinish
[access] device: CLOSE event in state UP
pptp0-0: clearing call
[access] device is now in state CLOSING
[access] device: DOWN event in state CLOSING
[access] device is now in state DOWN

And then everything starts again. I've checked and double checked my 
login/password, they are correct (besides, I'm sure a program as 
comprehensive as this one would say "invalid password" if that was the case 
- right?) Do I need a chap.secrets file in /etc or /etc/ppp? I assumed all I 
need is a mpd.conf, mpd.links and mpd.secrets. What am I missing (besides an 
internet connection :-)?

Regards,
Thor




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



mpd-netgraph configuration files

2001-11-21 Thread Thor Legvold

Still debugging, some questions to verify I have the proper config.

FBSD dual homed host/gw for a home LAN
dc0 home LAN192.168.128.0/24
wi0 ISP WAN 10.10.0.0/16

IPFW and NAT are running, ipfw is wide open at present, natd running -m -s 
-dynamic on wi0. Don't know if I need anything else special on nat for PPTP 
to work.

My ISP has a pool of dynamically assignable (DHCP) routable IP's that they 
assign via a PPTP server at 10.10.1.1. The routable IP's are in the range 
213.225.121.0/24 as far as I understand.

My config looks like this:

# mpd.conf
access:
  new -i ng0 access access
  set iface idle 0
  set iface route default
  set iface disable on-demand
  set bundle disable multilink
  set bundle authname "myreallogin"
  set bundle password "myrealpassword"
  set link yes pap
  set link yes chap
  set link no mppc
  set link disable no-orig-auth
  set ipcp ranges 0.0.0.0/0 10.10.1.1/0

and links like this:

# mpd.links
access:
  set link type pptp
  set pptp mode active
  set pptp peer 10.10.1.1
  set pptp enable originate outcall

mpd.secrets has one line, with the same login/password as in mpd.conf

I'm a bit unsure as to what values should be in "set ipcp ranges", but I 
don't seem to get the error message mentioned in the manual so I think it's 
ok as is.

Does this appear at all correct? My ISP knows a bit about Linux (they use it 
for the PPTP/VPN server, running PoPToP), and said I needed a "name" 
variable somewhere, at least when connecting from Linux (but not Windows). 
Should I use the "set link ident" for this?

Regards,
Thor


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: mpd-netgraph configuration files

2001-11-22 Thread Thor Legvold

>Thor Legvold wrote:

Lars, thanks for the files.

I actually got a connection late last night, although I don't know why. 
Haven't been able to reproduce the "error" :-)


Regards,
Thor

>>Still debugging, some questions to verify I have the proper config.
>
>FWIW, attached is an mpd configuration that works for me to connect to
>ISI's VPN box.
>
>Lars
>--
>Lars Eggert <[EMAIL PROTECTED]>   Information Sciences Institute
>http://www.isi.edu/larse/  University of Southern California


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



mpd-netgraph CONNECTED!

2001-11-22 Thread Thor Legvold

But I have no idea why. Nor is the link usable. But I'm happy to see I'm 
making progress :-)

As far as I can tell, I did exactly what the docs say not to do (and even 
generates a warning when loading the bundle) - I set both remote and peer to 
0.0.0.0/0, mpd tells me "IPCP: peer address cannot be zero" and the manual 
explicitly states *not* to set this to zero. However it seemed to allow me 
to connect, for whatever reason. This would all be easier if I understood 
the basic paradigm...

The strange thing (maybe not strange, I guess it's what I asked for when 
configuring the peer IP to 0) is that I then get a routable IP from the peer 
(like I'm supposed to) AND a "self" IP in the 10.100.0.0 range, which I 
don't understand (I'll call my ISP and ask). I already have (via DHCP) an 
"internal" WAN IP of 10.10.2.91 which seems to be pretty much constant every 
time I connect, however setting this in the mpd.conf results in me not being 
able to connect. Even if I allow a reasonable spread (10.10.0.0/16), it 
won't work.

My routing get's all blown up with a default route that doesn't make sense 
at all (10.100.n.n as gateway to mt routable IP, but default route still to 
10.10.2.1 - the internal WAN). Tried changing this after mpd connected with 
both "route change " and with "set route default" from the mpd prompt. 
Neither helped, they caused mpd to drop the connection (no route to host).

But, at least now I can connect, that's good!

Any ideas what's wrong here? (where should I be looking next...?)

Regards,
Thor


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



More mpd-netgraph questions

2001-11-22 Thread Thor Legvold

A few things I've noticed:

The "default" connection speed seems to be 64000 bps according to the log. 
The manual states you don't need to set anything regarding bandwidth or 
speed unless you're on an asynchronous dialup (modem, etc). I'm on a 11Mbs 
wireless WAN, and would like to know if and how I should configure (set link 
bandwidth foo).

The manual says not to set 0.0.0.0 for remote (same as peer?) address in 
ipcp config, yet this was what allowed me to connect! Is my ISP's PPTP 
broken (Linux PoPToP), or is the documentation wrong?  I'm not really clear 
on the difference between the "set ipcp ranges" and "set pptp peer" and "set 
pptp self" commands - could anyone give a hint or two?

The problem now is (I think) that I end up with *2* IP's in the 10.0.0.0 
class from my ISP, in addition to the routable address that's assigned (I 
get assigned both a dynamic routable and another dynamic non routable - 
which I already have via the WAN). Is this normal?

Regards,
Thor


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Maximum throughput of Intel Pro 100/S NIC?

2001-11-23 Thread Thor Legvold

"Vladimir B. Grebenschikov" <[EMAIL PROTECTED]> did wax gregarious and thus 
spake:

>[EMAIL PROTECTED] writes:
>  > Hi,
>  >
>  > I have an Intel Pro 100/S NIC on FreeBSD 4.4-STABLE connected to a 
>Cisco
>  > Catalyst 3500XL switch at 100Mbps, full-duplex but I only get 15.6Mbps
>  > throughput. I'm transferring ISO images from the FreeBSD machine to an 
>NT
>  > FTP server which is also connected on the same switch.
>  >
>  > What's the tested throughput for the Intel Pro 100 NICs?
>
>I have got 96% of 100Mbps under real production load.

Wouldn't the TCP/IP overhead + ethernet design (collisions) reduce this 
figure to more like 70Mbs max in the real world?

>--
>TSB Russian Express, Moscow
>Vladimir B. Grebenschikov, [EMAIL PROTECTED]

Regards,
Thor


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Maximum throughput of Intel Pro 100/S NIC?

2001-11-23 Thread Thor Legvold

Hi Bill,

> > >I have got 96% of 100Mbps under real production load.
> >
> > Wouldn't the TCP/IP overhead + ethernet design (collisions) reduce > 
>figure to more like 70Mbs max in the real world?
>
>1) when people refer to getting 96% of X Mbps, they're referring to
>ethernet frames, not cute little netscape download boxes.

Ok. I don't know what cute little Netscape boxes you're referring to, but 
thanks for the pointer. I don't suppose you were trying to be sarcastic...?

>2) the real world uses switches and runs full duplex, so collisions
>aren't really a concern.

I see. I run full duplex, on a (one :-) switch. I wasn't aware that 
collisions weren't a concern.

>if you're going to dispute statistics, at least understand the metrics.

I didn't realize I was disputing, I thought I was asking a question 
(thinking out loud, whatever). Had a bit too much coffee today?

I guess this is the wrong place to learn more about networking & FBSD?

>- bill fumerola / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED]

Regards,
Thor


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: specifying interface to route command broken??

2001-12-07 Thread Thor Legvold

Lars wrote:
> >
> > Hi,
> >
> > I am probably screwing something up :-)
> >
> > netstat -rn shows:
> >
> > Internet:
> > DestinationGatewayFlags Refs Use Netif
> > Expire
> > 127.0.0.1  127.0.0.1  UH  4   31  lo0
> > aaa.bbb.ccc.16/28  link#5 UC  10  wi0 =>
> >
> > aaa.bbb.ccc.17 aaa.bbb.ccc.27 UHS 10  wi0

You have no default route at startup?

> > ifconfig -a shows:
> >
> > fxp0: flags=8802 mtu 1500
> > inet aaa.bbb.ccc.26 netmask 0xfff0 broadcast 216.233.173.31
> > ether 08:00:46:05:95:32
> > media: autoselect (10baseT/UTP) status: active
> > supported media: autoselect 100baseTX  100baseTX
> > 10baseT/UTP  10baseT/UTP 100baseTX 
> > lp0: flags=8810 mtu 1500
> > lo0: flags=8049 mtu 16384
> > inet 127.0.0.1 netmask 0xff00
> > ppp0: flags=8010 mtu 1500
> > wi0: flags=8843 mtu 1500
> > inet aaa.bbb.ccc.27 netmask 0xfff0 broadcast 216.233.173.31
> > ether 00:02:2d:3a:4c:fd
> >
> > I am trying to add a default route to go to aaa.bbb.ccc.17 via the wi0
> > interface, but it appears that since the fxp0 interface was configured

My experience is that if you want to add a new/different default route, you 
need to delete the existing one first.

> > first (even though it is down at the moment) that the route always ends
> > up going through  it!

Why not specify the interface on the route command line, then?

> > I tried:
> >
> > route add -ifa aaa.bbb.ccc.27 default aaa.bbb.ccc.17
> >
> > but the default route still showed up as going through the fxp0
> > interface. Anyone see what I might be doing wrong with the route command
> > here, or is it broken? This is on current as of 05/01/01

I'm running 4.4-Stable, and as I recall (I'm on another host at the moment) 
the route command accepts an option to specify the interface (wi0 in your 
case). Have you tried "# man route"...?

> > Lars

Regards,
Thor
--
who also has a default route via a wi0 iface... :-)


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message