Hi Nate, On 15/02/11 1:55 PM, Renbarger, Nate wrote: > I am working on setting up packetfence in a test environment and most of it > is running smoothly and working very well. One issue that I have run into is > the user machine that I am using to test with is Ubuntu 10.04 and there seems > to be some setting in Ubuntu (maybe Linux in general I haven't tried any > other distros yet) where it delays for about 5 seconds before the network > interface registers as down when it has been unplugged or the interface is > shutdown. My guess is that is so that if there's a slight hiccup in the link > it doesn't lose its connection but it's causing the connection to not be > reset when packetfence flips the vlan and the admin status of the port. > Looking at the logs in packetfence and the switch it is actually shutting > down the port and bringing it back up but Ubuntu is not showing the interface > as down so I have to manually reset the interface on Ubuntu to get an IP > address on the correct vlan. I tried a Windows 7 machine and it worked fine > because it i mm > ediately registers the interface as being down. Has anyone else run into > this issue? Would there be a way to program in a delay between the admin > status down and up SNMP writes to the switch so it would leave the port down > for 6 seconds? Thanks for any help. >
For wired, I noticed the same problem lately but I didn't bother to open a ticket since I wasn't sure if it was only me or not. So I filed an issue for it: #1188: Ubuntu / NetworkManager / Linux kernel doesn't do DHCP after a 2 second link down http://www.packetfence.org/bugs/view.php?id=1188 Work-around: edit sbin/pfsetvlan and change sleep(2); on line 1625 (as of 2.0.1) to sleep(6); For wireless, there's a ticket open for Ubuntu #1161: Ubuntu Wireless 802.1X doesn't do DHCP after a VLAN change http://www.packetfence.org/bugs/view.php?id=1161 I'm not too sure about what to do. I know I want the sleep time to be more configurable but I'm not sure if I want to blindly make everyone suffer a longer delay just because Ubuntu doesn't play right.. And then again what's the big deal between 2 sec and 5 sec.. What are your thoughts on this? Cheers, -- Olivier Bilodeau [email protected] :: +1.514.447.4918 *115 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Packetfence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
