Richard Fish:
> On 11/26/06, Sergio Polini <[EMAIL PROTECTED]> wrote:
> > I can just notice an astonishing difference between metrics: 25
> > under Windows, 2000 (!) under Linux.
>
> The absolute value of an interface metric is meaningless, they only
> matter in relation to other interface metrics active at the time.
> They are used to decide between interfaces when a host can be
> reached through more than one interface. So for example, if you
> have a dialup connection as well as broadband, you would want the
> broadband connection to have a lower metric than the dialup so that
> it is the 'preferred' interface.
Thanks for your answer.
My pings (perhaps all DNS lookups) are slow even if connect my PC to
both the wireless router and the cable, i.e. when there are both
a "fast" (metric 0) and a "slow" (metric 2000) interface.
> What do "ifconfig wlan" and "iwconfig wlan" report for the fast and
> slow states?
Fast (i.e. normal ;-) state happens only when net.wlan0 is stopped.
When I start net.wlan0:
sergio ~ # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:14:A5:E1:D2:B9
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2742 (2.6 Kb) TX bytes:10200 (9.9 Kb)
Interrupt:20 Memory:c3000000-c3004000
sergio ~ # iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"mynet"
Mode:Managed Frequency:2.462 GHz Access Point: 00:17:3F:0C:19:12
Bit Rate=54 Mb/s Tx-Power:32 dBm
RTS thr:off Fragment thr:off
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
Security mode:restricted
Power Management:off
Link Quality:100/100 Signal level:-48 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:168 Missed beacon:0
> And the host that you are pinging, is a remote
> internet host or something local (like 192.168.2.1)?
Remote internet hosts (f.i., google) and local.
BTW, I can't ping 192.168.2.1, i.e. the wireless router. But I can
under Windows!
Thanks
Sergio
--
[email protected] mailing list