well i put in 192.168.31.81 for name server when doing the netcardconfig.

ifconfig eth0 192.168.31.81 netmask 255.255.255.0 broadcast 192.168.31.255 up
route add default gw 192.168.31.81
SIOCADDRT: File exists
auto lo eth0
Setting Nameserver in /etc/resolv.conf to 192.168.31.81
Done.


when i run ifconfig i get this

eth0 Link encap:Ethernet HWaddr 00:80:AD:7E:CB:B4
inet addr:192.168.31.81 Bcast:192.168.31.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1487 errors:421 dropped:0 overruns:0 frame:0
TX packets:29 errors:2 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:1000
RX bytes:151148 (147.6 KiB) TX bytes:3236 (3.1 KiB)
Interrupt:3 Base address:0xd400

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:897 errors:0 dropped:0 overruns:0 frame:0
TX packets:897 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1640435 (1.5 MiB) TX bytes:1640435 (1.5 MiB)