Re: Internet Woes

From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 12/23/03


Date: Tue, 23 Dec 2003 01:38:26 GMT

On 22 Dec 2003 17:19:24 -0800, Darryl wrote:
> Bit Twister <BitTwister@localhost.localdomain> wrote in message news:<slrnbua93s.lns.BitTwister@wb.home>...
>> You are going to get the ip address assigned to you by the ISP's dhcp
>> server. If the mac value changes you will not get the other addy.
>> The dhcp server caches the mac with the ip address until the lease
>> expires.
>
> Any way to "force" it to get a new lease?
>
>> it is created by the dhcpcd client. You are using dhcpclient.
>
> Maybe I should use dhcpcd client?
>
>> > Also, the first file seems to have an IP address hardcoded that has
>> > never worked. Can I alter this file or is it strictly auto-generated?
>>
>> Now, that is the ip address which the dhcp server gave you.
>
> I assume the "Now" above was "No", right?

Frap, yes, should be No

>> Looking at /var/lib/dhcp/dhclient-eth1.leases
>>
>> use the gateway in your /etc/sysconfig/network
>> and dns values in /etc/resolv.conf
>
> When you say "use the gateway" you mean change it somewhere?

Thought I gave the files to look in earler in thread.
/etc/sysconfig/network has gateway
/etc/resolv.conf for dns nameservers

>> and /etc/sysconfig/network-scripts/ifcfg-eth1 should have something like
>> DEVICE=eth1
>> BOOTPROTO=dhcp
>> ONBOOT=yes
>> MII_NOT_SUPPORTED=no
>
> Mine looks exactly like that now. I had "MII_NOT_SUPPORTED=yes" and
> changed it.

If yes was set by Mandrake, set it yes

>
>> Now you should be able to do a
>> service network restart
>> and
>> ifconfig
>> and route -n
>> show have values seen in /var/lib/dhcp/dhclient-eth1.leases
>
> I see those values in the right places.
>
>> if so, you should see where it fails
>> ping -c 1 (gateway_ip_here)
>
> Fails! Right there! Hasn't worked yet. I figure if I can't ping the
> gateway anything else is pretty much useless.

Yes, that is correct.

Let's assume your box is connected to a cable modem.
Unplug the power from the modem for 1 minute, by the watch.

If you have any equipment (router) in between, power reset it.

Post output from
cat /etc/sysconfig/network
cat /var/lib/dhcp/dhclient-eth1.leases
route -n
ifconfig

Also, Show me what your hardware hookup is:

192.168.1.1 pc1 node's gateway
192.168.1.14 pc1 node's ip
   |
   v
x pc1 printer 24.x.x.xx
x \ / |
x \ / v
x Hub---------eth1_fw_eth0---cablemodem-----ISPgateway---Internet
x / ^ ^
x / | |
x pc2 192.168.1.1 ggg.ggg.ggg.1
   ^ lan gateway
   |
192.168.1.12 pc2 node's ip
192.168.1.1 pc2 node's gateway



Relevant Pages

  • Re: Static IP outside of router DHCP range
    ... This would avoid the need for DHCP entirely, ... server IP statically will at least avoid the problem of the clients ... DHCP from the router, you could turn it off in the router and use static ... So I have no way to either reserve IP addresses based on Mac addresses, ...
    (alt.comp.hardware.pc-homebuilt)
  • RE: DHCP
    ... Asunto: Re: DHCP ... I am looking for a way to block any PC that plugs into my network ... Windows Server 2008 can do this, but I'm not sure about 2003. ... MAC, this server will send IP address and parameters for configure the ...
    (Security-Basics)
  • Re: Cant access secure Web pages
    ... server. ... This is a description of how you may, in the future, configure a DHCP ... network, and which need to be contacted via the Default Gateway. ... with it's hardware Ethernet MAC address in. ...
    (uk.comp.sys.mac)
  • Re: Configuring default gateway for laptop with multiple access points
    ... Within your DHCP server, you should configure the "router" parameter. ... is the default gateway. ... If you have DHCP servers in all locations that a laptop user goes to, ...
    (microsoft.public.windows.server.general)
  • Re: Unable to Ping Network from Outside
    ... Those clients should not have the router gateway in their gateway settings; ... Check DHCP, Scope options and make sure that 003, 006 and 044 are pointing ... >>Post the ipconfig/all from the server. ...
    (microsoft.public.windows.server.sbs)

Loading