[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcp/ethernet question



 --- Alice Pinard <dmnsqrl@yahoo.com> escribió: 
> hi, I'm trying to set up a firewall to connect to my cable modem ISP
> (comcast) using DHCP
> 
> I've got a 3c905 ethernet card and I've got the 3c59x module running. I've
> got the auto eth0 and iface eth0 inet dhcp lines in the
> /etc/network/interfaces file. The ethernet cable is plugged in on both
> ends, the cable modem is plugged in and it has lights.
> 
> I am getting a 'weirdness' and I'm not sure if it's on the DHCP end or the
> ethernet end.
> 

If you are using an ethernet connection to the modem, then most likely you
need to enable the DHCP server in the modem.  Your modem probably has a web-
based interface, where you can just bring up the page by typing in (for
example)
http://192.168.1.254 (the address for my Westell).  You may have a different
address that you can get from the modem's documentation or from tech support.

Once you have that, you can bring up eth0 with a static address, browse to the
modem, enable DHCP, and then bring eth0 back down and then up on DHCP.  If you
do it that way you let the modem handle the acquisition of the address from the
ISP and then it just NATs you out.

> Basically if I do an ifconfig the ethernet card is entirely missing the
> line that would begin with inet addr. It's not blank, it's not there with
> a 0.0.0.0 address, it's just not there.
> 
> basically it looks like this
> 
> eth0      Link encap:Ethernet  HWaddr 00:60:97:97:E9:92  
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1298 errors:0 dropped:0 overruns:0 carrier:1298
>           collisions:0 txqueuelen:100 
>           RX bytes:0 (0.0 b)  TX bytes:443916 (433.5 KiB)
>           Interrupt:10 Base address:0xff00 
> 

I think that happens when the card is present and there is no way for it to get
an address.  I.e., if you bring it up static and then take it down, when you
try again with DHCP and it can't find a DHCP server it will use the old static
address (I believe).

> 
> I realize that there's other information that may be necessary but I'm not
> sure what else might be particularly relevant at this pint
> 
> Is there anything off the top of anyone's head that would suggest what
> area I should be directing my troubleshooting?
> 
> thanks
> 
> 
> =====
> -Alice
> "Also _cute_ and _fluffy_!!!" (from Lilo and Stitch)
> 

-Roberto

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es



Reply to: