[OpenIndiana-discuss] OI Hipster becomes unreachable over network after a certain length of uptime

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Wed Apr 13 05:54:12 UTC 2022


On 4/13/22 07:42, Joshua M. Clulow via openindiana-discuss wrote:
> On Tue, 12 Apr 2022 at 22:17, Stephan Althaus
> <Stephan.Althaus at duedinghausen.eu> wrote:
>> So, the default for the default routing features 'needed' for this
>> scenario should be enabled. If in.routed is not necessary, it should be
>> disabled by default. If it is needed for virtualisation network to
>> operate correctly (mostly  thinking of dhcp-enabled vm-clients) it
>> should be enabled by default.
> I don't think in.routed should ever be enabled by default, even in
> server configurations.  If you want to use it, it's because of an
> explicit policy decision at your site.  That's why I filed 14006.
>
>> Nevertheless, the 'lost' network connection is not solved yet.
>>
>> In my case of the 'lost' default gateway i am still thinking that it
>> should not happen in either case of a running or not running in.routed
>> daemon.
>> I thought i had disabled the route yesterday but it is running (?). The
>> 'history' shows that i disabled it at 19:55 yesterday. Maybe
>> routing-setup did re-enable it at boot this morning..
>>
>> $ svcs -a|grep rout
>> disabled        6:36:37 svc:/network/routing/ripng:default
>> disabled        6:36:37 svc:/network/routing/legacy-routing:ipv4
>> disabled        6:36:37 svc:/network/routing/legacy-routing:ipv6
>> disabled        6:36:37 svc:/network/routing/rdisc:default
>> online          6:36:40 svc:/network/routing-setup:default
>> online          6:36:40 svc:/network/routing/route:default
>> online          6:36:48 svc:/network/routing/ndp:default
> As suggested in the ticket, I would:
>
>      # routeadm -d ipv4-routing -u
>
> The "svc:/network/routing/route:default" instance should then be
> disabled, unlike in your output above.
>
> When you're having the connectivity issue, it would likely help to
> look at some of the basic network diagnostic tools; e.g.,
>
>      $ routeadm
>      $ netstat -rnv
>      $ ipadm show-addr
>      $ nwamadm list
>      $ netstat -D
>      $ cat /etc/resolv.conf
>
>
> Cheers.
>
Hi!

Ok this is my data, currently in working state:

$ routeadm
               Configuration   Current              Current
                      Option   Configuration        System State
---------------------------------------------------------------
                IPv4 routing   disabled             disabled
                IPv6 routing   disabled             disabled
             IPv4 forwarding   disabled             disabled
             IPv6 forwarding   disabled             disabled

            Routing services   "route:default ripng:default"

Routing daemons:

                       STATE   FMRI
                    disabled   svc:/network/routing/ripng:default
                      online   svc:/network/routing/ndp:default
                    disabled svc:/network/routing/legacy-routing:ipv4
                    disabled svc:/network/routing/legacy-routing:ipv6
                    disabled   svc:/network/routing/rdisc:default
                    disabled   svc:/network/routing/route:default
$ netstat -rnv

IRE Table: IPv4
   Destination             Mask           Gateway          Device MTU  
Ref Flg  Out   In/Fwd
-------------------- --------------- -------------------- ------ ----- 
--- --- ------ ------
default              0.0.0.0         192.168.2.1          e1000g4 1500  
14 UG   16204      0
127.0.0.1            255.255.255.255 127.0.0.1            lo0 8232   2 
UH     351    351
192.168.2.0          255.255.255.0   192.168.2.63         e1000g4 1500   
5 U      172      0

IRE Table: IPv6
   Destination/Mask            Gateway                    If MTU  Ref 
Flags  Out   In/Fwd
--------------------------- --------------------------- ----- ----- --- 
----- ------ ------
::1                         ::1                         lo0 8252   2 
UH         0      0
fe80::/10                   fe80::a64c:c8ff:fe79:c2f2   e1000g4 1500   2 
U          0      0

$ ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
e1000g4/_b        dhcp     ok           192.168.2.63/24
lo0/v6            static   ok           ::1/128
e1000g4/_a        addrconf ok fe80::a64c:c8ff:fe79:c2f2/10

$ nwamadm list
TYPE        PROFILE        STATE
ncp         Automatic      online
ncu:phys    e1000g4        online
ncu:ip      e1000g4        online
loc         Automatic      online
loc         NoNet          offline
loc         User           disabled

$ netstat -D
Interface  State         Sent  Recv  Declined  Flags
e1000g4    BOUND            3     1         0
(Began, Expires, Renew) = (04/13/2022 06:36, 05/13/2022 06:36, 
04/28/2022 06:36)
e1000g4    SELECTING       50     0         0  [V6]

$ cat /etc/resolv.conf
domain  fritz.box
search fritz.box
nameserver  192.168.2.1



Stephan




More information about the openindiana-discuss mailing list