Ath0, netgear WG311T problem.

Yann Golanski yann at kierun.org
Wed May 10 07:06:10 PDT 2006


Quoth Fabian Keil on Wed, May 10, 2006 at 15:51:49 +0200
> This could be the result of a routing problem.
> What's the output of ifconfig and netstat -rn?

Yeah, that look like a likely culprit.  How do I change that?

; ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet6 fe80::201:2ff:fea6:bc48%xl0 prefixlen 64 scopeid 0x1 
        inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:01:02:a6:bc:48
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::20f:b5ff:fef8:3b92%ath0 prefixlen 64 scopeid 0x2 
        inet 192.168.0.14 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:0f:b5:f8:3b:92
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
        status: associated
        ssid NEVERNESS channel 6 bssid 00:0f:b5:c1:09:18
        authmode OPEN privacy OFF NULL 1:40-bit NULL 2:40-bit
        NULL 3:40-bit NULL 4:40-bit txpowmax 32 protmode CTS bintval 100
vr0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:50:8d:5e:3b:4b
        media: Ethernet autoselect (none)
        status: no carrier
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet 127.0.0.1 netmask 0xff000000 
; netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.0.1        UGS         0    64265    xl0
127.0.0.1          127.0.0.1          UH          0    34608    lo0
192.168.0          link#1             UC          0        0    xl0
192.168.0.1        00:0f:b5:c1:09:18  UHLW        2     3545    xl0 1156

Internet6:
Destination                       Gateway                       Flags Netif Expire
::1                               ::1                           UH lo0
fe80::%xl0/64                     link#1                        UC xl0
fe80::201:2ff:fea6:bc48%xl0       00:01:02:a6:bc:48             UHL lo0
fe80::%ath0/64                    link#2                        UC ath0
fe80::20f:b5ff:fef8:3b92%ath0     00:0f:b5:f8:3b:92             UHL lo0
fe80::%lo0/64                     fe80::1%lo0                   U lo0
fe80::1%lo0                       link#5                        UHL lo0
ff01:1::/32                       link#1                        UC xl0
ff01:2::/32                       link#2                        UC ath0
ff01:5::/32                       ::1                           UC lo0
ff02::%xl0/32                     link#1                        UC xl0
ff02::%ath0/32                    link#2                        UC ath0
ff02::%lo0/32                     ::1                           UC lo0

[Unplug Ethernet cable here]

; ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet6 fe80::201:2ff:fea6:bc48%xl0 prefixlen 64 scopeid 0x1 
        inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:01:02:a6:bc:48
        media: Ethernet autoselect (none)
        status: no carrier
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::20f:b5ff:fef8:3b92%ath0 prefixlen 64 scopeid 0x2 
        inet 192.168.0.14 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:0f:b5:f8:3b:92
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
        status: associated
        ssid NEVERNESS channel 6 bssid 00:0f:b5:c1:09:18
        authmode OPEN privacy OFF NULL 1:40-bit NULL 2:40-bit
        NULL 3:40-bit NULL 4:40-bit txpowmax 32 protmode CTS bintval 100
vr0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:50:8d:5e:3b:4b
        media: Ethernet autoselect (none)
        status: no carrier
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet 127.0.0.1 netmask 0xff000000 
; netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.0.1        UGS         0    64297    xl0
127.0.0.1          127.0.0.1          UH          0    34613    lo0
192.168.0          link#1             UC          0        0    xl0
192.168.0.1        00:0f:b5:c1:09:18  UHLW        2     3546    xl0
1171

Internet6:
Destination                       Gateway                       Flags Netif Expire
::1                               ::1                           UH lo0
fe80::%xl0/64                     link#1                        UC xl0
fe80::201:2ff:fea6:bc48%xl0       00:01:02:a6:bc:48             UHL lo0
fe80::%ath0/64                    link#2                        UC ath0
fe80::20f:b5ff:fef8:3b92%ath0     00:0f:b5:f8:3b:92             UHL lo0
fe80::%lo0/64                     fe80::1%lo0                   U lo0
fe80::1%lo0                       link#5                        UHL lo0
ff01:1::/32                       link#1                        UC xl0
ff01:2::/32                       link#2                        UC ath0
ff01:5::/32                       ::1                           UC lo0
ff02::%xl0/32                     link#1                        UC xl0
ff02::%ath0/32                    link#2                        UC ath0
ff02::%lo0/32                     ::1                           UC lo0
;  ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
^C
--- 192.168.0.1 ping statistics ---
20 packets transmitted, 0 packets received, 100% packet loss

-- 
yann at kierun.org                  -=*=-                      www.kierun.org
    PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20060510/bb468d10/attachment.pgp


More information about the freebsd-mobile mailing list