Hey gang,
I ran into an issue the other day where I upgraded some packages, and it caused my proxmox host to not boot correctly or launch any VM's. Since my router IS a VM on the server, this created a problem,as I couldn't downgrade without access to the proxmox repo.
I have a static IP from my isp and figured no problem I'll just reconfigure the /etc/network/interfaces file with my new settings, but no matter what I tried I couldn't get a direct internet connection to work! ( spent hours on this pounding my head). I'm pretty sure I had the interfaces config right, but feel like maybe I missed something in the routing table? I was unable to ping anything, even my own static ip.
Can someone tell me exactly what would be needed to get my physical nic ( ens3p0 ) conected to my fiber modem with a static ip, up and running via command line? and what route commands would be needed? or an example of what the routing table should look like?
Thanks in advance.
Here's what I had in my interfaces file:
auto lo
iface lo inet loopback
auto enp3s0
iface enp3s0 inet static
address 64.xxx.xxx.xxx
gateway 64.xxx.xxx.xxx
netmask 255.255.255.0
Just as a further note, the interface would come up but really had no connectivity.
and my resolv.conf file:
nameserver 1.1.1.1
nameserver 1.0.0.1
( I manually added these entries when trying to get the internet working - they are normally different )
Thanks again.
I ran into an issue the other day where I upgraded some packages, and it caused my proxmox host to not boot correctly or launch any VM's. Since my router IS a VM on the server, this created a problem,as I couldn't downgrade without access to the proxmox repo.
I have a static IP from my isp and figured no problem I'll just reconfigure the /etc/network/interfaces file with my new settings, but no matter what I tried I couldn't get a direct internet connection to work! ( spent hours on this pounding my head). I'm pretty sure I had the interfaces config right, but feel like maybe I missed something in the routing table? I was unable to ping anything, even my own static ip.
Can someone tell me exactly what would be needed to get my physical nic ( ens3p0 ) conected to my fiber modem with a static ip, up and running via command line? and what route commands would be needed? or an example of what the routing table should look like?
Thanks in advance.
Here's what I had in my interfaces file:
auto lo
iface lo inet loopback
auto enp3s0
iface enp3s0 inet static
address 64.xxx.xxx.xxx
gateway 64.xxx.xxx.xxx
netmask 255.255.255.0
Just as a further note, the interface would come up but really had no connectivity.
and my resolv.conf file:
nameserver 1.1.1.1
nameserver 1.0.0.1
( I manually added these entries when trying to get the internet working - they are normally different )
Thanks again.