7.0 wlan mtu problem

Thomas Herzog thomas.herzog at inode.at
Fri May 16 06:17:02 UTC 2008


Hi,

i have following lines in my rc.conf:

ifconfig_ath0_name="wlan"
ifconfig_wlan="inet 192.168.231.231 netmask 255.255.255.0 mtu 1500 mediaopt hostap channel 9"
hostapd_enable="YES"

after a reboot, ifconfig says:

wlan: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
         ether 00:0f:b5:1e:ce:12
         inet 192.168.231.231 netmask 0xffffff00 broadcast 192.168.231.255
         media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>)
         status: associated
         ssid earlair channel 9 (2452 Mhz 11g) bssid 00:0f:b5:1e:ce:12
         authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit txpower 31.5
         scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7
         roam:rate11g 5 protmode CTS burst dtimperiod 1

--> mtu 2290 ?

wen i execute "ifconfig wlan 192.168.231.231 netmask 255.255.255.0 mtu 1500 mediaopt hostap channel 9"
than is says ifconfig:

wlan: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether 00:0f:b5:1e:ce:12
         inet 192.168.231.231 netmask 0xffffff00 broadcast 192.168.231.255
         media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>)
         status: associated
         ssid earlair channel 9 (2452 Mhz 11g) bssid 00:0f:b5:1e:ce:12
         authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit txpower 31.5
         scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7
         roam:rate11g 5 protmode CTS burst dtimperiod 1

with the right mtu.

have anyone a idea for this behaviour, or what can i to for the right mtu after reboot?

lg
Thomas


More information about the freebsd-questions mailing list