Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!ogicse!pdxgate!parsely!percy!percival.rain.com!nerd From: nerd@percival.rain.com (Michael Galassi) Newsgroups: comp.sys.next Subject: Re: Experiences with networking on the NeXT Message-ID: <1991May5.054422.1753@percy.rain.com> Date: 5 May 91 05:44:22 GMT References: <1991May4.051554.27839@cbnewse.att.com> Sender: news@percy.rain.com (news maintainer) Organization: Percy's UNIX, Portland, OR. Lines: 35 Nntp-Posting-Host: percival.rain.com tyc@cbnewse.att.com (felix.a.lugo) writes: > The following is the output generated from "ifconfig en0": >en0: flags=23 > inet 135.1.156.2 netmask ffffff00 broadcast 135.1.255.255 > My subnet router is set to IP 135.1.156.254 (which is correct). The broadcast address must set all 1's in the positions that would be masked out by the netmask anded with the ip address. broadcast = (ip_address & netmask) | ~netmask In your case, broadcast = (135.1.158.2 & 255.255.255.0) | ~255.255.255.0 = 135.1.158.0 | 0.0.0.255 = 135.1.158.255 This needs to be changed in the /private/etc/hostconfig file. Under the 2.0 version of the OS these are the pertinent lines. INETADDR=135.1.156.2 IPNETMASK=255.255.255.0 IPBROADCAST=135.1.156.255 Make the same change on your other next as well, I assume it is also mis-configured. NeXT does not do well with subnet masks using their cute tools, you have to go and brute-force edit the standard files rather often to make things work right in a subneted environment. Hope this helps. The only thing I don't understand is why this worked between two nexts. If I can help further mail me. -michael -- Michael Galassi | nerd@percival.rain.com MS-DOS: The ultimate PC virus. | ...!tektronix!percy!nerd