From owner-freebsd-questions Mon Apr 10 16:33:00 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA16594 for questions-outgoing; Mon, 10 Apr 1995 16:33:00 -0700 Received: from hp.com (hp.com [15.255.152.4]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA16588 for ; Mon, 10 Apr 1995 16:32:57 -0700 Received: from hpautow.aus.hp.com by hp.com with SMTP (1.37.109.15/15.5+ECS 3.3) id AA037136774; Mon, 10 Apr 1995 16:32:54 -0700 Message-Id: <199504102332.AA037136774@hp.com> Received: by hpautow.aus.hp.com (1.38.193.4/16.2) id AA02529; Tue, 11 Apr 1995 09:32:46 +1000 From: M C Wong Subject: Re: shared IP address ? To: wollman@halloran-eldar.lcs.mit.edu Date: Tue, 11 Apr 1995 9:32:46 EST Cc: freebsd-questions@freefall.cdrom.com (freebsd-questions@freefall.cdrom.com) In-Reply-To: <9504101624.AA03221@halloran-eldar.lcs.mit.edu>; from "Garrett Wollman" at Apr 10, 95 12:24 (noon) X-Mailer: Elm [revision: 109.14.c] Sender: questions-owner@FreeBSD.org Precedence: bulk > > < 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 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.