Results 1 to 10 of 12
This is not really a Linux issue but I thought somebody with more networking knowledge than me may be able to help me.
Bought an access point this morning, I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-14-2007 #1
DHCP on wireless
This is not really a Linux issue but I thought somebody with more networking knowledge than me may be able to help me.
Bought an access point this morning, I connected it to my wired router which is connected to my cable modem, then I configured it and changed my SSID.
My network topology is like this
----- : Means wired
-*-*-*-*: Means wireless
Cable Modem --- Wired router --- Access Point (192.168.0.50) -*-*-* My laptop (DHCP)
| |
* *
| dad laptop (DHCP)
brother laptop (DHCP)
The DHCP server (my ISP) assigns me (my laptop) an IP, but it doesn't assign an IP to my dad or my brother laptops
My laptop can browse the internet without problems but the others (without an IP) can't
I also tried to copy the IP in my laptop and assign it to my dad laptop and it doesn't work either
I also tried to put an IP on the same range to all the laptops connected to the wireless access point, it worked flawlessly as a network without internet but once I try DHCP it doesn't work
I can even shut down my laptop and the other computers can't get an IP through DHCP
I have tried it on both, Linux and Windows and it fail miserably
----------
The graph doesn't show correctly, will post drawing laterPut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 04-15-2007 #2
Hi Juan Pablo,
Sorry to hear of your problems.
I hope I'm understanding the problem correctly but forgive me if I'm not addressing it in the right way. I have a similar situation at my radio station except all boxes within the network use static IP's. I think everything would be the same using DHCP though. I'll just tell you what I'm doing and hopefully it will help shed some light.
We use a DSL modem to a router then to the separate computers. DHCP could be setup to run inside the router so it would assign local IP addresses to all computers on the local network. The IP of each computer is assigned by the router, not the ISP. All boxes are provided with the router's IP ( the gateway) and that tells each where to find their way onto the Internet.
The access point, if it is like mine, should just make all traffic flow between the various computers and the router.
I feel like this hasn't helped much, but wanted to try anyway...Last edited by Dapper Dan; 04-15-2007 at 02:52 AM.
- 04-15-2007 #3
Your pic looks strange: Your dad an brother are connected to the moden .... I think they are connected to the router...
I'm sure your labtop doesn't get an IP address from your ISP. Its the router who gets the IP address and you have a local IP address. Just use ifconfig/ipconfig on your labtop to get your local IP.
Which IPs do your dad and brother use?
Looks like your router has to be reconfigured."Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds
- 04-15-2007 #4
The pic is really strange, vBulletin deleted the spaces I used to drwaw the graph, check this one

Accidentaly, while I was stressed and sleepy because of this problem I wrote Router instead of Switch
Do I need a router after/before the switch?
Let's make it basic
How can I share my cable internet connection through wireless? The IPs are usually assigned through DHCP, it works If I connect the computers directly to the switch
This makes me remember my first days with LinuxPut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 04-16-2007 #5
I think you need only a router and you don't need the switch.
As the other posters already have said, your switch is getting ONE IP address from your ISP. That you can use for ONE computer or for a router.
The router stays with the ISP's IP address and builds up a local network where you can attach the computers.
Maybe it would be working with the switch if you would set up one of the computers as a router, with two NICs or wireless cards, and attach the other computers to your computer acting as a software router.
BTW:
I don't understand how can you attach the computers of your dad and brother directly to the cable modem.
What sort of cable modem is this? Does it have an integrated router?
How many network sockets does it have?Bus Error: Passengers dumped. Hech gap yo'q.
- 04-16-2007 #6Can't your Access Point run a DHCP server of its own?
Originally Posted by Juan Pablo
I mean, your ISP can only assign you one public IP address, there is no way around this.
Nevertheless you should be able to run a DHCP server from your Wireless Access Point (and essentially do NAT), so that all computers in your network are assigned private IP addresses."To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 04-19-2007 #7
Sorry for the delay, my internet connection was down
This should explain everythingAs the other posters already have said, your switch is getting ONE IP address from your ISP. That you can use for ONE computer or for a router.
The router stays with the ISP's IP address and builds up a local network where you can attach the computers.
I have my old desktop computer under my desk without use, I will set it up as a headless routerMaybe it would be working with the switch if you would set up one of the computers as a router, with two NICs or wireless cards, and attach the other computers to your computer acting as a software router.
I can't, I use the switch for thisI don't understand how can you attach the computers of your dad and brother directly to the cable modem.
Yes (continued below)Can't your Access Point run a DHCP server of its own?
I have tried this but the computers with the private IP addresses don't get internet this wayNevertheless you should be able to run a DHCP server from your Wireless Access Point (and essentially do NAT), so that all computers in your network are assigned private IP addresses.Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 04-19-2007 #8I know this is a dumb and simple question, but did you set up your resolv.conf file?
Originally Posted by Juan Pablo
I agree with the other posts, remove the switch for now, just use the router and your wireless AP to assign IP'sI do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
- 04-19-2007 #9Yes, of course, it can't even ping using internet IP addressesI know this is a dumb and simple question, but did you set up your resolv.conf file?Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 04-20-2007 #10
I don't know, now everything worked magically ... it works! no routers! no switch! no DHCP server on the AP! Just the AP plugged to the modem, WPA and nothing else!!
All the computers work perfectly!
I don't know how it works in the US, but here ISPs can give you up to 5 public IP addressesPut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums


Reply With Quote
