Thread: Static IP does not work in 11.04
i cannot set static ip eth0 in ubuntu 11.04.
i this:
sudo vi /etc/network/interfaces
and edit file to
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 172.16.1.39
netmask 255.255.0.0
network 172.16.0.0
gateway 172.16.0.1
and save file.
then edit resolv.conf file by:
sudo vi /etc/resolv.conf
to
nameserver 172.16.0.1
which ip of router, , save file.
then try restart eth0 by:
sudo ifdown eth0
but get:
ifdown: interface eth0 not configured
i can ping lo ubuntu nothing else, including 172.16,1.39.
what gives? anyone's appreciated, greatly.
manual methods have difficulty over-powering network manager if it's installed , running. it? if is, far better off set static ip details in nm. please see attached.
moreover, how address 172.16.1.39 going connect 172.16.0.1? maybe have more complicated corporate router/switch/access point of us.
if have ordinary home router, believe netmask needs 255.255.255.0.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Static IP does not work in 11.04
Ubuntu
Comments
Post a Comment