Flux rss

Having a static IP address under Ubuntu 8.10

Published by jak58, last update on Sunday November 23, 2008 06:08:30 AM by jak58

Having a static IP address under Ubuntu 8.10






NetworkManager is a program default to Ubuntu 8.10, aiming to provide a simplified Internet connection. NetworkManager at all costs find and maintain an internet connection. The main problem will be,if you want to use a fixed IP address. Settings made in NetworkManager will not be applicable at the next restart. Ultimately if you assign a fixed IP address in NetworkManager, this setting will be forgotten the next reboot.

To have a fixed IP persistent:


Uninstall NetworkManager
A straightforward approach is to uninstall NetworkManager:
sudo apt-get remove network-manager network-manager-gnome

Configure manually the interfaces


Modify the following file: /etc/networks/interfaces.
gksudo gedit /etc/network/interfaces

keep the following lines
auto lo
iface lo inet loopback

For a fix IP (10.0.0.1 on your eth1 interface) use:


auto eth1
iface eth1 inet static
address 10.0.0.1
netmask 255.255.255.0

To make use of dynamic IP (e.g eth0):


auto eth0
iface eth0 inet dhcp


then enter : sudo /etc/init.d/networking restart
to take changes in consideration.

DNS


If you want to make use of specific DNS, modify the following file /etc/resolv.conf
Note that if you are using DHCP on one of your interfaces, the contents of this file will be overwritten by the DHCP client.

To force the DHCP client to use a specific DNS, edit the file /etc/dhcp3/dhclient.conf

Add the following line:
prepend domain-name-servers 208.67.222.222,208.67.220.220;

DNS returned by DHCP are will be added after the DNS you specified.
Static ip not not saving in local area connec Hello, im using windows2k3 server, i given static ip addrass, but this option is not saving, after giving static ip when applys ok,again if i want to see static ip it is not showing the static ip selecting option, and it will be automatically... en.kioskea.net/forum/affich-19066-static-ip-not-not-saving-in-local-area-connec
One extra ip address showing ipconfig commond Hello, hi i am facing one problem, when i run the command "ipconfig" that time it will give one extra ip address. Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : in.ibm.com IP Address. . . . . . . . . . . . : 192.168.100.15... en.kioskea.net/forum/affich-27506-one-extra-ip-address-showing-ipconfig-commond
Cisco Ip route to Linux Hello Masters, I have a problem regarding linux routing, I have a static ip address (21.23.25.21 mask 255.255.255.252) using my cisco 2800 series i was able to ip route it to (25.21.23.2 mask 255.255.255.224) it was a public ip how can i do that using... en.kioskea.net/forum/affich-8096-cisco-ip-route-to-linux
What is your IP address?What is your IP address? What is an IP address? How to know your IP address? For Windows 2000/ Windows XP/ Windows Vista users For Windows 95/ Windows 98 users By using online tools What is an IP address? When a PC is connected to the... en.kioskea.net/faq/sujet-225-what-is-your-ip-address
Command to detect your IP address!Command to detect your IP address! IP address (Internet Protocol) is a numerical identification to detect your computer on a network. It is used to communicate between nodes on a computer network. Find below the commands to execute and provide... en.kioskea.net/faq/sujet-553-command-to-detect-your-ip-address
How to display the IP address of a visitor?How to display the IP address of a visitor? The IP address of a visitor refers to the computer address that has been used by the later and it can be practical in many ways. You can know who visited your website and from where they are... en.kioskea.net/faq/sujet-581-how-to-display-the-ip-address-of-a-visitor
Wireless Network gHello, At home we have a wireless connection within the house 3 Computers Two have vista one XP (Mine) We have static IP addresses and the network is protect using WEP We are using netgear router The computer that is right next to the router is fine... en.kioskea.net/forum/affich-25020-wireless-network-g
How to change IP address from command promptHello, Is there any way to change IP address of computer from Command prompt? I use WinXP as OS and I would like to know if I can change IP from Command prompt Please help me out. en.kioskea.net/forum/affich-13513-how-to-change-ip-address-from-command-prompt
PS3/PC IP address conflictWhat's up! When I am using my PS3 and my computer at the same time it says "Windows system error"... Seems there is an IP address conflict with another system on the network but my PS3 work's fine and my nat type is 2 my pc is also working... en.kioskea.net/forum/affich-152-ps3-pc-ip-address-conflict
Download Free IP SwitcherIf you are led to move regularly and to link you to different networks, you must re-configure IP address continuously, footbridge, mask of sub-network, proxy waiter, printer by default, etc.... For it, it is necessary to remember every network... en.kioskea.net/telecharger/telecharger-362-free-ip-switcher
Download IpSharkkAt job or in a public place where you have access to Internet, the network manager or the other users of network can follow your connection thanks to your address IP. IP Sharkk is a tool allowing to use the IP address of another user than you know.... en.kioskea.net/telecharger/telecharger-647-ipsharkk
Download NetSetManIt is frequent that you have to juggle between several IP address to link you to different places with your laptop computer. You have an address when you are in the office, other one for impression, at the home, etc. NetSetMan is an administrator of... en.kioskea.net/telecharger/telecharger-359-netsetman
Internet - IP Addresses Computers communicate over the Internet using the IP protocol (Internet Protocol), which uses numerical addresses, called IP addresses, made up of four whole numbers (4 bytes) between 0 and 255 and written in the format xxx.xxx.xxx.xxx. For example,... en.kioskea.net/internet/ip.php3
Intranet - Installing a DNS A DNS (domain name server) is a server that links names to the IP addresses of computers on a network. In order to set up such a server, it is necessary to install bind and named. They can be downloaded as RPM files (for Mandrake they are bind... en.kioskea.net/intranet/resdns.php3
Security - Network address translation (NAT) Network address translation or NAT was developed in order to respond to the shortage of IP addresses with IPv4 protocol (in time the IPv6 protocol will respond to this problem). In fact, in IPv4 addressing the number of routable IP addresses (which... en.kioskea.net/internet/nat.php3