From: Steve S. <sn...@fr...> - 2003-01-28 22:00:16
|
On Tue, Jan 28, 2003 at 04:21:21PM -0500, James Neal wrote: > I'd say avoid uml_switch if you can.. Though I know nothing about its > actual stability, it seems like just another piece that could fail, and > if it does, it means rebooting (or just restarting networking on?) all > the UMLs that are connected to it. It would be nice to have some kind of automatic reconnection when u restart uml_switch, just like real hardware ;-) [ i'm not prepared to reboot when i disconnect my Ethernet cable ;)) ] Yeah, i know... i should just send a patch for it ;-p [ hmm... even might do when i'll have a little time ] Steve -- GPG public key available from http://snide.free.fr/gpg/snide-free.fr.asc Or by email to "snide at free.fr" with "send key pub" as subject Fingerprint: 91E3 C5F1 2641 4D0F EDD0 7116 D187 5929 14A8 FDA2 |
From: James N. <jn...@nk...> - 2003-01-28 23:01:35
|
On Tue, 2003-01-28 at 17:00, Steve Schnepp wrote: > It would be nice to have some kind of automatic reconnection when u > restart uml_switch, just like real hardware ;-) > [ i'm not prepared to reboot when i disconnect my Ethernet cable ;)) ] > > Yeah, i know... i should just send a patch for it ;-p > [ hmm... even might do when i'll have a little time ] Hmm.. How would you implement that? A hook in daemon_read and daemon_write that calls a disconnect_to_switch (which would need to be written) followed by a connect_to_switch? -James -- James Neal <jn...@nk...> Networked Knowledge Systems This message bound by the following: http://www.nks.net/email_disclaimer.html |
From: Steve S. <sn...@fr...> - 2003-01-30 08:50:06
|
On Tue, Jan 28, 2003 at 06:01:27PM -0500, James Neal wrote: > Hmm.. How would you implement that? A hook in daemon_read and > daemon_write that calls a disconnect_to_switch (which would need to be > written) followed by a connect_to_switch? To be honest, i didn't think much over it yet ;-) I thought of rewriting the daemon UML layer & the uml_switch with a SOCK_DGRAM instead of a SOCK_STREAM. But i don't really know if it's a good idea ;-) Another idea is like what you suggest, should be inspired from the eth layer, that maintains a link status. But again, i didn't looked much yet at the existing code. [ interesting, i rapidly saw that there is something already configured as SOCK_DGRAM ] Steve -- GPG public key available from http://snide.free.fr/gpg/snide-free.fr.asc Or by email to "snide at free.fr" with "send key pub" as subject Fingerprint: 91E3 C5F1 2641 4D0F EDD0 7116 D187 5929 14A8 FDA2 |