From owner-freebsd-isp@FreeBSD.ORG Thu May 1 08:26:30 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77B5637B401 for ; Thu, 1 May 2003 08:26:30 -0700 (PDT) Received: from solomon.four10.com (solomon.four10.com [66.252.192.37]) by mx1.FreeBSD.org (Postfix) with SMTP id AC07543FA3 for ; Thu, 1 May 2003 08:26:29 -0700 (PDT) (envelope-from tech@four10.com) Received: (qmail 9360 invoked from network); 1 May 2003 14:27:26 -0000 Received: from wc-du-141-193-252-66.wcox.com (HELO blaq) (66.252.193.141) by solomon.four10.com with SMTP; 1 May 2003 14:27:26 -0000 Message-ID: <01a701c30ff5$ce1877a0$22c9fc42@blaq> From: "Onyi C. Ejiasa" To: "Constantine" , "freebsd-isp" References: <3EAF0524.30500@rbcmail.ru> Date: Thu, 1 May 2003 09:24:48 -0600 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: DHCP X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Onyi C. Ejiasa" List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 15:26:30 -0000 Constantine, Sounds like a dilemma. I would say that the short answer is you need to = hook up a keyboard and monitor to your box and run an ifconfig to see = what address is listed per interface. You could probably figure this out = with a bunch of painful guesswork, but you don't want to put yourself = thru all that if you don't have to. I am confused with the whole "switcher" thing. What the heck is that? = Are you referring to a 10base/100base switch or hub of some sort? My = recommendation to you would be to get an inexpensive hub and a crossover = cable. Connect these to your ZyXEL. Connect your BSD box and your laptop = directly to the hub using straight thru cables. This will allow you to use/test/diagnose/whatever both boxes independent = of eachother. Regardless if the BSD box is wiggin' out or not, the WinXP = comp. should work (and vise versa). If this is not a option, then answer me some questions... 1.] What happens if you hook the DHCP nic on the FreeBSD box directly to = the ZyXEL WITHOUT the "switcher"? Does it report an IP after running = ifconfig? 2.] DO the same thing with the other network card in the BSD box. Are = you able to ping from it to the router with an assigned ip on the same = network? -------------------------------------------------------------- Onyi C. Ejiasa BlaQmail.com - Empower your e-mail. -------------------------------------------------------------- Vote for my install @ sounddomain.com! http://www.sounddomain.com/id/blaqaltima -------------------------------------------------------------- ----- Original Message -----=20 From: Constantine=20 To: freebsd-isp=20 Sent: Tuesday, April 29, 2003 5:05 PM Subject: DHCP Hello! I have a FreeBSD box with 2 Ethernet cards, win xp notebook, a = DSL-modem=20 ZyXEL P645ME+, and a switcher. First I connected the modem directly to win xp, the internet was = working. Then I connected FreBSD and the modem to the switcher (I don't have a=20 free crossover cable. Nothing else was connected to that switcher at = the=20 time), and win xp to the FreeBSD. The internet was not working on the=20 FreeBSD, though after manually running "ifconfig sis0 192.168.1.18=20 netmask 255.255.255.252" I could connect to the modem itself, but not = to=20 the internet (by default sis0 is set to the DHCP, and the modem = supports=20 DHCP, but it does not seem to give an address to the FreeBSD). Question 1: After I have made a few changes to the settings on the FreeBSD box, = and=20 restarted the system, I cannot connect to my FreeBSD box anymore. Is=20 there a way to connect to the FreeBSD box, if the network addresses = got=20 messed up? One of the interfaces should be set to the DHCP, so is = there=20 a way, or an utility for win32 (cygwin, or just windows) to get back = my=20 access to the box, or will I need to borrow a monitor to fix that up? Question 2: And the second question is, why the modems DHCP server was not = assigning=20 the address to the FreeBSD? Could it be, because it was connected=20 through a switcher? Now my win xp is connected through the same = switcher=20 to the same modem, and everything works fine... Just for a reference, these are a few lines that should be in my=20 rc.conf. I was playing with the gateway, natd, and that kind of=20 features, and after restarting I can no longer ping the box through = the=20 fxp0 interface with the address stated above. ifconfig_sis0=3D"DHCP" ifconfig_fxp0=3D"inet 192.168.0.18 netmask 255.255.255.0" gateway_enable=3D"YES" Thank you for reading this letter, Constantine. _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"