* [uml-devel] Linking 2 switches
@ 2003-11-01 23:19 Benoit
2003-11-03 2:38 ` Jeff Dike
0 siblings, 1 reply; 5+ messages in thread
From: Benoit @ 2003-11-01 23:19 UTC (permalink / raw)
To: user-mode-linux-devel
Hello,
In order tu make a network of uml located on different machines, I nedded to
link 2 uml_switch's between themselves via a network connexion. The goal is
to use UML for linux practices on real machines where we can't have a tun/tap
connections.
So I modified uml_switch to listen on tcp port and created uml_uplink which is
able to connect to a local switch via unix socket and to another switch via a
tcp connection.
Do you think his is a good solution ?
Benoit
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Linking 2 switches
2003-11-03 2:38 ` Jeff Dike
@ 2003-11-03 2:38 ` David Coulson
2003-11-03 9:54 ` Benoit
2003-11-03 9:52 ` Benoit
1 sibling, 1 reply; 5+ messages in thread
From: David Coulson @ 2003-11-03 2:38 UTC (permalink / raw)
To: Jeff Dike; +Cc: Benoit, user-mode-linux-devel
Jeff Dike wrote:
> What's the matter with just hooking the switches together directly by UDP?
I usually just bridge tap devices across a physical network, or use the
VLAN stuff in the kernel. Does uml_switch support UDP? Maybe it'd be
cool if it used multicast out of specified network interfaces :-)
David
--
David Coulson email: d@vidcoulson.com
Linux Developer / web: http://davidcoulson.net/
Network Engineer phone: (216) 533-6967
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Linking 2 switches
2003-11-01 23:19 [uml-devel] Linking 2 switches Benoit
@ 2003-11-03 2:38 ` Jeff Dike
2003-11-03 2:38 ` David Coulson
2003-11-03 9:52 ` Benoit
0 siblings, 2 replies; 5+ messages in thread
From: Jeff Dike @ 2003-11-03 2:38 UTC (permalink / raw)
To: Benoit; +Cc: user-mode-linux-devel
benoit.peccatte@enst-bretagne.fr said:
> So I modified uml_switch to listen on tcp port and created uml_uplink
> which is able to connect to a local switch via unix socket and to
> another switch via a tcp connection.
>
> Do you think his is a good solution ?
What's the matter with just hooking the switches together directly by UDP?
Jeff
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Linking 2 switches
2003-11-03 2:38 ` Jeff Dike
2003-11-03 2:38 ` David Coulson
@ 2003-11-03 9:52 ` Benoit
1 sibling, 0 replies; 5+ messages in thread
From: Benoit @ 2003-11-03 9:52 UTC (permalink / raw)
To: user-mode-linux-devel
On Monday 03 November 2003 03:38, you wrote:
> benoit.peccatte@enst-bretagne.fr said:
> > So I modified uml_switch to listen on tcp port and created uml_uplink
> > which is able to connect to a local switch via unix socket and to
> > another switch via a tcp connection.
> >
> > Do you think his is a good solution ?
>
> What's the matter with just hooking the switches together directly by UDP?
First it is not implemented in uml_switch (ot maybe I need glasses :- ))
Secondly, I choosed TCP beacause of the easy way to write it (a few lines
less) which it a totaly arbitrary choice.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Linking 2 switches
2003-11-03 2:38 ` David Coulson
@ 2003-11-03 9:54 ` Benoit
0 siblings, 0 replies; 5+ messages in thread
From: Benoit @ 2003-11-03 9:54 UTC (permalink / raw)
To: user-mode-linux-devel
On Monday 03 November 2003 03:38, you wrote:
> Jeff Dike wrote:
> > What's the matter with just hooking the switches together directly by
> > UDP?
>
> I usually just bridge tap devices across a physical network, or use the
> VLAN stuff in the kernel. Does uml_switch support UDP? Maybe it'd be
> cool if it used multicast out of specified network interfaces :-)
The problen with tap is that root need to configure a tap device. I can't
afford such a thing.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-11-03 9:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-01 23:19 [uml-devel] Linking 2 switches Benoit
2003-11-03 2:38 ` Jeff Dike
2003-11-03 2:38 ` David Coulson
2003-11-03 9:54 ` Benoit
2003-11-03 9:52 ` Benoit
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.