|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
trunk0 does not work as expected
Hello,
at the end, posting in misc, I've found out that the problem with iwn hanging is very common, at least with the 5100 nic. I solved it with a script that brings the nic down and up every time it detects there's no connection. Hopefully it will be solved for 4.6 (I don't think I'm very fit to run -current). Now the problem with trunk0: actually I posted this already but in a thread with another title, so I think it's better to repeat it here, since it's a problem only with trunk. The problem is, wireless works just fine, and if I plug in the ethernet cable trunk switches to it, but it has no connection. What could the reason be? Here are my settings: Code:
$ cat hostname.em0 up Code:
$ cat hostname.iwn0 up chan 6 nwid mylan wpa wpapsk mykey Code:
$ cat hostname.trunk0 trunkproto failover trunkport em0 trunkport iwn0 192.168.1.102 netmask 255.255.255.0 Code:
$ ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204 priority: 0 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 lladdr macaddress priority: 0 trunk: trunkdev trunk0 media: Ethernet autoselect (none) status: no carrier inet6 fe80::21f:16ff:fe1f:dae3%em0 prefixlen 64 scopeid 0x1 iwn0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 lladdr macaddress priority: 0 trunk: trunkdev trunk0 groups: wlan media: IEEE802.11 autoselect (OFDM12 mode 11g) status: active ieee80211: nwid mylan chan 6 bssid macaddress 240dB wpapsk <not displayed> wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip inet6 fe80::222:faff:fef5:62fa%iwn0 prefixlen 64 scopeid 0x2 enc0: flags=0<> mtu 1536 priority: 0 trunk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr macaddress priority: 0 trunk: trunkproto failover trunkport iwn0 active trunkport em0 master groups: trunk egress media: Ethernet autoselect status: active inet 192.168.1.102 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::21f:16ff:fe1f:dae3%trunk0 prefixlen 64 scopeid 0x5 pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33204 priority: 0 groups: pflog Code:
$ ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes 64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=1.159 ms 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=5.205 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.170 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.157 ms Code:
$ ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204 priority: 0 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 lladdr macaddress priority: 0 trunk: trunkdev trunk0 media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::21f:16ff:fe1f:dae3%em0 prefixlen 64 scopeid 0x1 iwn0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 lladdr macaddress priority: 0 trunk: trunkdev trunk0 groups: wlan media: IEEE802.11 autoselect (OFDM18 mode 11g) status: active ieee80211: nwid mylan chan 6 bssid macaddress 240dB wpapsk <not displayed> wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip inet6 fe80::222:faff:fef5:62fa%iwn0 prefixlen 64 scopeid 0x2 enc0: flags=0<> mtu 1536 priority: 0 trunk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr macaddress priority: 0 trunk: trunkproto failover trunkport iwn0 trunkport em0 master,active groups: trunk egress media: Ethernet autoselect status: active inet 192.168.1.102 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::21f:16ff:fe1f:dae3%trunk0 prefixlen 64 scopeid 0x5 pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33204 priority: 0 groups: pflog Code:
$ ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes Code:
$ ping -v -c 1 -w 1 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATI Catalyst.... Does it work? | echoblack | OpenBSD Installation and Upgrading | 10 | 17th June 2009 09:04 AM |
ln -f at boot doesn't work | lordyan | OpenBSD General | 3 | 19th February 2009 03:50 PM |
Any chance to make work in FreeBSD ? | giga | FreeBSD General | 2 | 30th January 2009 10:07 PM |
Crossplatform UI Work | Turophile | Programming | 9 | 21st October 2008 11:56 PM |
Getting Qt4 to work on FreeBSD | enpey | FreeBSD Ports and Packages | 6 | 6th May 2008 07:20 AM |