Info

the ramblings of a software engineer

Easiest to do this via console or VMware console window – this won’t work via SSH.

Release DHCP:

sudo dhclient -r

Edit Network Interface:

sudo vi /etc/network/interfaces

Change it to something looking like this (adjust for your network):

#The primary network interface
auto eth0
    iface eth0 inet static
    address 192.168.1.10
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1

Reconfigure the network:

sudo /etc/init.d/networking restart
About these ads

Comments

One Comment

Post a comment
  1. June 16, 2011

    Hi, what entice you to post an article. This article was extremely interesting, especially since I was searching for thoughts on this subject .Many thanks for this entry and for your website on the whole. I’ve just liked it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Basic HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS

Follow

Get every new post delivered to your Inbox.