![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| lan setting | mightypp.nits | UNIX for Dummies Questions & Answers | 1 | 11-11-2007 12:00 PM |
| ssh setting | kwliew999 | AIX | 11 | 07-10-2007 08:57 AM |
| Setting the FS in awk | 2reperry | Shell Programming and Scripting | 4 | 11-03-2006 09:22 AM |
| Setting the UID in Mac OS X | noahcowan | OS X (Apple) | 1 | 06-07-2004 07:41 PM |
| setting env | alsande | SUN Solaris | 3 | 03-29-2004 09:24 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
New ip setting
I want to change the IPsetting and the broadcast setting.
With ipconfig I get this: hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet xx.17x.18x.xx netmask fffffff0 broadcast xx.17x.18x.xx ether yy:0:yy:b6:yy:xx What command(squence) do I use to change the inet and broadcast? Or where do I find that sequence? Does changing this automatcally change the telnet IP as well? |
| Forum Sponsor | ||
|
|
|
|||
|
Based on the interface (hme0) I am assuming Solaris.
To do this command line: # ifconfig hme0 xx.17x.18x.xx netmask 255.255.255.0 broadcast xxx.xxx.xxx.xxx up Under Solaris I am not sure where you set the broadcast (and no longer have a Solaris box at home to check). I *think* it is simply the highest IP is the subnet as defined by the netmask. If the netmask is wrong, it can be changed in /ete/netmasks The sledge hammer way to do this is with sysunconfig BE warned that this puts the system back to "as new" with regards to network info, root password, etc., and will reboot the box. If the box is using NIS, NIS+, LDAP, and assuming you are not familiar with configuring these, I would suggest not using sysunconfig.
__________________
[url=http://chuckb.1le.net/]My website[/url] |
|
||||
|
...
well, it's not done by a script in solaris... just edit your /etc/hostname.hme0, and make sure there is the right entry in your /etc/hosts
# cat /etc/hostname.hme0 server # grep server /etc/hosts 10.0.x.x server server.unix.com gP |