|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
DHCP inet problem
Hello this is my small problem
i have my : /etc/hostname.bce0 = dhcp after i reboot server it takes all the information needed form the DHCP everything works fine but when i want to reassign the IP #ifconfig bce inet 192.168.1.233 netmask 255.255.255.0 it takes forever to log in thru ssh and is impossible to resolve anything nslookup dig, after i change ip back to the original one everything goes back to normal if i try to modify with #vi /etc/hostname.bce0 from dhcp to inet 192.168.1.233 netask 255.255.255.0 NONE and reboot same story so i am lost |
|
|||
Quote:
It also is not clear from the information provided whether 192.168.1.233 had been the IP address provided by your ISP's DHCP server, or how you decided it use this particular private address. My guess is that this had been previously supplied by DHCP. If so, this may account for the following: Quote:
At this point, we simply don't have enough information to figure out what is going on. If you can help clarify the configuration, we may be able to help solve it. |
|
|||
thanks ocicat for the reply
yes its bce0 i misstyped here i have one static ip xx.xx.xx.xx ... and my isp deltacom need to point it to a specific local ip so i picked 192.168.1.233 the router dhcp gives ip's from 192.168.1.2 up to 192.168.1.229 and ISP does not provide username and password to configure router i installed openbsd and left settings to dhcp so after installation i was assigned one ip and every ip dhcp assign openbsd go smooth but when i want to set ip to 192.168.1.233 it doesnt resolve anything ssh takes forever there is no proxy or sendmail the computer running openbsd 4.7 is a fresh installation that has been updated, before the update it had same problem i am connecting to it from inside the lan from a machine running windows 2003 server standard, and i am using putty thanks Last edited by ocicat; 7th August 2010 at 07:54 AM. Reason: redacted public IP address |
|
|||
one more thing to add
when i ssh to 192.168.1.233 login comes instant i type user then hit enter and it takes like a minute to ask for password after that speed is perfect just it doesnt resolve anything |
|
|||
Quote:
Code:
192.168.1.11 / 192.168.1.10 / +-- 192.168.1.12 \ / / ISP ---------- router ----------------------- 192.168.1.14 DHCP \ \ \ +--192.168.1.13 \ 192.168.1.15 Last edited by ocicat; 7th August 2010 at 07:55 AM. Reason: redacted public IP address |
|
|||
Code:
ISP---Router(192.168.1.1)---Switcher----192.168.1.233 | +----192.168.1.6 Last edited by ocicat; 7th August 2010 at 06:03 AM. Reason: edited for clarity |
|
|||
192.168.1.6 and 192.168.1.233 connect thru a wire to same switcher
|
|
|||
The term is "switch".
What is the netmask implemented/assumed by the switch? Quote:
|
|
|||
the router assign 255.255.255.0 netmask to everybody
yes i pick 192.168.1.233 to pint the static external ip address and technical support configure dhcp to assign ip address up to 192.168.1.229 |
|
|||
So, can all internal hosts succesfully ping each other by IP address?
Quote:
|
|
|||
correct
|
|
|||
|
|
|||
yes both questions are correct the switch handle all requests,
i am able to connect from my house which is in southamerica to the openbsd machine using the static external address but i try anything to resolve like dnslookup google.com and it wont work |
|
|||
Identify the OpenBSD system in your diagram, or is it external to your home network?
|
|
|||
that diagram is the network in USA and i have therem y openbsd PC
my home network is in Peru so i have to connect using ssh to xx.xx.xx.xx and it connects Last edited by ocicat; 7th August 2010 at 07:53 AM. Reason: redacted public IP address |
|
|||
Quote:
|
|
|||
thanks i will
PS:i do not find the edit button to remove my external ip thanks |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
match vs pass (changes in 4.7), and inet vs inet proto | mikesg | OpenBSD Security | 4 | 12th June 2010 02:35 AM |
net.inet.ip.portrange.* | carpman | FreeBSD General | 10 | 27th May 2009 03:09 PM |
W2K DHCP Issue | DrJ | Other OS | 4 | 25th May 2009 07:19 PM |
problem on my end or someone leaking dhcp? | Calderon | FreeBSD Security | 4 | 24th February 2009 12:31 PM |
obtain 2 ips via dhcp | dextro | FreeBSD General | 2 | 6th February 2009 04:56 AM |