Static IP

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:49, 21 June 2012 (edit)
Alvin (Talk | contribs)
m (Windows)
← Previous diff
Current revision (12:40, 26 June 2012) (edit) (undo)
Alvin (Talk | contribs)
m (IP Tool for Windows)
 
Line 21: Line 21:
As of 2010 there is a nifty tool for setting IP details in windows. Its called [http://www.netsetman.com NetSetMan]. As of 2010 there is a nifty tool for setting IP details in windows. Its called [http://www.netsetman.com NetSetMan].
With the click of a button its quick and easy to switch between six different IP settings. You define these settings yourself, so its a very handy tool. With the click of a button its quick and easy to switch between six different IP settings. You define these settings yourself, so its a very handy tool.
 +* Select network card
 +* Set IP details
 +* click Activate
 +
 +[[image:netsetman.png]]
==Linux== ==Linux==

Current revision

Regardless of which OS you use, or the method you use to set the IP address, these are the settings you need:

  • set the (Static) IP address to 192.168.1.2
  • set subnet mask to 255.255.255.0
  • set gateway address to 192.168.1.1


[edit] Windows

On all versions of windows this is the form for setting a static IP address. Below are listed how you can get to this form in different versions of windows

Image:IPv4-properties.png

  • WinXP:
(to be filled out)
  • Vista:
(to be filled out)
  • Win7:
Control Panel -> Network and Sharing Center -> menu on left: Change Adapter Settings -> right click the network connection name and select: Properties -> on list select: Internet Protocol Version 4 (TCP/IPv4) -> click button: Properties

[edit] IP Tool for Windows

As of 2010 there is a nifty tool for setting IP details in windows. Its called NetSetMan. With the click of a button its quick and easy to switch between six different IP settings. You define these settings yourself, so its a very handy tool.

  • Select network card
  • Set IP details
  • click Activate

image:netsetman.png

[edit] Linux

Use one of the following methods ("A" or "B"), depending on whether you are using Ubuntu 8.04 (Hardy) or a later version (Intrepid or Jaunty).


A (For Ubuntu 8.04 Hardy): Turn off wireless networking.

On Ubuntu, right-click on the networking icon in the upper right of the screen and uncheck "Enable Wireless."

Set wired networking to a static address of 192.168.1.2.

On Ubuntu, left-click on the networking icon in the upper right of the screen and choose "Manual Configuration." Click "Unlock" and enter your password. Click on "Wired Connection," then "Properties." Uncheck the "Enable roaming mode" box. Under "Configuration," choose "Static IP address." Set "IP address" to 192.168.1.2. Set "Subnet mask" to 255.255.255.0. Set "Gateway address" to 192.168.1.1.


B (for Ubuntu 8.10 Intrepid or 9.04 Jaunty): Disable Networking in the GUI.

On Ubuntu, right-click on the networking icon in the upper right of the screen and uncheck "Enable Networking."

Set your wired networking to static address 192.168.1.2 with the following command, ensuring 'ethx' is replaced with the interface name of your wired network interface.

sudo ifconfig ethx 192.168.1.2 netmask 255.255.255.0 up