Debian 10 VM, VMXNET3 wont take static without reboot

Kernels & Hardware, configuring network, installing services

Debian 10 VM, VMXNET3 wont take static without reboot

Postby mleone » 2019-11-16 21:50

I upgraded my home servers from a mishmash of hardware to a single virtual environment. It's an older Intel S2600CP4 with 2x Intel Xeon 2620v2s and 64gb of ram. Small raid of 6x 1TB 10k rpm drives in a raid5 on an LSI 9271-8i, 120GB NVMe and a 120GB SSD which has the vmware install and host cache. I am running vmWare ESXi 6.7U3 Essentials. I also have a Synology RS815+ that has 4x 4TB drives I will add via iSCSI or NFS. I have also added in a Broadcom 2x 1GbE card in because it was on my bench at work and reasons. So I have 6x 1GbE uplinks to my switch.

Anyway, I'm loading a new plex server and decided on debian 10. I am not using a desktop, so its just commandline. I set the ip in /etc/network/interfaces and then do systemctl restart networking and the ens192 is down. I do an ip link set dev ens192 up and it comes up with an ipv6 address only. I reboot, still down and won't come up with the IP. So I change it to DHCP. Restart networking, no ens192, I bring it up, no ipv4, so I reboot and I have dhcp address. So I change the IP to one higher. and restart networking, no ens192, so I do the ip link to bring up the interface and it doesn't come up with ipv4.So I reboot, it comes up with the static. Now the other address I used is empty. I know because I had my "new" 2019 Essentials domain controller using it while I was migrating from my old 2012 R2 DC. But when I demoted the old DC, I moved it to another IP entirely and set the new DC into it's old IP. Thusly leaving that IP free.

my network is a bit complex because I have 5 vlans. But my vlan where my servers reside is 10.25.10.0/24. The gateway is 10.25.10.1, dhcp starts at .100 and ends at .199. Server BMC is 10.25.10.210, vmware IP is 10.25.10.220.

My old DC was 10.25.10.20, I had made the new DC 10.25.10.21 did the migration and then moved the old DC to 10.25.10.24 before demoting it, uncoupling it from the domain to a workgroup, uninstalling all my RMM agents and ultimately powering it off. The NEW DC was then set to 10.25.10.20. I then tried to make debian 10.25.10.21 but it didn't like it. So it is now .22.

I have vmware tools installed, dnsutils, net-tools and sudo installed - thats it right now.

P.S.: If I ping 10.25.10.21 right now, I get Destination Host Unreachable, so it is not in use. Debian just hates that IP.

My interfaces is:
auto ens192
iface ens192 inet static
address 10.25.10.22
netmask 255.255.255.0
gateway 10.25.10.1
dns-nameservers 10.25.10.20 10.25.10.1
dns-search mylocaldomain.lan

I didn't add in network or broadcast because I was tired of typing. but I would have used .0 and .255 respectively.

Is it a bug, feature or user error?
mleone
 
Posts: 2
Joined: 2019-11-16 21:19

Re: Debian 10 VM, VMXNET3 wont take static without reboot

Postby mleone » 2019-11-24 17:39

Great help there... Don't all answer at once.
mleone
 
Posts: 2
Joined: 2019-11-16 21:19

Re: Debian 10 VM, VMXNET3 wont take static without reboot

Postby p.H » 2019-11-24 18:14

1) Do not restart networking after editing /etc/network/interfaces. It has issues.

2) If you want more interest from people, do not just tell the story. Show it. Show the files you edited, the exact commands you typed and the full output you got.
p.H
 
Posts: 1185
Joined: 2017-09-17 07:12

Re: Debian 10 VM, VMXNET3 wont take static without reboot

Postby Soul Singin' » 2019-11-26 05:16

mleone wrote:Great help there... Don't all answer at once.

What's the question? You wrote 500 words (I counted) and I have no idea what the question is.

To be fair, there is one (and only one) question in your post:

mleone wrote:Is it a bug, feature or user error?

What bug? What feature? What user error?

Without a well-defined question, the problem exists between keyboard and chair.
User avatar
Soul Singin'
 
Posts: 1583
Joined: 2008-12-21 07:02


Return to System configuration

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable