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

Difference between Console and terminal

3 Answers  


what is df -kh i/o error ?How to Troubleshoot ?

2 Answers   Siemens,


what is the disadvantage of 'tar' command?

3 Answers   IBM,


How do you view shared memory statistics?

3 Answers  


what is the use of NIS how can u configure

1 Answers   IBM,






what r d crontab fields?

3 Answers   emc2, JK Technosoft,


in this what is the configuration of .profile file and the other files

1 Answers   IBM,


What is OBP and how do you access it?

2 Answers   3i Infotech,


How to repalce a failed disk?

3 Answers   Satyam,


what r the daily responsibilities of u as a system administrator

10 Answers   ADP, IBM, Infosys, Wipro,


how to recover boot-block, if it it corrupted. and what happens to the os if it gets corruted.

3 Answers   Bank Of America,


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

8 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)