diff --git a/appvm/qubes_core b/appvm/qubes_core index c8dd150..6e689bb 100755 --- a/appvm/qubes_core +++ b/appvm/qubes_core @@ -60,8 +60,8 @@ start() gateway=$(/usr/bin/xenstore-read qubes_gateway) secondary_dns=$(/usr/bin/xenstore-read qubes_secondary_dns) if [ x$ip != x ]; then - /sbin/ifconfig eth0 $ip netmask $netmask up - /sbin/route add default gw $gateway + /sbin/ifconfig eth0 $ip netmask 255.255.255.255 up + /sbin/route add default dev eth0 echo "nameserver $gateway" > /etc/resolv.conf echo "nameserver $secondary_dns" >> /etc/resolv.conf fi