[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OpenBSD : DHCP Client Problem
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: OpenBSD : DHCP Client Problem
- From: "Fehmi Noyan ISI" <fnoyan_(_at_)_linuxmail_(_dot_)_org>
- Date: Tue, 28 Sep 2004 05:14:15 +0800
First of all I read the FAQ and man pages related with this topic.
I have two network adapters and I will use one of the for internet connection (rl0).
I first edit /etc/hostname.rl0
#echo "dhcp" > /etc/hostname.rl0
This assigns IP adresses as follows...
DHCPOFFER from 192.168.100.1
DHCPREQUEST on rl0 to 255.255.255.255 on port 67
DHCPACK from 192.168.100.1
New Network Number : 192.168.100.0
New Broadcast Address : 192.168.100.255
And the "ifconfig rl0" gives
status : active
inet : 192.168.100.2
Then I try to ping somewhere (ie google), the system caanot "route"!
The /etc/resolv.conf includes
I also tried
If I give "netstat -r" or "route show" and then type "ifconfig rl0" the inet address will change to 0.0.0.0!
But, when I try to connect to internet with the same modem in Windows 98 (I do no changes in TCP/IP configuration, all the settings are untouched) I just connect the cable modem to my ethernet card and connect to internet.
I tried to reset the modem several times. Edit /etc/dhclient.conf file and prevent the system to get the DNS address from DHCP (but not gave an address myself, I am not sure!)
Why do the addreses given to me are in 192.168.*.* format (LAN format) !?!? The addreses in Windows 98 are like 62.248.*.*!
How can I configure my system? I, actually want to use it as an gateway.
Fehmi Noyan ISI
This allows you to send and receive SMS through your mailbox.
Powered by Outblaze
Visit your host, monkey.org