Sunday, April 1, 2012

In search of RARP server for MacOS

OK, I did not actually find a working RARP server solution on MacOS X, but I found a solution for setting that Yamaha RTX. It turned out that it does not have an IPv4 by default, but it has an IPv6 by default.

Connect the Mac directly to Yamaha RTX, make sure IPv6 is enabled on the Mac. Then from terminal:

netstat -nr

You will get a IPv6 section like this:


Internet6:
Destination                             Gateway                         Flags         Netif Expire
::1                                     ::1                             UH              lo0
fe80::%lo0/64                           fe80::1%lo0                     Uc              lo0
fe80::1%lo0                             link#1                          UHL             lo0
fe80::2a0:deff:fe32:234d%en0            0:a0:de:32:23:4d                UHL             en0
fe80::ca2a:14ff:fe0f:4f25%en0           c8:2a:14:f:4f:25                UHL             lo0
ff01::/32                               ::1                             Um              lo0
ff02::/32                               ::1                             UmC             lo0
ff02::/32                               link#4                          UmC             en0

"0:a0:de:32:23:4d" is the MAC address of the Yamaha RTX, so just telnet to fe80::2a0:deff:fe32:234d%en0

telnet -6 fe80::2a0:deff:fe30:344d%en0

I am relieved I can do away with that rarpd.exe and Windows 2000!

But rarpd on Mac is still a mystery to be solved. On Ubuntu and CentOS it seems to work out of the box.

UPDATE
I forgot why I wrote the above, because it... did not work? I just found out Yamaha RTX's IPv6 address by first pinging to multicast address and see response from an IPv6 address other than the ones belong to my host (check the host's interfaces via the OS, or do "netstat -nr" and see the result, as follows:


ping6 -I en1 ff02::2
PING6(56=40+8+8 bytes) fe80::e2f8:47ff:fe12:d56c%en1 --> ff02::2
16 bytes from fe80::225:dcff:fe14:5a26%en1, icmp_seq=0 hlim=64 time=10.231 ms
^C
--- ff02::2 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 10.231/10.231/10.231/0.000 ms



No comments:

Post a Comment