* routing on a box with a ppp port
@ 1996-01-07 5:00 Don H. Olive
1996-01-08 5:00 ` Mark Bergstrom
1996-01-09 5:00 ` Al Longyear
0 siblings, 2 replies; 3+ messages in thread
From: Don H. Olive @ 1996-01-07 5:00 UTC (permalink / raw)
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.
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.
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?
Q. Basically, how is the routing set up for a machine with two packet ports?
Thanks for any help and sorry if this is the wrong news group.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: routing on a box with a ppp port
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
1 sibling, 0 replies; 3+ messages in thread
From: Mark Bergstrom @ 1996-01-08 5:00 UTC (permalink / raw)
How are you making the connection on the server end? If you exist in its
/etc/hosts file (you should) you ought to connect as that ip-address. If
your connection is a random assignment, then the ppp.conf or ppp.cf or
whatever it is called ;under Ultrix whould have an entry pppAccccount in
remotehost=pppinbound)or whatever you call it) and the localhost 0,0
entry should be there. If not, then pppinbound must have a fixed ip
existing in the hosts file.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: routing on a box with a ppp port
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
1 sibling, 0 replies; 3+ messages in thread
From: Al Longyear @ 1996-01-09 5:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-01-09 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox