Network settings


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Network settings
# 1  
Old 06-23-2004
Network settings

Total newbie here!!

How do I view and alter network settings (ip address, subnet mask and default gateway) in UNIX?

Thanks in advance..
# 2  
Old 06-23-2004
Depends on which version of Unix you are using.

In general your best bet is to try ifconfig. In Solaris ifconfig -a will show you everything. Do a man ifconfig if you are on another version to see which options you need. You can also change network settings on the fly with ifconfig.

If you want to change settings permanently (i.e. so after rebooting it comes up with the new settings) you need to change some config files. Again, since I know Solaris best I can tell you that you'd need to change files like
/etc/hosts
/etc/hostname.hme0
/etc/defaultrouter
/etc/netmasks
or maybe some others depending on exactly what you were trying to do. For different versions of Unix or Linux the filenames might be different.
# 3  
Old 06-29-2004
Thanks for your reply rhfrommn.

The UNIX version is Sinix 5.41. LAN users connect to this box using terminal emulation software. I need (for networking reasons) to alter the ip address of the UNIX server so that it fits in with a specific ip address range and holds that address after rebooting and then re-configure the terminal emulation software to connect to the new ip address.

IF anyone is familiar with this UNIX version and can outline how this should be done I would be forever in your debt!!
# 4  
Old 06-29-2004
I had not even heard of it till this post - looks like it's about the same as most of the rest but I doubt I could explain it well enough so go to the admin guide - network for assistance.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network settings on Motorola System V R32V3.2

Hi, I have inherited a Motorola System V R32V3.2 system. The system works fine, but we need to change the network settings. I've changed the IP address successfully, however I'm lost on the gateway and subnet mask. I've changed the default gateway using route -g10.0.8.1, but it changes back to... (7 Replies)
Discussion started by: Tilmar
7 Replies

2. Shell Programming and Scripting

Script to adjust network settings

Hello, Newbie question on scripting - I'm looking to create a simple script that will work on RHEL5 that will adjust the network settings: ip address, default gateway, and subnet mask. If anything else needs to be done (service network stop / start) or should be done to make settings active - I... (4 Replies)
Discussion started by: rojizo
4 Replies

3. Solaris

Creating A Solaris Zone - Unable to install - Are network settings required?

Hi i have created a solaris zone but have not yet connected any network cables for this new zone, can i set the zone up without running the command 'add net' and not adding an ip or physical interface? i tried to add dummy internet settings and get this zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies

4. UNIX for Dummies Questions & Answers

Linux Server Network Settings - Share Directory Structure

Hello Unix Gurus Who I Hope Reads This, I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Discussion started by: mbl
0 Replies

5. HP-UX

Network Printer Settings-landscape/portrait mode

Hello everyone.. While printing through command line, we can set printing option with -o <lanscape/portrait> to print file in required mode. But i want to know is there any way we can set this as default behaviour for this printer? After configuration any script we can modify for this... (0 Replies)
Discussion started by: laxmikant
0 Replies

6. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

7. Solaris

Network settings

I have problem with network settings. Where i can find network config ? I'm newbie, but i very want learn this OS. I find : /etc/hostname.<interface> /etc/netconfig /etc/netmasks /etc/networks /etc/inet/hosts But where i can write my IP-address and after reboot i be know that my server... (2 Replies)
Discussion started by: jess_t03
2 Replies

8. Linux

Mandriva 2006 keeps resetting network settings...

I've been looking for documentation on how to stop this behavior. I have two nics in my system. eth0: configured manually and as a dhcp server for the local network eth1: configured w/ dhcp enabled connected to router dns server addresses keep getting reset every few minutes. i suspect... (0 Replies)
Discussion started by: rbetzen
0 Replies

9. UNIX for Dummies Questions & Answers

Network settings on Red Hat

HELP!! How do you change the network setting from auto-duplex to 100 Base T Full Duplex in Red HaT? (1 Reply)
Discussion started by: johnlong
1 Replies
Login or Register to Ask a Question