[OpenIndiana-discuss] weird network issue, choosing a default interface

Carl Brewer carl at bl.echidna.id.au
Tue Dec 7 23:14:31 UTC 2021


G'day Tim,


On 8/12/2021 9:41 am, Tim Mooney via openindiana-discuss wrote:
> I have a dual-homed OI workstation with the 2nd NIC on a non-routeable
> private network too, and I have IPv6-specific routing issues every time
> the workstation is rebooted.  My issues are (I think) coming because of
> OI's in.ndpd, the IPv6 Neighbor Discovery protocol daemon.
> 
> Your issues are potentially easier, though.
> 
> 1) are you running in.routed?
> 2) are you using nwam or statically-configured?
> 3) do you have anything in /etc/defaultrouter?
> 
> What happens if you do
> 
>      sudo route -p delete -inet -dst default -gateway 203.6.241.1 -iface 
> rge0
> 
> Does that work?  Does it change your current "netstat -rn" output?

I didn't do that, I had a look at the GUI network management stuff, and 
fixed an errant subnet mask, and removed the default route from the rge0 
interface.  I don't think IPv6 is an issue, but it's working now :

  netstat -rn

Routing Table: IPv4
   Destination            Gateway          Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              203.6.241.1          UG       11     467289 e1000g0
127.0.0.1            127.0.0.1            UH        2      60106 lo0
192.168.2.0          192.168.2.4          U         4        317 rge0
203.6.241.0          203.6.241.37         U         5    9407656 e1000g0

Routing Table: IPv6
   Destination/Mask            Gateway                   Flags Ref   Use 
    If
--------------------------- --------------------------- ----- --- 
------- -----
::1                         ::1                         UH      2 
328 lo0
fe80::/10                   fe80::523e:aaff:fe0c:fcbf   U       2 
0 rge0




> 
> Does it survive a reboot?

I haven't tried yet, but will do tonight when it won't disrupt my users 
much.

Thanks!

Carl




More information about the openindiana-discuss mailing list