Last change
on this file since 95 was
95,
checked in by hartmans, 17 years ago
|
- Add qemu-ifup script that depends on the device model script and
invokes vif-sipbroute. As a consequence, we don't really support
bridged hvms any more. It's not clear how to get enough information
out of qemu to do this.
- Call arpspoof with 18.181.0.1's address. This is unfortunate in two
ways. First, if we renumber we'll need to update the script. Second,
it is possible that someone on 18.181 besides the router may have an
address cached. Unfortunately, it doesn't work right if we don't
send the spoofed arp directly to the router.
|
-
Property svn:executable set to
*
|
File size:
248 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | |
---|
4 | echo -c 'config qemu network with xen bridge for ' |
---|
5 | echo $* |
---|
6 | |
---|
7 | dev=$1 |
---|
8 | qemu_online=yes |
---|
9 | XENBUS_PATH=/local/domain/0/backend/vif/${domid}/0 |
---|
10 | vif=vif${domid}.0 |
---|
11 | export vif qemu_online XENBUS_PATH dev |
---|
12 | |
---|
13 | exec /etc/xen/scripts/vif-sipbroute online |
---|
Note: See
TracBrowser
for help on using the repository browser.