If you have multiple ethernet interfaces, how do you keep
it from routing between them?

Answers were Sorted based on User's Feedback



If you have multiple ethernet interfaces, how do you keep it from routing between them?..

Answer / stratovarius

By default, routing between interfaces is disabled on
Solaris 10. ie ip_forwarding is disabled between interfaces.

Routing on Solaris 10 is also disabled, if
the /etc/defaultrouter file exists but is not empty, ie it
contains atleast one entry.

To disable routing, you need to disable ip_forwading using
the routeadm util:

# routeadm -u -d ipv4_forwarding


Cheers

Is This Answer Correct ?    2 Yes 0 No

If you have multiple ethernet interfaces, how do you keep it from routing between them?..

Answer / chummachennai

To add to what stratovarious said There is one more command
to diable ip_forwarding

#ndd -set /dev/ip ip_forward 0

Is This Answer Correct ?    1 Yes 0 No

If you have multiple ethernet interfaces, how do you keep it from routing between them?..

Answer / surner

Disable IP forwarding

#ifconfig ce0 -router (for ipv4)

AND

#ifconfig ce0 inet6 -router (for ipv6)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

What is UMASK

2 Answers  


Were will be the configuration for metadevice

1 Answers  


My solaris system has 16GB RAM and swap. /tmp is associated to swap. We use vmstat command to get used system memory. We observe that once we fill up /tmp, it reflects in vmstat command. My intention is only to get overall used memory in RAM. 1. Can you let me know the if there is a solaris command to just get used memory in RAM? 2. How is /tmp filling up associated to "free memory" in vmstat command?

2 Answers  


How to add a tape deck on Sun Solaris version 10

2 Answers  


what is 2 in uadmin 2 0 command in solaris

2 Answers   Accenture,






If a User Account is locked,which file you need to check and how do you get to know at what time it has been locked.

4 Answers   CTS,


How to change rsc ip in sun V490?

4 Answers   Wipro,


Hello Everyone, One of our servers is showing a strange issue, let me paste the output Code: root # uptime 4:37pm 3 users, load average: 0.00, 0.04, 0.04 Its been running since months but you can see after time there isn't any output like up 191 days(s). Even the who command with b and r option isn't giving any output. Code: root # who -b root # root # who -r root # the date command displays correct output. I am not sure but is it because someone has played with utmpx and wtmpx files, is reboot the only solution we have. Can anyone help us since we don't intend to reboot the server for such a reason and also no one has complained till yet.

1 Answers  


How to findout MAC addess as well as IP address of the host?

15 Answers   HCL,


Explain the boot process?

1 Answers  


how to configure samp in solaris 5.10 sparc architecture

2 Answers   Accel, Wipro,


SUN CLUSTER offline cluster resources on smslu131

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)