Sysadmin > SolarIs > DisableRouterDiscoveryProtocol

Disable ICMP Router Discovery (RDISC) Protocol

Sometimes i get

M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 205.209.148.125
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 185.40.4.43
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 23.228.101.234
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 185.130.5.142
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 185.130.5.142
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 185.130.5.142
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 185.130.5.70
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 185.130.5.142
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 185.130.5.187
M...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 185.26.145.38
A...in in.routed[378]: [ID 557510 daemon.error] request of bad length (25) from 89.248.172.44

# svcs -a | grep route
legacy_run     Feb_04   lrc:/etc/rc2_d/S75staticroutes
online       22:15:59 svc:/network/routing/route:default
or
routeadm

Verify that the routing daemon is running

$ svcs -x svc:/network/routing/route:default
svc:/network/routing/route:default (in.routed network routing daemon)
 State: online since April 10, 2014 05:15:35 AM PDT
   See: in.routed(1M)
   See: /var/svc/log/network-routing-route:default.log
Impact: None.

If the service is not running, you can stop here.

Disable the routing daemon.

# routeadm -d ipv4-forwarding -d ipv6-forwarding
# routeadm -d ipv4-routing -d ipv6-routing
# routeadm -u

Verify that the routing daemon is disabled.

$ svcs -x routing/route:default
svc:/network/routing/route:default (in.routed network routing daemon)
 State: disabled since April 11, 2014 10:10:10 AM PDT
Reason: Disabled by an administrator.
   See: http://support.oracle.com/msg/SMF-8000-05
   See: in.routed(1M)
Impact: This service is not running.