I want to change the IP Address of my x86 box with Solaris 8. I tried
the manual way, modifying /etc/inet/hosts, netmasks, and any DNS configs
I have. Then strange network behavior began that led me to believe that
this is not all I have to do. I am missing something or maybe even going
about it totatlly wrong.
How would a professional (without a script) change the IP Address of a
server machine or workstation machine. I have an isolated network with
only two or three computers.
Thank you.
Take notice that some files return to system-default again, like
/etc/defaultrouter
/etc/vfstab
"Michael Schloh von Bennewitz" <msc...@netscape.net> wrote in message
news:3B6FAC86...@netscape.net...
One of the machines has no video card, and during the sys config phase
of Solaris 8 this presents a problem, no? I can't possibly be in on a
telnet session on that machine while while running the sysconfig utility
*before* bootup.
I may be getting something wrong here, but please forgive because I
can't really 'try this out' without risking a complete reinstall if I
can't boot later due to an unconfigurable system.
An idea - can I connect a normal RS-232 cable between computers? I once
saw a technician installing Solaris in this way on a big Sparc server.
Thanks,
Michael
edit /etc/hosts and alter IP address as per your server name defined in
/etc/hostname.<device>
ifconfig <device> down
ifconfig <device> <new ip> up (or any other switches you might need like
netmask etc - man ifconfig)
you may need to alter
/etc/inet/networks
/etc/inet/netmasks
/etc/defaultrouter
and any static routes you have put in any rc scripts
"Paul Hermans" <p.he...@opentsp.com> wrote in message
news:9kobbe$2u4$1...@news1.xs4all.nl...
"Michael Schloh von Bennewitz" <msc...@netscape.net> wrote in message
news:3B6FB5D5...@netscape.net...
You couldn't have looked terribly hard.
> I want to change the IP Address of my x86 box with Solaris 8. I tried
> the manual way, modifying /etc/inet/hosts, netmasks, and any DNS configs
> I have. Then strange network behavior began that led me to believe that
> this is not all I have to do. I am missing something or maybe even going
> about it totatlly wrong.
What's the strange behaviour?
> How would a professional (without a script) change the IP Address of a
> server machine or workstation machine. I have an isolated network with
> only two or three computers.
All you need to do to change the IP on a Sun is edit /etc/hosts, add the
appropriate netmask to /etc/netmasks, and change /etc/defaultrouter if
necessary. Then reboot.
I built dozens of machines like this at my desk using that Windoze
Hyperterminal a couple years back...
"--mouse--" <mo...@NO-SPAM.com> wrote in message news:<CAOb7.3246$da2....@news11-gui.server.ntli.net>...
"--mouse--" <mo...@NO-SPAM.com> wrote in message
news:CAOb7.3246$da2....@news11-gui.server.ntli.net...
> I want to change the IP Address of my x86 box with Solaris 8. I tried
> the manual way, modifying /etc/inet/hosts, netmasks, and any DNS configs
> I have. Then strange network behavior began that led me to believe that
> this is not all I have to do. I am missing something or maybe even going
> about it totatlly wrong.
> How would a professional (without a script) change the IP Address of a
> server machine or workstation machine. I have an isolated network with
> only two or three computers.
Edit /etc/hosts to have the correct name->ip mappings
Edit hostname.xxx (xxx is an interface) to have the
correct name. If it has multiple interfaces modify
all of them.
Edit /etc/defaultrouter
Edit /etc/defaultdomain
Edit /etc/resolv.conf
Edit /etc/nodename
This should cover about everything.
Roger Books
---------------------------------------------------------------------
| Unix sysadmin for food, LF photography and miniatures |
| wargames for fun. bo...@jumpspace.net, http://www.jumpspace.net |
---------------------------------------------------------------------
I tried yours and Joe Bloggs' approach. Actually, I've now gotten past
my original problem. However, I can't make a serial connection between
computers, and find this troubling.
I am poor eneough to only have Intel-based machines at home, so I am
dealing with the COM1 and COM2 ports of both machines running Solaris 8.
My /etc/remote file has a line for 'hardwire' as standard connecting to
the ttyterm b device. When I type 'tip hardwire' I receive the error
message, 'All ports busy.' Also, when running admintool to run a login
service on a serial port, the admintool reports 'unable to list serial
devices' after I select the serial drop down menu.
Looking through Anserbook2 docs, online, and manpages I have not yet
found my answer. I even tried connecting to the headless machine with a
Windoze machine, and nothing came back from the serial session. The BIOS
settings are correct, so that's not the problem. I have a null-modem 9
pin cable, plugged in to (either) one of the COM ports wired to the ASUS
motherboard.
Any ideas?
Michael
Michael> How would a professional (without a script) change the IP Address of a
Michael> server machine or workstation machine. I have an isolated network with
Michael> only two or three computers.
Try running
sys-unconfig
--
Dave Marquardt
Sun Microsystems, Inc.
Austin, TX
+1 512 401-1077
personally, I'd use
ifconfig <dev>:1 <newip> netmask + broadcast + up
and have both active until I could schedule official downtime.
--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
The word of the day is mispergitude
However, you bring up an interesting topic. Is this how one can have
multiple IP addresses assigned to one machine, without having a
multi-port NIC?
Could I do
ifconfig dev:1
ifconfig dev:2
...
ifconfig dev:4
without having just a 'ifconfig dev ip netmask' in a startup file? Would
all incoming packets addressed to these four IP addresses be served in
this case? Cool.
Michael
--
Spam hack: To send me email, remove the '-' in my address
Yes, create a /etc/hostname.hme0:1, /etc/hostname.hme0:2 etc
In there put a name for each virtual interface
In /etc/hosts, put an ip address to correspond to the hostnames.
This will ensure it is retained across reboots
To do it on the fly do:
ifconfig hme0:1 plumb
ifconfig hme0:1 <ip address> netmask <netmask> up