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 OS release?

4 Answers  


what is port no for LDAP?

8 Answers  


How do you boot from a Network with jumpstart?

3 Answers  


what is the significance of 51% state database replicas in SVM?

2 Answers   Cap Gemini,


Is there any difference b/w dhcp and jumpstart..?

2 Answers  






You have a boot disk under svm, the machine fails to boot and remains in ok prompt? what could be the possible reason?

5 Answers  


how to chk who r the users currently ogged in to the system..?

4 Answers  


how to add swap space?

2 Answers   CSC,


Performance monitoring tools?

3 Answers  


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

7 Answers  


If a user logs in to UNIX, it displays the desktop and then immediately logs you back out, what could be wrong?

2 Answers   Satyam,


what r the phases in fsck?

3 Answers   Accenture, Cognizant, HCL,


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)