- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Change IP without restarting services
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 05:22 AM
02-16-2006 05:22 AM
I have been given an assigment where I need to change the IP of one of the interfaces in our most important server here. The problem is, that this server is used frequently by our ATM network (we are a bank institution). I know I can do this with 'sysman net_wizard', but it ask me at the end whether or not I want to restart the net services in order for my new interfaces be up properly. I believe that if I say yes, it will restart every net services on the equipment, including the interface where our atm network is. Is there anyway I can restart the services only for the new configured NIC instead of all of them ?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 06:06 AM
02-16-2006 06:06 AM
Re: Change IP without restarting services
ifconfig
ifconfig
ifconfig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 06:15 AM
02-16-2006 06:15 AM
Re: Change IP without restarting services
look man ifconfig
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 08:02 AM
02-16-2006 08:02 AM
Re: Change IP without restarting services
# ifconfig -a
ee0: flags=c63
inet 192.168.0.4 netmask ffffff00 broadcast 192.168.0.255 ipmtu 1500
inet 192.168.0.26 netmask ffffff00 broadcast 192.168.0.255 ipmtu 1500
ee1: flags=c63
lo0: flags=100c89
inet 127.0.0.1 netmask ff000000 ipmtu 4096
sl0: flags=10
tun0: flags=80
tun1: flags=80
# ifconfig ee1 down
# ifconfig ee1 up
# ifconfig -a
ee0: flags=c63
inet 192.168.0.4 netmask ffffff00 broadcast 192.168.0.255 ipmtu 1500
inet 192.168.0.26 netmask ffffff00 broadcast 192.168.0.255 ipmtu 1500
ee1: flags=c63
lo0: flags=100c89
inet 127.0.0.1 netmask ff000000 ipmtu 4096
sl0: flags=10
tun0: flags=80
tun1: flags=80
#
See, it stays up no matter if I tell it to shutdown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 03:29 PM
02-16-2006 03:29 PM
Re: Change IP without restarting services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 12:21 AM
02-17-2006 12:21 AM
Re: Change IP without restarting services
I added my ip and a new gateway for this ip on the /etc/routes file as default. It then had two default gateways. My question is: If I try to send a package outside of my network, which gateway should it use ? the one that correspond to the same class of the interface i'm using or just one aleatory ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 12:26 AM
02-17-2006 12:26 AM
Re: Change IP without restarting services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 04:16 AM
02-17-2006 04:16 AM
Solutionnetstat -nr
Routing tables
Destination Gateway Flags Refs Use Interface
default 1.2.3.4 UGS 0 12287 nr1
The /etc/routes is used at network start time. If you want to change your default gateway, you must remove your current gateway and add the new one:
route delete default
route add default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 02:09 AM
02-19-2006 02:09 AM
Re: Change IP without restarting services
# ifconfig ee1 down
# ifconfig ee1 up
# ifconfig -a
why should the device show as down if you start it up again before you do the show?
There can only be one default gateway. The default gateway is tp be used in the absence of any other routing informations. As Ivan showed the route is the right command to use.
Read route man pages.
It goes like
route [-nqvC] add [-net | -host] [family] destination[/bitmask] gateway [-link] [modifiers[args]]
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 11:23 PM
02-19-2006 11:23 PM
Re: Change IP without restarting services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 03:05 AM
02-21-2006 03:05 AM
Re: Change IP without restarting services
RE: ifconfig down/up after rc.config changes.
You need to understand that rc.config is only read when the various startup/shutdown scripts run. They usually run the ifconfig utility to do the actual configuration.
RE: rcinet restart......very drastic and often not necessary. It does attempt to stop and restart "all" network services that have been started in run state 3.