Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Static IP Creation Fails

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
mwalters
Posts: 1
Joined: 2022-01-15 11:06

Static IP Creation Fails

#1 Post by mwalters »

Hi all,

I have a fresh install of Debian 10.5 in my vbox6.1 with resolvconf installed.

I have followed multiple tutorials for creating a static ip, but they all have failed.

In vbox I have a bridged network for the enp0s3 network interface.

In my /etc/network/interfaces file I have

auto enp0s3
iface enp0s3 inet static
address 192.168.0.49
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
dns-nameserver 8.8.8.8
dns-domain example.com
dns-search example.com


However,

#ifup enp0s3 && ifdown enp0s3

always fails to raise network interfaces.

I even tried to configure the static IP via the GUI using gateway 192168.1.1 and while it claimed to be "successful" I was unable to resolve an domains (couldn't reach any sites from inside the vbox)


Does anybody know what I am missing?

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Static IP Creation Fails

#2 Post by kedaha »

Hi,
mwalters wrote: 2022-01-15 12:12 I have followed multiple tutorials for creating a static ip, but they all have failed.
Have you tried this one? how-to-set-static-ip-to-virtualbox-vm?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Post Reply