Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 1995 9:32:46 EST
From:      M C Wong <mcw@hpato.aus.hp.com>
To:        wollman@halloran-eldar.lcs.mit.edu
Cc:        freebsd-questions@freefall.cdrom.com (freebsd-questions@freefall.cdrom.com)
Subject:   Re: shared IP address ?
Message-ID:  <199504102332.AA037136774@hp.com>
In-Reply-To: <9504101624.AA03221@halloran-eldar.lcs.mit.edu>; from "Garrett Wollman" at Apr 10, 95 12:24 (noon)

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> <<On Mon, 10 Apr 1995 12:44:00 EST, M C Wong <mcw@hpato.aus.hp.com> said:
> 
> >   While talking to the guy there, he said the router's port is assigned to
> >   the address 203.13.47.32, and he said that it is a 'shared' IP address
> >   which I will have to set on my side as well. This sounds a bit confusing 
> >   to me as I haven't played around much with router, and let alone this
> >   concept of 'shared' IP address.
> 
> What he said is partially bogus, but I'll see if I can make sense of
> what you're trying to do.

Ok, I re-clarify with him, it is not a `point-to-point' link between my
end and his Annex, and he said I merely need to do something like :

ifconfig sl0 inet up 203.13.47.32 netmask 255.255.255.0

But having done so on (sorry still an old) 1.1.5.1 box, doing ifconfig sl0
the next time gives me something looks like:

sl0: flag=xxx<UP,POINT-TO-POINT,MULTICAST,RUNNING>
		inet 203.13.47.32 --> 0.0.0.0 netmask ff000000

This may be the thing that bites me since he re-clarify that it is not a
`point-to-point' link, but rather much like other Ethernet interface and
hence there is no need to specify destination IP in ifconfig, and also
it shouldn't show "POINT-TO-POINT" (or something like that) above. The Annex
end however is capable in talking TCP/IP regardless of what I use in my end,
ie SLIP or PPP. Also, once the modem connection has been established, the 
only message on the screen is CONNECT XXXX, and I won't get any message or
login prompt like on another Annex terminal server in my Uni, with which I
get a login prompt, and to enable SLIP on that end, I will login as slip.
Well, according to him, his setup has been to support TCP/IP automatically
and nothing needs to be done manually, and nothing will be shown on my 
screen once the modems have connected.

Since I am still on 1.1.5.1, I wonder does the ifconfig command behave the
same on 2.X ? Oh BTW, I tried the ifconfig on another Linux box as well,
which allows you to ifconfig a serial interface without specifying a dest.
IP, and without setting it as a POINT-TO-POINT linke, from 'slattach -p slip',
well it still didn't work, 8-((((

> 
> >   1) ifconfig sl0 inet up 203.13.47.32 netmask 255.255.255.0
> 
> That this did not return an error is a bug in the kernel and will be
> fixed shortly.

Huh ? This is exactly what he told me to do on my end!?

On the other hand, he suggest me running a DOS box running pcroute on it
and it SHOULD be much easier to set up and SHOULD work well, as he showed
me he actually got quite a few of them in his place! But I thought what
is the diiference between a host and a cheap pcroute box ? For some reason
he keep mentioning this is the best way to go on my end, and perhaps his
end setup depends on this sort of set up on my end, doesn't make sense!


> My guess, based on what you have told me, is that you really need to
> do the following:
> 
> - Figure out another address that his box responds to.  I would
> suggest 203.13.47.3[13] as likely candidates.
> 
> - Properly configure your SLIP interface:
> 
> # ifconfig sl0 inet 203.13.47.32 other-address-figured-out-above

Ha, I have tried this over a range of valid IP addess, and well it doesn't
work either.

Well, I guess someone is going to say make sure your modem or cable have
been set up and plugged properly, which I double-checked they have been, and
the V.34 modem has been init'ed to talk to Annex at 38400.

> 
> -GAWollman

Anyway, thanks for your help, I shall try again with pcroute alternative.
Have anyone done things like this before ? A diagram below will help, perhaps:



 FreeBSD                                          Annex router
 +-----+                                         +-----+
 |     |-- modem --- ............. --- modem ----|     |
 +-----+ ^                                     ^ +-----+
         |                                     |
 /dev/tty0, sl0, 203.13.47.32            unspecified


and I was told to do the following :

1. connect to the remote modem
2. ifconfig sl0 inet up 203.13.47.32 netmask 255.255.255.0
   Yes, he said it over 10 times or so, this is *NOT* a point-to-point link,
   and I *MUST* leave the destination IP address out. However, I believe on
   1.* FreeBSD, sl* are configured to be point-to-point interface even without
   specifying destination IP address (as seen from ifconfig sl0 command) ?
3. route add default 203.13.47.32

Many thanks in advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504102332.AA037136774>