Hi everybody,
I got 0 (in words: zero) replies to my posting. Maybe because it was too
trivial, a little bit off-topic, or I didn't explain thoroughly enough
what I wanted. In any case: It works with DU 4.0D and no patch-kit. I've
just put the second ethernet interface 'ln1' in the same subnet. The
rt-device keeps its IP address. I've added a static host route
like this in /etc/routes
-host rt-device -interface ip-of-ln1-interface
Now all used ip addresses are in the same subnet (mask=255.255.255.244)
and it still works. Apparently the static host route really has priority
over the default route and DU chooses the right interface for the
destination. "netstat -r" now has:
default 192.168.159.33 UGS 10 1707702 ln0
localhost localhost UH 1 4 lo0
192.168.159.32 192.168.159.35 U 7 1732932 ln0
rt-device 192.168.159.36 UHS 3 544644 ln1
BTW: I was unable to dynamically change the IP address of any IP
interface! I've tried:
- changing /etc/rc.config followed by /sbin/init.d/inet stop/start
- manually "ifconfig ln0 down; ifconfig ln0 192.168.159.35; ifconfig ln0
up"
Tom
P.S: Here's my original posting:
------------------------------------------------------------------------
Hi,
I'd need a quick answer to this: Tomorrow I'll put in a second
ethernet card into a DEC3000/600 in order to have an isolated LAN
to a real-time device. Currently all nodes are in the same subnet
like this:
ln0
DEC 3000 ----!
RT-DEVICE ---!
WAN---- ROUTER ------!
1 LAN SEGMENT, 1 IP Subnet
What I have in mind is this:
ln1 ln0
!------ DEC 3000 ----!
RT-DEVICE -! ROUTER ------!
LAN SEG 2 LAN SEG 1
1 IP Subnet
Currently the DEC 3000 has the default route set to the Router.
Question: Can I just keep the IP address of the RT-DEVICE, assign a free
IP address in the same subnet to ln1 and define a static host route to the
RT-DEVICE ? Or differently put: Can I have two IP interfaces in the same
IP Subnet? Will the static host route have priority over the default route?
Thanks // Tom
--
--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
Graz University of Technology,
e-mail : tom_at_radar.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys_at_keys.pgp.net
--------------------------------------------------------------------------
Before we have the paperless office, we have the paperless toilet!
Received on Wed Aug 18 1999 - 14:33:57 NZST