Displaying 5 results from an estimated 5 matches for "guest_ip".
Did you mean:
guest_rip
2018 Aug 29
2
Setting up port forwarding to guests on nat network
...ash
# IMPORTANT: Change the "VM NAME" string to match your actual VM Name.
# In order to create rules to other VMs, just duplicate the below block and configure
# it accordingly.
if [ "${1}" = "testy" ]; then
# Update the following variables to fit your setup
GUEST_IP='10.128.10.100'
GUEST_PORT='22'
HOST_PORT='2588'
if [ "${2}" = "stopped" ] || [ "${2}" = "reconnect" ]; then
/sbin/iptables -D FORWARD -o virbr0 -d $GUEST_IP -j ACCEPT
/sbin/iptables -t nat -D PREROUTING -p...
2018 Aug 30
0
Re: Setting up port forwarding to guests on nat network
...e the "VM NAME" string to match your actual VM Name.
># In order to create rules to other VMs, just duplicate the below block and configure
># it accordingly.
>if [ "${1}" = "testy" ]; then
>
> # Update the following variables to fit your setup
> GUEST_IP='10.128.10.100'
> GUEST_PORT='22'
> HOST_PORT='2588'
>
> if [ "${2}" = "stopped" ] || [ "${2}" = "reconnect" ]; then
> /sbin/iptables -D FORWARD -o virbr0 -d $GUEST_IP -j ACCEPT
> /sbin/iptables...
2018 Aug 30
1
Re: Setting up port forwarding to guests on nat network
...o match your actual VM Name.
> ># In order to create rules to other VMs, just duplicate the below block
> and configure
> ># it accordingly.
> >if [ "${1}" = "testy" ]; then
> >
> > # Update the following variables to fit your setup
> > GUEST_IP='10.128.10.100'
> > GUEST_PORT='22'
> > HOST_PORT='2588'
> >
> > if [ "${2}" = "stopped" ] || [ "${2}" = "reconnect" ]; then
> > /sbin/iptables -D FORWARD -o virbr0 -d $GUEST_IP -j ACCEPT
>...
2011 Nov 15
2
[RFC] kvm tools: Add support for virtio-mmio
...:= $(call try-cc,$(SOURCE_BFD),$(FLAGS_BFD))
diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c
index 13025db..1701202 100644
--- a/tools/kvm/builtin-run.c
+++ b/tools/kvm/builtin-run.c
@@ -217,6 +217,8 @@ static int set_net_param(struct virtio_net_params *p, const char *param,
p->guest_ip = strdup(val);
} else if (strcmp(param, "host_ip") == 0) {
p->host_ip = strdup(val);
+ } else if (strcmp(param, "virtio_trans") == 0) {
+ p->virtio_trans = strdup(val);
}
return 0;
diff --git a/tools/kvm/include/kvm/virtio-mmio.h b/tools/kvm/include/kvm/virtio-...
2011 Nov 15
2
[RFC] kvm tools: Add support for virtio-mmio
...:= $(call try-cc,$(SOURCE_BFD),$(FLAGS_BFD))
diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c
index 13025db..1701202 100644
--- a/tools/kvm/builtin-run.c
+++ b/tools/kvm/builtin-run.c
@@ -217,6 +217,8 @@ static int set_net_param(struct virtio_net_params *p, const char *param,
p->guest_ip = strdup(val);
} else if (strcmp(param, "host_ip") == 0) {
p->host_ip = strdup(val);
+ } else if (strcmp(param, "virtio_trans") == 0) {
+ p->virtio_trans = strdup(val);
}
return 0;
diff --git a/tools/kvm/include/kvm/virtio-mmio.h b/tools/kvm/include/kvm/virtio-...