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

Tim Mooney Tim.Mooney at ndsu.edu
Tue Dec 7 22:41:08 UTC 2021


In regard to: [OpenIndiana-discuss] weird network issue, choosing a default...:

>
> Hey,
> I have a weird problem I don't quite know how to fix.
> I have an OI server, with two ethernet interfaces, 203.6.241.37 on e1000g0 and 
> 192.168.2.4 on rge0.  The 203.6.241 network is a real one, the 192.168, as you 
> know, goes nowhere except local LAN stuff.

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?

Does it survive a reboot?

Tim

> The rge4 interface, 192.168.2.4, is being used, for some outgoing traffic.  Of 
> course, it's not finding its way home.
> um?
>
> netstat -rn shows
>
> Routing Table: IPv4
>  Destination            Gateway          Flags  Ref     Use     Interface
> -------------------- -------------------- ----- ----- ---------- ---------
> default              203.6.241.1          UG        2     108883 rge0
> default              203.6.241.1          UG        7     452759 e1000g0
> 127.0.0.1            127.0.0.1            UH        2        756 lo0
> 192.0.0.0            192.168.2.4          U      2098   13913644 rge0
> 203.6.241.0          203.6.241.37         U         5    9368318 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
>
>
>
> I think the default also being on rge0 is the problem, but I don't know how it 
> got there, or how to remove it.
>
> Any clues?
>
> Thank you
>
> Carl
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>

-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology    /                701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164



More information about the openindiana-discuss mailing list