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

Conference smurf::arpa_internet

Title:ARPA Internet Protocols
Moderator:CVG::PETTENGILL
Created:Mon Jun 02 1986
Last Modified:Tue May 27 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:876
Total number of notes:2940

875.0. "Question of IP Routing..." by ADISSW::FERRARA () Thu Feb 06 1997 19:31


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
875.1can you show the routing tables ?BACHUS::ROELANDTSWa d'es ma da ve ne stuutFri Feb 07 1997 05:4214
    
    
    Bob,
    
    Are you saying that when, on system#1, you do a ping 10.0.0.4 you are 
    using the Ethernet interface ? That's very strange because when you
    configure an Interface it installs automatically a route for that 
    subnet with the interface address as gateway. Can you post the routing
    tables from both systems ?
    
    Rgds,
    
         Guy
    
875.2ZEKE::ranger.zko.dec.com::dilsworthKeith DilsworthMon Feb 10 1997 16:328
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


875.3ping'ingADISSW::FERRARAMon Feb 10 1997 17:2913
    
    
    From System #1, I can ping System #2 via:
    
    		ping 10.0.0.4
    
    and vice versa.
    
    The key thing here is that I ping the NETWORK INTERFACE and not the
    system (or system name).
    
    Thanks all,
    BobF
875.4Real Routing question this time...ADISSW::FERRARAMon Feb 10 1997 17:3151

Can anyone help me with this Routing issue...

Similar 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.4 ...

		Where Network-C is the "Destination" and "10.0.0.4" is the 
		Gateway.


Similarly, to System #2:

		route add Network-A 10.0.0.3 ...

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
	
	
875.5iprsetup to enable routing on Digital UNIXPARZVL::16.124.40.127::kennedynuncam non paratusMon Feb 10 1997 18:2516
First, unlike DECnet, TCP/IP is oriented towards the interface, 
not the system (so it doesn't really make sense to say, I can 
ping the interface, but not the system - the "system" would 
actually be any one of the addresses assigned to any of its 
interfaces).

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

Have you run iprsetup -s ?  

This enables forwarding of packets
and allows the systems to act as an IP router.  It wouldn't
have been necessary in your first example, since you weren't
trying to send the packets through, just out a different
interface.

875.6How do you tell if Routings On?ADISSW::FERRARATue Feb 11 1997 16:594
    
    Is there a way to determine if the IP Router is enabled?
    
    
875.7use iprsetupBACHUS::ROELANDTSWa d'es ma da ve ne stuutTue Feb 11 1997 19:329
    
    
    Just type iprsetup -d, this will show you two variables with a value of
    0 or 1 (disabled or enabled). Check the man pages of iprsetup and
    you'll know what this means.
    
    Rgds
    
                Guy