I've been asked to share my modifications to net-tools ("um_eth_serv" &
"um_eth_tool") with the list, so here it goes.
The attached file includes:
* "um_eth_tool" which is, I believe, the last version from CVS;
* "um_eth_serv", an older version from CVS which I changed to produce a
modified debug output;
* "log2dump.plx", a small Perl script which converts the "um_eth_serv" debug
output to a tcpdump formatted file.
Example of use:
* To run the server:
# ./um_eth_serv >/tmp/um_eth_serv.log 2>&1 &
* To generate a dump file for tcpdump:
# ./log2dump.plx </tmp/um_eth_serv.log >/tmp/um_eth_serv.dump
You can then examine /tmp/um_eth_serv.dump with "tcpdump" or "ethereal"
("ethereal" is great).
UML network configuration uses the "old" method. For instance:
# um_eth_tool -i eth0 -n 100
# ifconfig eth0 192.168.1.1
P.S. I'm not a good C or Perl programmer and this was a quick hack to help
me solve a problem. Don't flame me please.
> -----Original Message-----
> From: Jorge Silva [mailto:Jorge.Silva@...]
> Sent: Wednesday, May 16, 2001 10:41 AM
> To: Jake Edge; user-mode-linux-user@...
> Subject: RE: [uml-user] trying to get networking going ... And a
> I use an older version of "um_eth_serv" and "um_eth_tool" with UML
> 0.41-2.4.4 over 2.2.16 Kernel (RH 7) and everything works
> fine. I'm using
> the "virtual ethernet interfaces" to make the connections
> between several
> UMLs (via "um_eth_serv").
> I did a small modification to the debug output of
> "um_eth_serv" and created
> a little perl script that converts this output into a tcpdump
> formatted file
> which you can then analize using tcpdump or ethereal. Quiet
> useful if you
> want to see what's going on in the "network".
> I'm connecting UML to the Host machine using the "slip-based
> umn device".
> Mail me if you're interested in this older "um_eth_serv".
> The question: I had to turn the "virtual ethernet interfaces" into
> promiscuous mode in order to receive multicast packets (I had
> a process
> "registered" to receive some multicast groups). Is this the
> normal situation