Route to host problem

Route to host problem

Post by Jukka Inker » Fri, 16 Aug 1996 04:00:00



I have SCO 5.0.0 Enterp.

ip is 194.197.200.101 netmask 255.255.255.224 broadcast 194.197.200.127
so it is subnet (or so they want)

router ip is 194.197.200.65
nameserver is 194.197.200.34

Where and what I must to do that ping works to router and ns and I like
to use
internet from that point (allso).

/etc/route ...
or default/inet
or ...
/etc/gateways
or ..

Sincerely,

jukka

--
-----------------------------------------------------------------------------------
Karjalan ATK-Awot Oy, Jukka Inkeri, Polvij?rventie 65 C, 80400 YL?MYLLY,
FINLAND
puh:0208-333 222 fax/koti:013-854 288  intern. +358-208-333 222
fax:+358-13-854 288

http://personal.eunet.fi/pp/awot

 
 
 

Route to host problem

Post by Bob » Sat, 17 Aug 1996 04:00:00


At least one problem is that, given the network mask you show, your SCO
box and your router are on different *ip* subnets, even if it is the same
physical wire.  If the router is in fact on a different wire, then you
need someway for the SCO box to know how to get there.  This might be as
simple as a "route add...." statement. (Assuming it works that way in
5.0.0; I'm only familiar with 3.2.4.2)

Anyhow, Applying the mask to the SCO box, it is host 5 on network
194.197.200.96;  using the same mask (which is what SCO or any other
TCP/IP will do when you try to ping or otherwise use an IP address), the
router is host 1 on network 194.197.200.64.  Since the router is
perceived as being on a different network, the SCO box wants to use a
router to get to it.

Looking at the bits;

11111111.11111111.11111111.11100000 is net mask
11000010.11000101.11001101.01100101 is SCO ip addr

the 1s in the network mask sho the "network" part of the address, the
zeros show the host part.  therefore the network part of the SCO address is:

11000010.11000101.11001101.01100000 is network of the SCO ip addr
which is 194.197.200.96.

Similarly,

11111111.11111111.11111111.11100000 is net mask
11000010.11000101.11001101.01100001 is router ip address
11000010.11000101.11001101.01100000 is network part of router address.

This is 194.197.200.96

Anyhow, the thing to do is:

1) if this router address is on the same physical wire as the SCO box,
find out the configuration of the router and choose an address from it's
address range.  If this router is not on the same physical wire (and not  
bridged to it), find out what router port is and use that address in your
routing entries.

HTH,

++++++++++++++++++++++++++++++++++++++++++++++++
Robert Niederman, Federal Reserve Bank, Chicago
++++++++++++++++++++++++++++++++++++++++++++++++++



: I have SCO 5.0.0 Enterp.

: ip is 194.197.200.101 netmask 255.255.255.224 broadcast 194.197.200.127
: so it is subnet (or so they want)

: router ip is 194.197.200.65
: nameserver is 194.197.200.34

: Where and what I must to do that ping works to router and ns and I like
: to use
: internet from that point (allso).

: /etc/route ...
: or default/inet
: or ...
: /etc/gateways
: or ..

: Sincerely,

: jukka

: --
: -----------------------------------------------------------------------------------
: Karjalan ATK-Awot Oy, Jukka Inkeri, Polvij?rventie 65 C, 80400 YL?MYLLY,
: FINLAND
: puh:0208-333 222 fax/koti:013-854 288  intern. +358-208-333 222
: fax:+358-13-854 288

: http://personal.eunet.fi/pp/awot