[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Two network interfaces ?
From: |
Aziz Kezzou |
Subject: |
Re: [Qemu-devel] Two network interfaces ? |
Date: |
Sun, 24 Apr 2005 17:23:25 -0400 |
> -nics 2
>
> El 24/04/2005, a las 20:50, Aziz Kezzou escribió:
>
> > Hi all,
> > I am using QEMU with tun/tap on a linux host.
> > I would like to have qemu emulate two network interfaces for the guest
> > (FreeBSD).
> >
> > Any hints on how to do that ?
> > Thks,
> > -aziz
> >
> >
Thanks, I just figured out how to do this ;-)
Here is my /etc/qemu-ifup script in case someone reads this thread :
===================================================
#!/bin/sh
if [ "$1" = "tun0" ]
then
sudo /sbin/ifconfig $1 192.168.0.1
else
sudo /sbin/ifconfig $1 192.168.1.1
fi
====================================================
Greetings,
-aziz