07-10-2002
if you are using a linksys router with dhcp, all you need to do is for the computer that you want to have a static ip, just set that computers ip to any value like this, 192.168.1.2 - 99
10 More Discussions You Might Find Interesting
1. HP-UX
***Newbie alert***
What's the easiest way to accomplish this? An admin left our company and I have taken over his HP Workstation and moved it to a different location that is on a different IP segment.
I have performed a number of google searches but the steps I have followed haven't worked.
... (1 Reply)
Discussion started by: Steelysteel
1 Replies
2. IP Networking
I have a USB Wireless Adapter using the rum0 driver. All I want to do is set a perminent static IP for the onboard wired interface elxl0. I can plumb the wired interface up fine on the fly, but when I try to save the static IP over a reboot, I lose the IP address assigned to rum0 from my wireless... (1 Reply)
Discussion started by: ts97783
1 Replies
3. IP Networking
I am trying to write a set of scripts for my Ubuntu 810 Server to allow a user to change from DHCP to a user-supplied Static IP, Subnet, Gateway and DNS Servers.
So far I have the following, where $USERCHOICE is a user-entered value in each case:
ifconfig eth0 down && ifconfig eth0 $USERCHOICE... (1 Reply)
Discussion started by: cleanden
1 Replies
4. Solaris
Hello friend, I am new in UNIX, but I want to learn a lot
Well I have a problem to try to configure my PC with a static IP Address
(IP 192.168.1.39, Mask 255.255.255.0, gateway 192.168.1.1)
(DNS 200.48.225.130 and 200.48.225.146).
where are the file that I must be change?
The SO is Sun Solaris... (15 Replies)
Discussion started by: andresguillen
15 Replies
5. Red Hat
Hi,
I am using RHEL 5.1 and i would like to know,
how to find the whether my system is using DHCP or STATIC IP
with out looking at /etc/sysconfig/network-scripts/ifconfig-eth0 configuration file.
Regards,
Venkat (3 Replies)
Discussion started by: venkat55
3 Replies
6. UNIX for Dummies Questions & Answers
Hey guys ,
YEs this is probably silly for most but i am new to this forum and solaris . i am curious to know if the ip address we have for our solaris server is static or dhcp . how can i tell ? will ifconfig -a tell me this ? or other commands?
Thanks in advance (1 Reply)
Discussion started by: xdrivex
1 Replies
7. Red Hat
Hi All,
Could you please explain the purpose of assigning the static IP by using the DHCP Concept. Like by using the clients MAC address we assign the static IP Address. Waiting for your reply. Thanks in Advance. (6 Replies)
Discussion started by: Sharath Kumar
6 Replies
8. HP-UX
Hi,
I can find the IP details whether it is Static or dynamic in Linux machine from the location /etc/sysconfig/network-scripts/ifconfig-eth0 configuration file.
Can someone suggest a location to find the same in HP UX machines?
-Vivek (2 Replies)
Discussion started by: vkk
2 Replies
9. IP Networking
I'm trying to figure out what circumstances would cause an Open Solaris 11.2 host to switch itself from a static to a DHCP ip address upon reboot. This has only happened once but is a cause for some concern as this machine will be part of a web server pool.
Nothing has changed on the LAN that... (2 Replies)
Discussion started by: SmokeyJoe
2 Replies
10. Solaris
We have 2 solaris 10 t5240 servers with static IP addresses on nxge0 I/F which were rebooted a few days back with a known good config that has been in place for years (for /etc/hosts, /etc/hostname.nxge0, /etc/netmasks, etc)
They are not using dhcp.
About the same time today, both of their... (7 Replies)
Discussion started by: hdatontodo
7 Replies
LEARN ABOUT DEBIAN
tgt-setup-lun
tgt-setup-lun(8) System Manager's Manual tgt-setup-lun(8)
NAME
tgt-setup-lun - creates a target, adds a device to the target and defines initiators that can connect to the target
SYNOPSIS
tgt-setup-lun -d device -n target_name [initiator_IP1 initiator_IP2 ...] [-h]
DESCRIPTION
Starts tgtd if necessary and creates a target according to the supplied target_name. The format of the target name is as follows:
iqn.2001-04.com.<hostname>-<target_name> The target name must be unique.
The script then adds the requested device to the target. If specific IP addresses are defined, it adds them to the list of allowed initia-
tors for that target. If no IP addresses is defined, it defines that the target accepts any initiator.
EXAMPLES
Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81:
tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81
Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81 and 192.168.10.82:
tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 192.168.10.82
Create a target that uses /dev/sdb1 and allows connections from any initiator:
tgt-setup-lun -d /dev/sdb1 -n my_target
Display help:
tgt-setup-lun -h
AUTHOR
Written by Erez Zilber
REPORTING BUGS
Report bugs to <stgt@vger.kernel.org>
COPYRIGHT
Copyright (C) Voltaire Ltd. 2008.
tgt-setup-lun(8)