OpenBSD 4.8-stable (FLASHRD) #25: Thu Apr 28 13:14:28 EST 2011 I have a wireless box I'm attempting to set up default routing on.
There are two active devices, ath0 (wireless) and sis0 (wired). sis0 is connected to the rest of the network using 192.168.0.199/255.255.255.0<http://192.168.0.200/255.255.255.0>and ath0 has 192.168.0.200/255.255.255.0 and serves out addresses via dhcpd for wireless. /etc/mygate has 192.168.0.100 for the default, however route shows the following: Routing tables Internet: Destination Gateway Flags Refs Use Mtu Prio Iface default 192.168.0.100 UGS 0 0 - 8 ath0 127/8 127.0.0.1 UGRS 0 0 33200 8 lo0 127.0.0.1 127.0.0.1 UH 1 0 33200 4 lo0 192.168.0/24 link#1 UC 1 0 - 4 ath0 192.168.0/24 192.168.0.100 UGS 0 0 - 8 ath0 192.168.0.100 link#1 UHLc 2 14 - 4 ath0 224/4 127.0.0.1 URS 0 0 33200 8 lo0 [NOTE: default 192.168.0.100 is using the ath0 Interface even though sis0 has a much higher Priority - See Below] ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0b:6b:4d:69:8f *priority: 0* groups: wlan egress media: IEEE802.11 autoselect mode 11b hostap status: active ieee80211: nwid [redacted] chan 1 bssid 00:0b:6b:4d:69:8f wpapsk [redacted] wpaprotos wpa1,wpa2 wpaakms p sk wpaciphers tkip,ccmp wpagroupcipher tkip inet6 fe80::20b:6bff:fe4d:698f%ath0 prefixlen 64 scopeid 0x1 inet 192.168.0.200 netmask 0xffffff00 broadcast 192.168.0.255 sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:24:c1:e6:7c *priority: 10* media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::200:24ff:fec1:e67c%sis0 prefixlen 64 scopeid 0x2 inet 192.168.0.199 netmask 0xffffff00 broadcast 192.168.0.255 What am I missing here? I want the default gw to route over the sis0 NIC, not ath0.

