/etc/defaultrouter change without reboot


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers /etc/defaultrouter change without reboot
# 1  
Old 07-28-2003
/etc/defaultrouter change without reboot

Hi

I have had to change the defaultrouter of a production server. I have ammended /etc/defaultrouter to point to the new address but when I do a netstat -rn , it hasnt updated. Is there anyway I can apply this change without rebooting the system ??

regards
# 2  
Old 07-28-2003
I have never tried to change the default route on the fly like that, but I think that:
route change default 1.2.3.4 1
might work. Change 1.2.3.4 to be the ip address that you want.
# 3  
Old 07-28-2003
You could try to logout the session and log back in... Whether that is your telnet session or the console.

I have found that some changes are affected by this.
# 4  
Old 08-04-2003
which derivat?
on my sun i always do:
/etc/rc2.d/S69inet stop
/etc/rc2.d/S69inet start

greetings Preßy
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

How to change raid controller driver ? (hardware change)

Hello I'm trying to virtualize an instance of Sco Unix 5.0.5 in VirtualBox (called VM-A) , but sco I have problems set to launch with the new raid controller . The physical machine has a raid controller adaptec (alad driver) but VirtualBox uses buslogic (blc driver) What ... (3 Replies)
Discussion started by: flako
3 Replies

2. UNIX for Dummies Questions & Answers

Will authconfig make permanent change or lost after reboot?

Hi, I made following configuration to create user directory: # authconfig --enablemkhomedir --update But the directory is created as permission 755, I'd like to modify the script to change directory access permission to 700, where is the script which copies /etc/skel to /home... (0 Replies)
Discussion started by: hce
0 Replies

3. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies

4. UNIX for Dummies Questions & Answers

defaultrouter permissions

Ok ... I've relocated a SUN box and I've managed to change all of the IP addressess successfully ... both the local IP addresses and those that the box needs to connect to remotely. I was able to get the box to accept the default router's IP address using the command "route add default... (3 Replies)
Discussion started by: ahays
3 Replies

5. Solaris

Change gateway without reboot server

Hi Gurus Recently i had change the gateway for a server i had change the IP in the /etc/defaultrouter and run the below command # route add default 10.86.33.222 # route delete default 10.86.33.1 # netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref ... (2 Replies)
Discussion started by: SmartAntz
2 Replies

6. Solaris

Defaultrouter not changing !!

Hi experts I have to change the default router of some system I tried changing by deleing the existing route by following line #route delete default 172.24.2.101 then I added executed the below line to add the new router #route add default 172.24.1.254 ... (9 Replies)
Discussion started by: kumarmani
9 Replies

7. Solaris

Permission Change Upon Reboot

I have a Sun 4800 running on Solaris 9 OS. Each time I reboot the server the permissions on /tmp are change from root/sys 1777 to root/root 775. This causes a problem as I have custom programs the need this directory set to root/sys. I have search the sun site and can't find a solution. Anybody... (2 Replies)
Discussion started by: gross
2 Replies

8. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

9. Solaris

different defaultrouter

can i specify more than one defaultrouter on the same solaris 9 box .??? If yes what are the side effects if any .? thanks (1 Reply)
Discussion started by: ppass
1 Replies

10. UNIX for Dummies Questions & Answers

Location of defaultrouter file in Red Hat

Where is the file containing the default router in Red Hat 7.0? (4 Replies)
Discussion started by: 98_1LE
4 Replies
Login or Register to Ask a Question