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

what is zone configuration file?

2 Answers   IBM,


What is the difference between initialization & encapsulation in VXVM?

7 Answers   HCL, HSBC,


What is the difference between Vxdmp and EMC powerpath?

2 Answers  


how to add patched to the kernel

3 Answers   IBM,


How u can detach or remove the disk it is in Veritas (Vxvm) control that is the disk in the production server ?

3 Answers   Tech Mahindra, Wipro,






If ping command is not working then how to check the status of the server..?

2 Answers  


How to findout particular file in the backup tape with the help of ufsdump

2 Answers   IBM,


what r d boot options?

2 Answers   TCS,


What does the pkgadd command do?

4 Answers  


what r the daily responsibilities of u as a system administrator

10 Answers   ADP, IBM, Infosys, Wipro,


File system creation steps??

2 Answers  


What is the config file in DNS?

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)