Set static IP debian install

Status
Not open for further replies.

netswork

Bronze Partner
Intermediate Cert.
Joined
Mar 11, 2011
Messages
606
Reaction score
4
Is there an option I missed in the general Debian install via the 3cx ISO that allows you to set a static IP? I tried the advanced installer option but it ends up failing near the end. I found a post with a link to a video which was supposed to show a place in the install to press "escape" to be able to set the static IP, but the link to the video is dead.
 
  • Like
Reactions: netswork
You can set up ip of you linux machine by editing etc/network/interface. Using ssh and vi for exemple.
You need to change to something like that :
"
iface eth0 inet static
address x.x.x.x
gateway y.y.y.y
netmask z.z.z.z
"
where ethx is the interface you want, x,y and z settings you want. Then reboot and you will have your static ip.
Or just reserve mac address of your machine in your dhcp server for the ip you want, maybe more proper way.
 
Thanks. Following the link complex1 listed I was able to get it done. When I boot the 3cx ISO there is a spot to click "go back" which allows you to set a static IP.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,934
Messages
589,822
Members
164,814
Latest member
Ruben756