Feb 13 2008

Ubuntu Networking Configuration

Category: Ubuntu tips and TricksBipin Balakrishnan @ 8:16 pm

Networking Configuration of Ubuntu is different from fedora or redhat because there is no “netconfig” command here.So we have to do it in some other way as follows.
Command: sudo vi /etc/network/interfaces

here we will get a page like this

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.33
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed

replace your own ip configuration here write and quite

issue sudo /etc/init.d/networking restart

Tags: , ,

Leave a Reply