http://defect.opensolaris.org/bz/show_bug.cgi?id=9224
Summary: network routes incorrectly updated upon resume on
different network
Classification: Development
Product: nwam
Version: unspecified
Platform: i86pc/i386
OS/Version: OpenSolaris
Status: NEW
Severity: minor
Priority: P4
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: sergiusens at ieee.org
QAContact: nwam-dev at opensolaris.org
The use case is as follows:
- Connected to network with route that points to 10.0.0.1 set as the default gw
- Suspend notebook
- Resume notebook at different location and auto join a previously recognized
network, this is done automatically by nwam.
- Networking fails as the old route is still present with the new one.
Workaround: manually restart nwam.
Output from commands executed after resume follow:
sergius at nargothrond:~$ netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 10.251.107.1 UG 1 0 ath0
default 10.0.0.1 UG 1 0 ath0
default 192.168.99.1 UG 1 16 ath0
192.168.99.0 192.168.99.199 U 1 1 ath0
127.0.0.1 127.0.0.1 UH 1 14 lo0
Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If
--------------------------- --------------------------- ----- --- ------- -----
fe80::/10 fe80::215:afff:fe80:6b61 U 1 0 ath0
::1 ::1 UH 1 0 lo0
sergius at nargothrond:~$ tail /var/adm/messages
May 30 01:38:34 nargothrond in.routed[485]: [ID 238047 daemon.warning]
interface ath0 to 10.0.0.107 turned off
May 30 01:38:36 nargothrond unix: [ID 954099 kern.info] NOTICE: IRQ16 is being
shared by drivers with different interrupt levels.
May 30 01:38:36 nargothrond This may result in reduced system performance.
May 30 01:38:37 nargothrond genunix: [ID 583038 kern.notice] System has been
resumed.
May 30 01:38:39 nargothrond genunix: [ID 314293 kern.info] device
pci8086,2592 at 2(display#0) keeps up device sd at 0,0(disk#1), but the latter
is not
power managed
May 30 01:38:41 nargothrond mac: [ID 744254 kern.info] NOTICE: ath0 link up
May 30 01:38:41 nargothrond in.routed[485]: [ID 749644 daemon.notice] ath0 has
a bad address 0.0.0.0
May 30 01:38:41 nargothrond in.routed[485]: [ID 464608 daemon.error] route
0.0.0.0/8 --> 0.0.0.0 nexthop is not directly connected
May 30 01:38:50 nargothrond in.routed[485]: [ID 417587 daemon.error]
IP_ADD_MEMBERSHIP ALLHOSTS: Address already in use
May 30 01:38:50 nargothrond in.routed[485]: [ID 537788 daemon.warning] Could
not join 224.0.0.9 on interface ath0: Address already in use
sergius at nargothrond:~$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
ath0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 7
inet 192.168.99.199 netmask ffffff00 broadcast 192.168.99.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128
ath0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 7
inet6 fe80::215:afff:fe80:6b61/10
sergius at nargothrond:~$
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.