Multiple Ethernet Interfaces (SunOS)
From The System Administrator Zone
How do you handle multiple ethernet interfaces?
SunOS normally assigns the same MAC address to every physical interface. This is fine when each interface it plugged into a different network. However, if you want to place more than one interface on the same subnet, you need to assign them each a unique MAC address.
To do this, create a script that can be run at boot time to assign MAC addresses to each interface.
# put unique MAC addresses on each of the qe port # according to http://www.cavebear.com/CaveBear/Ethernet/vendor.html # AA0000 belongs to DEC and is obsolete... # for io in qe0 qe1 qe2 qe3 hme0 do { ioname=`cat /etc/hostname.${io}` if [ "$ioname" != "xx0" ] then ifconfig $io ether "`cat /etc/etheraddr.${io} 2> /dev/null`" else ifconfig $io down fi } done
Editing SPARC 10 Serial Pinout (RJ45)
The Host Circuit Board on a Sparc10 system is a DB25 connector with two serial ports wired into it, Port A and Port B.
PIN | SIGNAL | PORT | SIGNAL | SIGNAL | Common color coding |
---|---|---|---|---|---|
2 | TD | A | TD | brown | |
3 | RD | A | RD | white | |
4 | RTS | A | RTS | green | |
5 | CTS | A | CTS | yellow | |
6 | DSR | A | DSR | blue | |
7 | GND | AB | GND | GND | black |
8 | DCD | A | DCD | orange | |
11 | DTR | B | DTR | ||
12 | DCD | B | DCD | ||
13 | CTS | B | CTS | ||
14 | TD | B | TD | ||
15 | TC | A | TC | ||
16 | RD | B | RD | ||
17 | RC | A | RC | ||
18 | TC | B | TC | ||
19 | RTS | B | RTS | ||
20 | DTR | A | DTR | red | |
24 | TCO | A | TCO | ||
25 | TCO | B | TCO |
- So, for example;
- port A pin 4 is RTS and connects to host pin 4
- port B pin 4 is RTS and connects to host pin 19