Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Dec 28 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Dec 28

What do you get when you type ifconfig ?

Something like this?

abc@zaphod$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:D8:33:7D:F2
inet addr:192.168.2.252 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe33:7df2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9322814 errors:0 dropped:0 overruns:0 frame:0
TX packets:31991928 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3367400074 (3.1 GB) TX bytes:109933767 (104.8 MB)
Interrupt:21 Base address:0x2400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1559659 errors:0 dropped:0 overruns:0 frame:0
TX packets:1559659 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:228304340 (217.7 MB) TX bytes:228304340 (217.7 MB)

When you type cat /etc/resolv.conf ?

Somthing like this?

abc@zaphod$ cat /etc/resolv.conf
# generated by NetworkManager, do not edit!



nameserver 192.168.2.1


When you type cat /etc/network/interfaces ?

Something like this?

abc@zaphod$ cat /etc/network/interfaces
auto lo
iface lo inet loopback


iface eth0 inet static
address 192.168.2.252
netmask 255.255.255.0
gateway 192.168.2.1

auto eth0

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on static ip setup in ubuntu ver 7.1 Or get search suggestion and latest updates.


Tagged: