On 12/10/15 18:56, Myungho Jung wrote:
Hi,
I'm trying to run rumprun server application on xen hypervisor. But, it
works only for ipv6 auto even if I set as static ipv4 address. Here's my
configuration setting for nginx.
rumprun xen -i -M 128 \
-I net1,xenif -W net1,inet,static,10.0.0.10/24 \
-b ../images/data.iso,/data \
-b ../images/stubetc.iso,/etc \
-- ../../nginx/bin/nginx.bin -c /data/conf/nginx.conf
11: xenbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP group default
link/ether 00:24:e8:79:08:a3 brd ff:ff:ff:ff:ff:ff
inet 155.98.38.111/22 brd 155.98.39.255 scope global xenbr0
valid_lft forever preferred_lft forever
inet6 fe80::224:e8ff:fe79:8a3/64 scope link
valid_lft forever preferred_lft forever
...
19: vif8.0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master xenbr0 state UP group default qlen 1
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcff:ffff:feff:ffff/64 scope link
valid_lft forever preferred_lft forever
Define "works". How are you trying to reach 10.0.0.10? There's at
least nothing configured to route to 10.0.0.0/24 in your above dumps.
It looks like working but there is only ipv6 address for the VM instead of
my setting. I also tried to set inet, dhcp but it showed error messages
below:
...
xenif0: Ethernet address 00:16:3e:62:xx:xx
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
dhcp get: timed out waiting for response.
rumprun: configuring dhcp for xenif0 failed: 49
Are you sure your DHCP server is reachable from xenbr0?