42718.net 90s dial-up ISP & vintage computer homelab files.42718.net stats
42718.net / howto / primary-interface-irix
PRIMARY-INTERFACE-IRIX(7)42718.net howtoPRIMARY-INTERFACE-IRIX(7)

NAME

primary-interface-irix – Make a new network card the primary interface on IRIX

Date2026-10-25 Applies toIRIX 6.5, any machine with a second interface Takes5 minutes and a reboot Last verified2026-10-25

DESCRIPTION

IRIX ties the primary interface (the one that carries $HOSTNAME) to iface 1 in /etc/config/netif.options. By default that is the onboard ec0 or ef0. To make the new card primary, name it as if1 and move the old one to if2.

STEPS

  1. Confirm the card is seen and what it is called:
# hinv -c network
# netstat -in
  1. Edit /etc/config/netif.options. Uncomment and set:
if1name=tg0
if1addr=$HOSTNAME
if2name=ef0
if2addr=gate-$HOSTNAME
  1. Give the second interface a name in /etc/hosts, or leave if2 out

entirely if the onboard port is not going to be used:

172.28.x.y   gate-hostname
  1. Reboot (or autoconfig -f first if the kernel has not seen the card

yet). Then check:

# netstat -in
# ifconfig tg0

NOTES

The ordering in netif.options is what matters, not the slot. If the old interface was configured by DHCP (proclaim), the same move applies to /etc/config/proclaim.options.

SEE ALSO

articles/3com-3c996-to-sgi

42718.net2026-10-25PRIMARY-INTERFACE-IRIX(7)
Written in Markdown, edited with vi on IRIX, built 2026-10-29 with mksite. No database was harmed.  ·  files.42718.net