herber@bgsuvax.UUCP (Steve Herber) (08/26/86)
I have a LAN with VAX 780 4.3BSD and VAX 785 4.2BSD systems on it. I have just installed the 4.3BSD release on the 780 and I am having a problem getting all of the networking goodies working. I am able to do the usual things (rlogin, rsh, rcp) but I cannot get sendmail to work from 4.3BSD to 4.2BSD and the rwhod daemon willnot send information from the 4.3BSD system to the 4.2BSD. In both of these cases, everything works going from 4.2BSD to 4.3BSD. I have a feeling that if is a problem with the way the 4.3BSD system now sends out broadcast messages. I have tried a number of combinations of 'ifconfig netmask' and 'route add/delete' commands without success. I am enclosing portions of my configuration files for your consideration. (Gee, and I always thought I could rtfm well enough). /etc/hosts 127.1 localhost local 27.1 bgsu-stu student s <== 4.3BSD 27.2 bgsuvax research r <== 4.2BSD /etc/networks loopback-net 127 software-loopback-net bgsu 27 BGSU net /etc/rc.local hostname bgsu-stu ifconfig lo0 localhost ifconfig il0 `hostname` hostid `hostname` route add net bgsu `hostname` 0 route add net loopback-net localhost 0 Just a quick look at the current configuration..... Script started on Tue Aug 26 09:53:06 1986 herber@bgsu-stu!/a/mnt/scc/herber 1 # netstat -r Routing tables Destination Gateway Flags Refcnt Use Interface 127.0.0.1 127.0.0.1 UH 1 841 lo0 bgsu 27.0.0.1 U 1 557 il0 loopback-net 127.0.0.1 U 0 0 lo0 herber@bgsu-stu!/a/mnt/scc/herber 2 # netstat -n -r Routing tables Destination Gateway Flags Refcnt Use Interface 127.0.0.1 127.0.0.1 UH 1 873 lo0 27 27.0.0.1 U 1 557 il0 127 127.0.0.1 U 0 0 lo0 herber@bgsu-stu!/a/mnt/scc/herber 3 # ifconfig il0 il0: flags=43<UP,BROADCAST,RUNNING> inet 27.0.0.1 netmask ff000000 broadcast 27.255.255.255 herber@bgsu-stu!/a/mnt/scc/herber 4 # ifconfig lo0 lo0: flags=9<UP,LOOPBACK> inet 127.0.0.1 netmask ff000000 herber@bgsu-stu!/a/mnt/scc/herber 5 # mail herber@bgsuvax Subject: test test . Cc: herber@bgsuvax... Connecting to bgsuvax.ether... herber@bgsuvax... Deferred: Connection refused herber@bgsu-stu!/a/mnt/scc/herber 6 # ruptime bgsu-stu up 1:20, 1 user, load 0.05, 0.10, 0.10 bgsuvax up 7+11:05, 9 users, load 3.96, 4.37, 4.67 herber@bgsu-stu!/a/mnt/scc/herber 7 # bgsuvax ruptime bgsuvax up 7+11:06, 9 users, load 4.01, 4.32, 4.63 herber@bgsu-stu!/a/mnt/scc/herber 8 # exit script done on Tue Aug 26 09:58:23 1986 One last thing. I have turned on the 4.2BSD Compatibility options in the kernel, COMPAT_42 and TCP_COMPAT_42. Thanks in advance for the help. Isn't it fun to learn everything about everything??? -- Steve Herber CSNET herber@bgsu.CSNET Sr. Systems Programmer UUCP ...!osu-eddie!bgsuvax!herber Bowling Green State Univ.
chris@umcp-cs.UUCP (Chris Torek) (08/27/86)
In article <132@bgsuvax.UUCP> herber@bgsuvax.UUCP (Steve Herber) writes: >I have a LAN with VAX 780 4.3BSD and VAX 785 4.2BSD systems .... >I am able to do the usual things (rlogin, rsh, rcp) but I cannot >get sendmail to work from 4.3BSD to 4.2BSD and the rwhod daemon >will not send information from the 4.3BSD system to the 4.2BSD. >In both of these cases, everything works going from 4.2BSD to >4.3BSD. I have a feeling that if is a problem with the way the >4.3BSD system now sends out broadcast messages. Whether it is a problem with 4.3BSD depends upon your point of view. The real bug was in 4.2BSD, which uses the wrong Internet address for broadcasts. 4.3BSD allows you to set the broadcast address; for compatibility with standard 4.2 hosts, use all zeroes in the host part: >27.1 bgsu-stu student s <== 4.3BSD >27.2 bgsuvax research r <== 4.2BSD (Network 27 is allocated to NOSC on the Internet. Ah well: if you ever connect with ARPA, this may be the least of your problems....) >herber@bgsu-stu!/a/mnt/scc/herber 3 # ifconfig il0 >il0: flags=43<UP,BROADCAST,RUNNING> > inet 27.0.0.1 netmask ff000000 broadcast 27.255.255.255 Your 4.2BSD machine, however, has (effectively) inet 27.0.0.2 netmask ff000000 broadcast 27.0.0.0 so you must use ifconfig il0 broadcast 27.0.0.0 on your 4.3 machine, at least until the other is fixed. >herber@bgsu-stu!/a/mnt/scc/herber 5 # mail herber@bgsuvax >Subject: test >test >. >Cc: >herber@bgsuvax... Connecting to bgsuvax.ether... >herber@bgsuvax... Deferred: Connection refused `Connection refused' indicates that no sendmail is running, or that the one that is running has used up its quota of outstanding connections. Use `netstat -a' to find out which. And make sure /usr/lib/sendmail is not `-rwsr-sr-x 1 bin kmem'! It should be setuid root. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu