Web lists-archives.com

Re: P.S. Re: Debian 9 in a VM with Proxmox 5 system




Hi!

Thanks, but this do not help me. I have still the same error.

http://prntscr.com/ftv2uj

This is a screenshot when I start the networking service and it failed, because of there is no route command!

----------

This is the config for (/etc/network/interfaces)

auto lo
iface lo inet loopback

auto ens18
allow-hotplug ens18
iface ens18 inet static
    address IP.V4.ADDR.ESS
    netmask 255.255.255.255
    broadcast IP.V4.ADDR.ESS
    post-up route add ROOTER.IPV4.ADDR.ESS dev ens18
    post-up route add default gw ROOTER.IPV4.ADDR.ESS
    pre-down route del ROOTER.IPV4.ADDR.ESS dev ens18
    pre-down route del default gw ROOTER.IPV4.ADDR.ESS

Cheers,
Maximilian
10. July 2017 at 1:57 PM
On Mon, Jul 10, 2017 at 01:44:00PM +0200, Maximilian Althaus wrote:
   Okay, I understand! But I have the problem that the Debian 9 VM can not
No, you don't. You already got told about ip -r. "route" and "ifconfig" are not
installed per default anymore.

   get an internet connection. This is because the network configuration
   (/etc/network/interfaces) fail, because Debian 9.0 could not found a
   device named eth0, but with Debian 8.8 with the same configuration I have
https://www.debian.org/releases/stable/amd64/release-notes/ch-whats-new.de.html#new-interface-names

eth0 will be kept on upgrades, but new installs get new interface names
(that is good, that removed unpredictability if you add a new network card.)

   no problem and I have an internet connection. On top of this on the Debian
   9 VM it the networking service says that there is no route commend. What
   can I do ????? Do I need an other network configuration
   (/etc/network/interfaces) ????????
as already said: if you want route, you need net-tools installed.
otherwise (afaicr) ip r(oute).

https://www.debian.org/releases/stable/amd64/release-notes/ch-information.de.html#iproute2

(I asume you're .de, if not, sorry and then read the english
release notes.)

Regards,

Rene
10. July 2017 at 1:44 PM
Hi!

Okay, I understand! But I have the problem that the Debian 9 VM can not get an internet connection. This is because the network configuration (/etc/network/interfaces) fail, because Debian 9.0 could not found a device named eth0, but with Debian 8.8 with the same configuration I have no problem and I have an internet connection. On top of this on the Debian 9 VM it the networking service says that there is no route commend. What can I do ????? Do I need an other network configuration (/etc/network/interfaces) ????????

Cheers,
Maximilian


10. July 2017 at 1:49 AM
P.S. That cheat sheet isn't nearly as nice...as I'd like it to be I
wish it was a compact printable two or three column reference with
net-tools commands in bold and the short-form iw equivalent
underneath.

eg: 'ip -r r' is more or less equivalent to 'route'
10. July 2017 at 1:07 AM
Hello,

today I installed a Proxmox 5 system on a dedicated server. Then I want to create a VM using the netinst Debian 9 stretch image. After a successful installation without network access I want to add a network, but when I type route in the commend line debian say that this command is not found, but when I used Debian 8.8 jessie with the netinst-img without network access this commend worked. WHY??????????????????

On top of this when I want to add my network to the Debian 9 VM this failed because of the route commend is not found and with the Debian 8.8 VM this is working. WHY??????????????????

Best wishes,
Maximilian Althaus