Network Setup

Thread Tools Search this Thread
Special Forums IP Networking Network Setup
# 1  
Old 05-01-2002
Question Network Setup

I am moving a SUN 250 server from one location to another. The IP address has to change in order to make the server visible in the new building. The system administrator has given me the new IP address for the server, the DNS server IP and the default gateway IP. First question, is this all the information I will need to setup the server on a new network. Second question is, where do I make the changes to the IP addresses?

I know about the etc/hosts file, and added the IP of the server there. I tried to update the etc/defaultrouter file but the OS says I can't edit it, nor can I change permissions to allow me to edit it. This means the etc/defaultrouter file points to an IP for another location.
# 2  
Old 05-01-2002
You should be able to edit /etc/defaultrouter - it should have rw-r--r-- on it as permissions.

The following copied from SUNSolve Doc ID 21252 free info doc on changing IP dated 19 Dec 2000 -

Normally to change the hostname for a machine the sys-unconfig command is used.
sys-unconfig affects the six files detailed below.

Note #1: This procedure should not be used for NIS+ masters/replicas or NIS masters.
This is only for client machines.

Note #2: This only changes the information locally. If the system is running NIS/NIS+
and/or DNS, the changes need to be made in these databases as well.

To change the hostname without having running sys-unconfig, edit the following

1) /etc/hosts (change file entry to the new hostname)

2) /etc/nodename (change file entry to the new hostname)

3) /etc/hostname.<interface> (where <interface> is the name of the primary
interface for this system, i.e hostname.hme0 or hostname.le0. Change file entry to the new hostname.)

4) /etc/net/ticlts/hosts (change both columns to the new hostname)

5) /etc/net/ticots/hosts (change both coluums to the new hostname)

6) /etc/net/ticotsord/hosts (change both columns to the new hostname)

To change the IP address for a machine without running sys-unconfig, edit the following files:

1) /etc/hosts (change the IP address)

2) /etc/netmasks (if subnetting is used)

3) /etc/defaultrouter (to specify the new gateway for this subnet)

As always, check the man pages as your system may (and seems to be) different from the norm.
# 3  
Old 05-01-2002
Hammer & Screwdriver Network Setup

the above procedure by hoghunter is right

To configure the DNS
edit /etc/resolv.conf

you might need to update the default domain if the domain is different from the previous one, this is needed for NIS/NIS+

To update defaultdomain
edit /etc/defaultdomain

default route could be updated by using this command

route add 0 [next hop/gateway]

next hop/gateway being your local router's ip address
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

[SOLVED] Wireless Network Setup

Hi, I am trying to set up a wireless internet connection on my centos OS (6). I can connect via the copper using the internal LAN but cannot get the wireless connection working. The 2 files that I have configured are: My wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant... (1 Reply)
Discussion started by: Duffs22
1 Replies

2. IP Networking

RHEL 5.0 IP Network setup

Can someone here please help and walk me through what I need to do to setup my network so that I can start an oracle listener ? I am connected through a router (netgear) and everytime I start my machine the ip address changes because of DHCP (I think). There are so many parameters that I do... (5 Replies)
Discussion started by: jxh461
5 Replies

3. Linux

How to setup local IPv6 network

Hello everyone, I have question how i can setup local ipv6 network ? Here is my network: I have main ipv6 gw and server X for example that is connected with my main ipv6 gw and all ping6, traceroute6 is working. My local network is connected to one switch and main ipv4 gateway is that server X... (2 Replies)
Discussion started by: gild
2 Replies

4. Solaris

How can I setup a NFS server to share with a whole network?

I have a solaris 10 system that is setup as a NFS server. The NFS clients have DHCP running. How do I setup the server, so that it allows mounts for any machine on the network? (3 Replies)
Discussion started by: krishania
3 Replies

5. Linux

Proxy / Network Anonymizer setup?

I'm trying to set up a system where I have a front end machine that has a list of proxies it knows to connect through, and all the machines in the office route through this front end machine to go through the appropriate proxy IP. Could someone point me in the direction of some software... (0 Replies)
Discussion started by: kettlewell
0 Replies

6. Solaris

setup network interface

hi, i have sunfire 280r sparc. i would like to know how to setup interface with command ndd line and put it in the file permanently. my card is eri0 and speed can be 100mb or 1000mb full duplex. thanks in advance. (3 Replies)
Discussion started by: lamoul
3 Replies

7. Solaris

unable to setup network,urgent help needed!!

Hi all, I just bought a new system, but am unable to configure network on it.. am using a nge0 ethernet interface to login. i've tried all i knew but not of the webpages seem to open. Here is what i've done.. ifconfig nge0 plumb ifconfig -a (nge0) was being displayed as up and running. ... (23 Replies)
Discussion started by: wrapster
23 Replies

8. UNIX for Dummies Questions & Answers

solaris 10 wireless network setup

I installed solaris 10 x86 on my dell laptop on a partition alongside windows xp. I am able to connect to the internet in xp with both my ethernet local area connection as well as through my wireless network card. But, however i do not have clue as to how to go about it in solaris. i did not... (0 Replies)
Discussion started by: stakes20
0 Replies

9. IP Networking

network setup???

Hello everybody, I am a new unix user (Solaris 10). I was wondering if anybody can help me figure out how to connect to the network in my work place. I know my IP address, subnet mask, gateway, primary and secondary DNS addresses but I don't know how to enter these settings into my Solaris. ... (3 Replies)
Discussion started by: arash05
3 Replies

10. Solaris

network setup

on sparc solairs 2.8 which files i need to configure for network setup: /etc/hosts /etc/defaultrouter /etc/netmasks /et/resolv.conf what els?. by the way, how do i configure for rsh?. like for doing "rsh remotehostname date"?. (2 Replies)
Discussion started by: S26+
2 Replies
Login or Register to Ask a Question