Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

static ip setup in ubuntu ver 7.1

  Date: Dec 28    Category: Unix / Linux / Ubuntu    Views: 486
  

I had ubuntu ver 7.01 setup for static Ip at onep point. Recently i
downloaded the latest verslion of Ubuntu ver 7.1 and installed it.
When i set up networking for static IP i do not get any connection. my
setup is as follows

static Ip address 192.168.1.20
subnet mask 255.255.255.0
default gateway 192.168.1.1

The DNS server addresses are provided via a lindsys wirelss router and
the computer is connected directly to the router. I use the same DNS
addresses that i use when i am running window XP and it works fine
under that operating system. When i try the same settings under ubuntu
i can not get any reponse at all. Any suggestion on how to proceed
will be greatly appreciated

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Dec 28    

https://help.ubuntu.com/community/StaticDnsWithDhcp

 
Answer #2    Answered 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

 
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: