Configure NIC in Linux


Follow the steps below and Pls., take note that the basis for GUI interface used for by this document is GNOME.


  • Log in as root 
  • click on GNOME main menu button and choosing Programs -> System -> Network Configuration 
  • click the Device tab
  • click Add 
  • select the Ethernet or Wireless NIC
  • type a descriptive word such as LAN_card01 in the Nickname text box
  • click the Protocols tab
  • the TCP/IP protocol is highlighted by default, click Edit 
  • uncheck the Automatically obtain IP address settings with dhcp 
  • assign an IP address to your computer or terminal by typing it in the addres text box.   ex.: 192.168.244.211
  • type your IP address's subnet mask in the text box, ex.: 255.255.255.0 netmask for class C, 255.255.0.0 netmask for class B and 255.0.0.0 for class A
  • in the default Gateway address text box, type the IP address of the Internet gateway for your LAN (see sample below)

  

Note: 

Gateway IP The Internet Gateway is the device(router or computer) that connects your network to your ISP and the Internet.   Obtain the address from your system administrator, If you're at work and have one.   If you're a home user, a typical convention is to assign the highest address --- 254 --- of a class C subnetwork as the gateway.


      ex.: 192.168.1.254