On Fri, Mar 18, 2011 at 2:43 PM, <sowmini.varad...@oracle.com> wrote: > On (03/18/11 11:31), Gerard wrote: >> >> I am running OpensSolaris nv134 boxes with the rge driver and it >> seems that when DHCP is in use the interface sets the DEPRECATED flag >> on the interface and the interface is no longer usable. When I say >> unusable it will no longer pass traffic. If I try and unset the >> DEPRECATED flag I am able to unset it but the interface is still >> unusable. Additionally I have tried restarting physical:default and it >> still no luck. The only way it seems to get this interface back in >> working order is to restart the box. This also seems to only happen >> when DHCP is run on the interface. Additionally we are NOT using ipmp >> which seems to be the only documented place where I see this flag >> mentioned. > : >> rge0: flags=1140843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,ROUTER,IPv4> >> mtu 1500 index 2 >> inet 0.0.0.0 netmask ff000000 > > the interface does not have DHCP set- I don't know if this output was > generated after a failure to configure DHCP on rge0. As long as it doesn't > have an address, it will be "unusable" and unable to send/recv traffic. > > As such, dhcp itself does not set DEPRECATED on the interface, so there > might be some other process doing this. To figure out which one, you could > run the following dtrace script: > #!/usr/sbin/dtrace -Cs - > ip_sioctl_flags:entry > { > self->ipif = (ipif_t *)arg0; > printf("(%s): interface %s", execname, > (string)self->ipif->ipif_ill->ill_name); > } > ip_sioctl_flags:return > { > printf("%x", arg1); > } > and see which processes are tweaking the flags on that interface. > > --Sowmini > > > > >
Sowmini, Thanks for the response. I have run your dtrace script multiple times and did see the issue happen again but did not see any output from the dtrace script provided. Do you perhaps have another script that goes a little deeper? _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org