[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8743.0. "Question of IP Routing..." by ADISSW::FERRARA () Thu Feb 06 1997 16:22


Can anyone help me with this Routing problem...


I have 2 systems running Unix 4.0B setup as follows:

(i.e. 2 VME backplanes each with a AXPvme 230 SBC and each 
      with a PMC-to-FDDI adapter)


        Ethernet
	|
	|
	| 16.126.64.8   +-----------+
	+---------------| System #1 |
 	|		+-----------+   10.0.0.3
	|		|   FDDI    |--------+
	|		+-----------+        |
        |                                    |
        |                                    |
	|                                    |
	| 16.126.64.25  +-----------+        |
	+---------------| System #2 |        |
	|		+-----------+        |
	|		|   FDDI    |--------+
			+-----------+   10.0.0.4



The kernels have been configured with the FDDI driver, etc.

The 'ifconfig' command has been run to assign the IP addresses
shown above to the 4 network interfaces.


I ran 'netsetup' to start the 'routed' daemon process; I replied
with 'yes' to make each system an IP Router.

I can ping each system, over the Ethernet connection.

What I am having trouble doing is modifying the Routing Table so 
that when I 'ping' System #2 from System #1 (and vice versa), that 
it goes over the fiber FDDI link and NOT over the Ethernet link...

I have tried, unsuccessfully, adding a static route using the 
'route add' command, such as this on System #1:

	route add -host 16.126.64.25 -interface 10.0.0.3

Using 'netstat -i', it looks like ping packets are being sent...
But I don't get any reply on the ping...

Can anyone get me pointed in the right direction?

Thanks,
Bob Ferrara
CSS Real-time Engineering
	
	
T.RTitleUserPersonal
Name
DateLines
8743.1GIDDAY::CAMERONAnd there shall come FORTH (Isaiah 11:1)Thu Feb 06 1997 22:468
    Re: Note 8743.0 by ADISSW::FERRARA
    
>Can anyone get me pointed in the right direction?
    
    Add a return route as well via the FDDI?
    (Never done this myself, just a suggestion).
    
    James
8743.2SMURF::MENNERit's just a box of Pax..Thu Feb 06 1997 23:319
    To IP, end destinations are interfaces not nodes so to ping system 1 to
    system 2 using FDDI simply type:
    
    ping 10.0.0.4 (from system 1)
    
    pinging anything in subnet 16.126.64  (assuming netmask of 255.255.255.0)
    will always go out thru 16.126.64.8 interface on system 1
    
    
8743.3Thanks...rlogin questionsADISSW::FERRARAFri Feb 07 1997 16:5113
    
    Thanks for the explanation in .2; I am able to ping from each
    system.
    
    Any idea why it takes a long time (a minute or 2) to get the 
    Password prompt when I rlogin to either system?
    
    I eventually get the prompt, but why so long. 
    
    It appears to take this large amount of time when  the Ethernet
    cable is disconnected...this doesn't make sense to me...
    
    -BobF
8743.4SMURF::DANIELEMon Feb 10 1997 08:266
>    It appears to take this large amount of time when  the Ethernet
>    cable is disconnected...this doesn't make sense to me...
    
>    -BobF

Is anything in syslog?  Are you running NIS, or using using NFS?
8743.5Not much in syslog.log...ADISSW::FERRARAMon Feb 10 1997 09:5113
    
    
    I don't see anything relative to logins in the recent syslog.log file.
    
    Should I expect something specifically?
    
    I do see an entry in /usr/var/adm/syslog.dated/10-Feb-09:09/auth.log
    for every time I login as the ROOT.
    
    It still takes a LONG time when both Ethernet cables are disconnected
    before I get the Password prompt when Rlogin'ing in...
    
    -Bob
8743.6Real Routing Question...ADISSW::FERRARAMon Feb 10 1997 10:1351

Can anyone help me with this Routing issue...

Same systems as noted in .1


I need to get network traffic from Network A routed to Network C,
and vice versa...


Would I add the following routes????

To System #1:   route add Network-C 10.0.0.3 ...

		Where Network-C is the "Destination" and "10.0.0.3" is the 
		Gateway?


Similarly, to System #2:

		route add Network-A 10.0.0.4 ...

Is there anything else I need to do to setup each system as a Router?

      FDDI
	|
	|
	|  Network A    +-----------+
	+-<---------->--| System #1 |
 	 		+-----------+   10.0.0.3
	 		|   FDDI    |--------+
	 		+-----------+        |
                                             |
                                             |
	                                     |
	   Network C    +-----------+        |
	+-<---------->--| System #2 |        |
	|		+-----------+        |
	|		|   FDDI    |--------+
      FDDI		+-----------+   10.0.0.4






Thanks,
Bob
	
	
8743.7ZEKE::ranger.zko.dec.com::dilsworthKeith DilsworthMon Feb 10 1997 13:4424
re .0
Try:

system #1> route add -host 16.126.64.25 10.0.0.4


system #2> route add -host 16.126.64.8 10.0.0.3


re.6

To make it permanant, substitute your network number and netmask and try:

system #1> /usr/sbin/rcmgr set ROUTER yes
system #1> echo '-net Network_C -netmask 255.255.255.0 10.0.0.4' >> /etc/routes
system #1> /usr/sbin/rcinet restart


system #2> /usr/sbin/rcmgr set ROUTER yes
system #2> echo '-net Network_A -netmask 255.255.255.0 10.0.0.3' >> /etc/routes
system #2> /usr/sbin/rcinet restart