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  


I want to Know how many LUNs are in my Solaris10 server as well as NIC cards ?

7 Answers   Verizon,


What is a Split brain scenario ?

2 Answers  


How to quickly mirror a volume, if the volume is empty?

4 Answers  


Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.

2 Answers   HP,






What is meant by jumpstart?

2 Answers   IBM,


What is VTS?

8 Answers   Bharti, Sun Microsystems, Suncore Microsystems,


How RPC will work..?

1 Answers  


vxdisk -o alldgs list o/p shows some disk groups in braces… What does that signify?

3 Answers  


Local zone in shutting down state.how to bring state of zone to installed?

0 Answers   Thomson Reuters,


what is sc prompt in solaris? how can we get that sc prompt?

2 Answers  


When the system is hang?Unable to login,and console is available?what is the action u will take?

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)