Friday, November 23, 2012

Ubuntu network config


Quote:
ifconfig -a
your new NIC shows up, albeit without an ip address. The trouble may well be, that on Ubuntu server, new NIC's, although automatically recognized, don't activate by default. Assuming that ifconfig shows your card, look at
Code:
/etc/network/interfaces
and see if your new card is there. If not, add something like:
Code:
auto eth1
iface eth1 inet dhcp
to use dhcp, or something like
Code:
auto eth1
iface eth1 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
to use a static IP address.

When you have finished, run
Code:
/etc/init.d/networking restart
or just restart the server. That might well fix your problem. Good luck!

source - http://www.linuxquestions.org/questions/linux-server-73/does-a-new-nic-need-to-be-manually-configured-in-ubuntu-server-643580/

No comments:

Post a Comment