From: longyear@sii.com (Al Longyear)
Subject: Re: routing on a box with a ppp port
Date: 1996/01/09 [thread overview]
Message-ID: <4cu9gb$3ue@maddawg.sii.com> (raw)
In-Reply-To: 7JAN199623425849@ctrvx1.vanderbilt.edu
olived@ctrvx1.vanderbilt.edu (Don H. Olive) writes:
>I've had some trouble getting the routing working once a ppp connection is
>made on my ultrix box.
>Here is my setup. I have a machine sitting on a class C domain with
>an ethernet connection with IP address 1.2.3.4 as an example. I make a
>connection via ppp throught a serial port with another machine.
>Q. Should the ppp port have the same IP as the ethernet port. My guess is not.
You are free to do that if you wish. Either way will work.
>Q. If _no_ to the above, should the ppp port be in the same domain?
> e.g. 1.2.3.5 might be a good choice. Maybe it doesn't matter.
I would not suggest 'making them up'. Use one from RFC 1597 which defines
IP addresses for 'private' networks. Based upon that, 1.2.3.5 is not a good
choice but 10.2.3.5 will work.
There is one small point to consider.
The local IP address for a point-to-point link is not significant, only the
IP address of the system on the other end of the link, usually called the
'peer' system.
However, your local IP address will be the remote IP address to that peer
system and it will be used in its routing decisions.
>Q. Lets assume that the connection is made on the ppp port like
> 1.2.3.5 -> 1.2.3.6. That is the ppp has address 1.2.3.5 and the connecting
> machine has address 1.2.3.6. How does a packet destined for 1.2.3.7
> for instance, find its way out the ethernet port and vic versa?
Routing is performed on the destination address from the IP header. If the
frame has a destination for the ethernet 'port' then it will go there.
>Q. Basically, how is the routing set up for a machine with two packet ports?
What is a 'machine with two packet ports'?
If you are asking about a system with two point-to-point network
devices then again, routing for a specific IP frame is based upon the
destination address in the IP header. How the frame appeared in the
system is of no consequence.
Point-to-point connections are not the same as a typical network style
connections. Your ethernet, token ring, token bus, etc., 'network'
devices deal with routing for a network. There are many systems
attached to a common medium. A point-to-point connection has normally
two connections. Frames sent by one system are received only by the
other system. This is why things such as 'broadcast' addresses and
'netmasks' have little meaning for these devices and why the normal
route to the systems on this connection are a 'host' route.
>Thanks for any help and sorry if this is the wrong news group.
Routing questions normally belong in the comp.protocols.tcp-ip.domains
group.
--
Al Longyear longyear@sii.com
The above opinions do not necessarily represent those of the Management
of System Integrators nor any of its subsidiaries.
prev parent reply other threads:[~1996-01-09 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-07 5:00 routing on a box with a ppp port Don H. Olive
1996-01-08 5:00 ` Mark Bergstrom
1996-01-09 5:00 ` Al Longyear [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox