chytil@vlsivie.tuwien.ac.at (Chytil Georg) (04/05/91)
When setting up a second subnet on our LAN I've found some special
features of Domain/OS:
o We are running bind (self-compiled, of course :-( ) and
resolving is switched to bind in /etc/rc.local . It took me some
time to find out why the interfaces are not properly submasked
through ifconfig eth0 a.b.c.d netmask defaultmask, this is done after
the nmconfig in /etc/rc.local and I've had to add a dummy-host
defaultmask to our database.
o /etc/routed seems to ignore all icmp-redirects (I'm not sure wether
this should be handled by routed or tcpd).
o process-slots are expensive on Domain/OS, so I run static routing on
a LAN like this, having 9bit-submask 255.255.255.128 :
128.130.12.0 vlsivie 128.130.40.0 hans 128.130.40.128
backbone-----------x-------------------------x----------------deadend
Apollo,12.5/40.1 Apollo,40.2/40.129
so the route-commands on most hosts on 128.130.40.0 should look like
route -f
route add net 128.130.40.128 hans 1
route add default vlsivie 1 .
ah,well : (on a host between vlsivie and hans)
(101)% route -f
(102)% route add net 128.130.40.128 hans 1
add net 128.130.40.128: gateway hans.vlsivie.tuwien.ac.at
(103)% route add default vlsivie 1
add net default: gateway vlsivie.vlsivie.tuwien.ac.at
(104)% netstat -r
Routing tables
Destination Gateway Flags Hops Ref Use Interface
128.0.0 hans.vlsivie.tu USG 1 0 0 eth0
<default> vlsivie.vlsivie USG 1 0 3 eth0
(104)% ping -v 128.130.40.129
PING 128.130.40.129: 56 data bytes
36 bytes from 128.130.12.1: icmp_type=3 (Dest Unreachable)
note the strange net in netstat -r , and the fact that the packet is
routed over the wrong gateway ! //hans has an empty routing-table
plus route add net 128.130.40.128 128.130.40.129 1 at that time,
with the same messed up output from netstat -r :
:r !rsh hans netstat -r
Routing tables
Destination Gateway Flags Hops Ref Use Interface
128.0.0 hans_gw.vlsivie USG 1 0 0 eth1
CFD : Am I doing something wrong ?
Georg
(frustrated, vacation is due)
BTW,the Apollos are DN3500 runnning Domain/OS 10.2
<-------Trust not a man who's rich in flax, his morals may be sadly lax------->
Chytil Georg Systemdamager@Dep. of VLSI (vlsivie) TU Wien A-1040 Wien Austria
chytil@vlsivie.{tuwien.ac.at,uucp} chytil@egh780.una.at +43/(0)222/58801/8146
#include <extra_disclaimer.h> Don't panic! Fax: +43/(0)222/569697