Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows guy needs help changing IP address :)

Status
Not open for further replies.

patrichek

MIS
Joined
Nov 18, 2003
Messages
632
Location
US
Hi,
Our company recently purchased a unix system running sun solaris OS. This is attached to an MRI machine and runs scanning software. I need to send the MRI images to an outside company via vpn. I'm able to use a windows box as a host to make the transfer but my boss wants to send the mri images directly from the unix machine so as not to tie up another pc, not to mention additional software and so on.

I have no idea how to setup the ip address and gateway. can someone hold my hand through this?

thanks!
 
One way would be to run the sys-unconfig command which would restart your system and prompt you for all the system settings including ip and defaultgateway.



 
dandan123's suggestion would allow you to change the network configuration of the Solaris box, but I'm not sure that's exactly what you want. Is the VPN connection from the Windows system always established? Perhaps a simple solution would be to share that connection on the Windows system using Internet Connection Sharing (not 100% sure this is possible with a VPN connection, but worth a try), and then you could set up a static route via the Windows system to the IP address of the destination server.

Does that sound more like what you want to achieve?

Annihilannic.
 
Hi thanks for your responses. I want to take the windows box out of the equation. The vpn is router to router and its always up (theoretically!). I've set up this router to router vpn on its own dedicated dsl line and no other computers use it.
Our mri machine sends the scans to the unix box and from there we push them to an outside vendor via the vpn, the problem is I don't know how to setup the ip address on the unix box. Right now i send the images to the windows station and from there to our outside vendor.
I think we're having an IP conflict with the outside vendors internal network so i need to change the ip range.

i'm terrible with unix, but i can open a shell:)
 
In that case dandan123's suggestion is a good place to start to remove the IP conflict. You can set the default gateway to the router as long as you don't require another default gateway for your internal network(s), otherwise you should set up specific routes for the IP address range on the outside vendor's network.

Annihilannic.
 
thank you! so from the shell i would run sys-unconfig, right?
would this only ask me for the ip info? I don't want to screw the pooch here...

 
patrichek;

You need to edit /etc/hosts and change the ip there.

the two basic files for ethernet devices are

/etc/hosts
/etc/hostname.* (if you had multiple hme ethernet devices you would see entries for hostname.hme0 hostname.hme1 etc..
If you had quad fast ethernet card you would see entries like hostname.qfe0 hostname.qfe1 hostname.qfe2 and hostname.qfe3. each hostname files contains the name of the device (you assign this name) and a corresponding entry in /etc/hosts which will show the ip assocaited with the name.)

Hope this helps;

Thanks

CA
 
thanks i'll check it. I can edit this in the file manager, right, i dont' need to use the shell?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top