From owner-freebsd-isp@FreeBSD.ORG Thu May 1 08:57:52 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 1EA0137B401 for ; Thu, 1 May 2003 08:57:52 -0700 (PDT) Received: from pendragon.tacni.net (pendragon.tacni.net [66.17.129.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B75343F3F for ; Thu, 1 May 2003 08:57:51 -0700 (PDT) (envelope-from tom.oneil@tacni.com) Received: (qmail 56121 invoked by uid 85); 1 May 2003 15:57:48 -0000 Received: from tom.oneil@tacni.com by pendragon.tacni.net by uid 81 with qmail-scanner-1.15 (uvscan: v4.1.60/v4200. Clear:. Processed in 0.947921 secs); 01 May 2003 15:57:48 -0000 Received: from unknown (HELO tacni.com) (66.190.75.60) by pendragon.tacni.net with SMTP; 1 May 2003 15:57:46 -0000 Message-ID: <3EB14402.5040407@tacni.com> Date: Thu, 01 May 2003 10:57:54 -0500 From: Tom ONeil User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp References: <3EAF0524.30500@rbcmail.ru> <01a701c30ff5$ce1877a0$22c9fc42@blaq> In-Reply-To: <01a701c30ff5$ce1877a0$22c9fc42@blaq> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: DHCP X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 15:57:52 -0000 MAC filtering from your provider. Onyi C. Ejiasa wrote: > 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 ----- > From: Constantine > To: freebsd-isp > 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 > 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 > free crossover cable. Nothing else was connected to that switcher at the > time), and win xp to the FreeBSD. The internet was not working on the > FreeBSD, though after manually running "ifconfig sis0 192.168.1.18 > netmask 255.255.255.252" I could connect to the modem itself, but not to > the internet (by default sis0 is set to the DHCP, and the modem supports > 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 > restarted the system, I cannot connect to my FreeBSD box anymore. Is > there a way to connect to the FreeBSD box, if the network addresses got > messed up? One of the interfaces should be set to the DHCP, so is there > a way, or an utility for win32 (cygwin, or just windows) to get back my > 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 > the address to the FreeBSD? Could it be, because it was connected > through a switcher? Now my win xp is connected through the same switcher > to the same modem, and everything works fine... > > Just for a reference, these are a few lines that should be in my > rc.conf. I was playing with the gateway, natd, and that kind of > features, and after restarting I can no longer ping the box through the > fxp0 interface with the address stated above. > ifconfig_sis0="DHCP" > ifconfig_fxp0="inet 192.168.0.18 netmask 255.255.255.0" > gateway_enable="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" > _______________________________________________ > 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" > >