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

Carl Brewer carl at bl.echidna.id.au
Tue Dec 7 22:24:16 UTC 2021


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.

Weird thing :

hog:/slow/backups# traceroute www.sun.com
traceroute: Warning: www.sun.com has multiple addresses; using 23.202.230.89
traceroute: Warning: Multiple interfaces found; using 203.6.241.37 @ e1000g0
traceroute to www.sun.com (23.202.230.89), 30 hops max, 40 byte packets
  1  rooter.bl.echidna.id.au (203.6.241.1)  0.378 ms  0.279 ms  0.259 ms
  2  *^C

hog:/slow/backups# traceroute svr4.aboc.net.au
traceroute: Warning: Multiple interfaces found; using 192.168.2.4 @ rge0
traceroute to svr4.aboc.net.au (202.47.4.7), 30 hops max, 40 byte packets
  1 ^C

hog:/slow/backups# traceroute svr4.aboc.net.au
traceroute: Warning: Multiple interfaces found; using 192.168.2.4 @ rge0
traceroute to svr4.aboc.net.au (202.47.4.7), 30 hops max, 40 byte packets
  1  * *^C


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



More information about the openindiana-discuss mailing list