How to create a gateway?

Answers were Sorted based on User's Feedback



How to create a gateway?..

Answer / punnareddy

#route add default <gateway>

Is This Answer Correct ?    5 Yes 1 No

How to create a gateway?..

Answer / swamy naidu kollu

** Eg. Gateway = 192.168.0.2

Step 1: #route add default 192.168.0.2

Step 2 : To make this permanent

#touch /etc/defaultrouter

Step 3: Add entry into /etc/defaultrouter

#vi /etc/defaultrouter
192.168.0.2
:w!

Step 4: #touch /reconfigure

Step 5: #init 6

Is This Answer Correct ?    7 Yes 3 No

How to create a gateway?..

Answer / sainu daniel

To add a default router,
#route add default 192.168.1.1

To make it permanent,

#vi /etc/defaultrouter
192.168.1.1
:wq!

Thats it..

Is This Answer Correct ?    4 Yes 1 No

How to create a gateway?..

Answer / ashwni

vi /etc/defaultrouter
ip address
:wq
then just restart network services
svcadm restart physical

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Solaris AllOther Interview Questions

How to know number of ports of HBA card ???????

1 Answers   Accel Frontline, Thomson Reuters,


Which cluster is better VCS or Sun cluster?

2 Answers  


what are the deamon for nfs server

5 Answers   IBM, Micron Electricals,


how to add patched to the kernel

3 Answers   IBM,


If you can ping a server, but can't telnet or ssh to it, what could be the problem?

7 Answers  


how to determine how many nfs server are there from nfs client

2 Answers   IBM,


if storage contain 500 disks in this one disk is failed,we placed new disk in failed disk place,how can we find out exact path of the newly installed disk when we execute format command?

5 Answers   TCL,


What is jumpstart?

2 Answers  


wht is the umask value to crate directory with only rw options to root..?

3 Answers  


how to install multiple patches

5 Answers   HCL, HP, IBM,


Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh

0 Answers  


Whats the difference between SVM and VxVM? What would you recommend to your clients? why?

2 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)