Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2003 09:24:48 -0600
From:      "Onyi C. Ejiasa" <tech@four10.com>
To:        "Constantine" <cnst@rbcmail.ru>, "freebsd-isp" <freebsd-isp@FreeBSD.ORG>
Subject:   Re: DHCP
Message-ID:  <01a701c30ff5$ce1877a0$22c9fc42@blaq>
References:  <3EAF0524.30500@rbcmail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01a701c30ff5$ce1877a0$22c9fc42>