On Tue, May 20, 2008 at 10:47:14AM +0200, Claudio Jeker wrote: > > > I'm an openbsd novice. I replaced cards on computers in my home network > > > with gigabit ethernet and got a a gigabit switch. Can I determine what > > > > you can use iperf or ttcp from the packages. > > Isn't it insane to figure out the media options of a interface with iperf?
sure, but to measure the _real_ speed it tells you more than the theoretical media parameters. > I think looking at ifconfig(8) output would be sufficent. e.g. > ifconfig re0 > re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:01:8e:b3:8b:ca > media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) > status: active > inet6 fe80::201:8eff:feb3:8bca%re0 prefixlen 64 scopeid 0x6 depends what claudio wanted - you can see the media opts that way but the effective speed the other way.