qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Two network interfaces ?


From: Flavio Visentin
Subject: Re: [Qemu-devel] Two network interfaces ?
Date: Mon, 25 Apr 2005 22:55:55 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Thanks, I just figured out how to do this ;-)
| Here is my /etc/qemu-ifup script in case someone reads this thread :

A little more generic, if you want more nics or use more than 1 VM.

#!/bin/sh
INTERF="$1"
NUM=$(echo $INTERF | sed 's/[^0-9]//g')
sudo /sbin/ifconfig $INTERF 192.168.$NUM.1

- --
Flavio Visentin

|                     \|||/
|                    @/0.0\@
|                     \ - /
+------------------oOOo---oOOo------------------

There are only 10 types of people in this world:
those who understand binary, and those who don't.

GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCbVlbusUmHkh1cnoRApcSAJ0dEQo3OuAuHFps/1NuT46LX3PMnACfYuHG
vILcsQOj8lFN9ViCAZNL58c=
=g/cM
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]