|
![]() |
|
| Author |
|
|||||||
|
TiT
Posts: 1216
Location: Brisbane, Queensland
|
Is it possible to block DHCP requests....
Because we have two offices A 192.168.0.0 and office B 192.168.1.0 network... i am using static route on both routers to talk to each other.. However for some reason office a can get a dhcp request from office b server and vice vs... i was wondering how to stop this... because sometimes it stops one of my servers being a dhcp server... |
|||||||
| #0 11:02am 07/08/07 |
|
|||||||
|
system
|
--
|
|||||||
| #0 |
|
|||||||
|
Jim
Posts: 6279
Location: Brisbane, Queensland
|
yes, it certainly is
http://www.google.com.au/search?hl=en&q=how+to+block+dhcp&btnG=Google+Search&meta= |
|||||||
| #1 11:07am 07/08/07 |
|
|||||||
|
TiT
Posts: 1217
Location: Brisbane, Queensland
|
i am not stupid.. done that search has nothing.. i have blocked port 67 & 68 with no luck
|
|||||||
| #2 11:10am 07/08/07 |
|
|||||||
|
Obes
Posts: 5345
Location: Brisbane, Queensland
|
As if you wouldn't have them on different physical networks (not just IP ones).
|
|||||||
| #3 11:12am 07/08/07 |
|
|||||||
|
TicMan
Posts: 2442
Location: Brisbane, Queensland
|
What's the subnet mask you're using?
Also, you could just setup one DHCP server for both offices. |
|||||||
| #4 11:15am 07/08/07 |
|
|||||||
|
Nailbomb
Posts: 2196
Location: Melbourne, Victoria
|
If your running Cisco gear, there's an option called DHCP snooping which allows you to configure a trusted dhcp server on a port by port or vlan basis and block all other dhcp server traffic which is used for situations like the one you descirbed. Of course only applies if you have the gear that supports it.
|
|||||||
| #5 11:24am 07/08/07 |
|
|||||||
|
Jim
Posts: 6281
Location: Brisbane, Queensland
|
i am not stupid.. done that search has nothing.. i have blocked port 67 & 68 with no luck *boggle* |
|||||||
| #6 11:29am 07/08/07 |
|
|||||||
|
TiT
Posts: 1218
Location: Brisbane, Queensland
|
lol
yeh i am thinking about buying a cisco router... anyone know any good resellers who also set them up... they are both on the same subnet 255.255.255.0 BTW the office connected using wireless so i am trying to minimise the use of the wireless connection.. last edited by TiT at 11:32:23 07/Aug/07 |
|||||||
| #7 11:32am 07/08/07 |
|
|||||||
|
Obes
Posts: 5346
Location: Brisbane, Queensland
|
A DHCP Discover is a broadcast.
If a broadcast is getting from office A to office B, then you do not have them on different networks, despite having different IP subnets. I strongly suggest you run 3 physical networks. 1 for office A 1 for office B and 1 for the wireless link That way you can put security on the A-wireless and B-wireless routers. Wireless even WPA is not to be trusted as secure (imo tinfoilhat +1). The routers can be s***ting little boxes running linux, or purpose built appliances (expensive). However, If no device on A needs direct communication with a device on B other then the 2 servers. Multi-home the servers and have no router but setup a decent firewall on the servers wireless network's NIC. But that's just me. |
|||||||
| #8 11:41am 07/08/07 |
|
|||||||
|
Raven
Posts: 2050
Location: Melbourne, Victoria
|
May I just be the first to say:
Told you so. But no, you didn't want to listen when we suggested how to do this, and told you to put a router in place. |
|||||||
| #9 03:10pm 07/08/07 |
|
|||||||
|
ara
Posts: 1232
Location: Sydney, New South Wales
|
they are both on the same subnet 255.255.255.0 that is a subnet mask, not a subnet. |
|||||||
| #10 04:40pm 07/08/07 |
|
|||||||
|
stinky
Posts: 2025
Location: Brisbane, Queensland
|
ebay for cisco gear these guys seem to have a few decent cisco routers. 871 should be sufficient for what you're doing. they have some wireless ones as well which might be able to take care of the wireless connection in between as well ( not sure, haven't used them before ).
|
|||||||
| #11 05:01pm 07/08/07 |
|
|||||||
|
Jim
Posts: 6286
Location: Brisbane, Queensland
|
raven you're a dill
|
|||||||
| #12 05:26pm 07/08/07 |
|
|||||||
|
BiKESEAT
Posts: 308
Location: Brisbane, Queensland
|
If you still wanted to go the dodgy way mac address filter each set of computers taht need to be on they're respective networks, then it can't get the wrong ip.
Or do static ips. |
|||||||
| #13 05:36pm 07/08/07 |
|
|||||||
|
teq
Posts: 120
Location: Brisbane, Queensland
|
access-list 120 deny tcp from networkA to networkB eq dhcp
access-list 120 deny tcp from networkB to networkA eq dhcp something like that, depending how your networks are setup and what devices do dhcp, what kinda firewall you're running yada yada yada |
|||||||
| #14 12:33am 08/08/07 |
|
|||||||
|
Obes
Posts: 5349
Location: Brisbane, Queensland
|
At the moment there is no firewall or router, that's the point. A DHCP Discover packet is a broadcast, it can't get from 1 network to another without a DHCP Help or Bootp Proxy.
ie. It is getting from 1 office to another, there for it is 1 network, there for there is no firewall or router to apply that rule to. |
|||||||
| #15 08:12am 08/08/07 |
|
|||||||
|
Jim
Posts: 6287
Location: Brisbane, Queensland
|
I don't get it obes
|
|||||||
| #16 08:58am 08/08/07 |
|
|||||||
|
Splash
Posts: 2514
Location: Brisbane, Queensland
|
ie. It is getting from 1 office to another, there for it is 1 network, there for there is no firewall or router to apply that rule to. i am using static route on both routers to talk to each other.. what |
|||||||
| #17 09:05am 08/08/07 |
|
|||||||
|
Obes
Posts: 5350
Location: Brisbane, Queensland
|
Splash there is a huge difference between a physical network, and an IP network/subnet.
And while you need an "IP router" to route between different "IP networks" yet on that same network A broadcast (like a DHCP Discover) on a physical network goes everywhere. But that's only a guess, based on the musings of someone who is struggling with the concepts, and who has a signature that suggest he laughs at himself frequently. |
|||||||
| #18 10:49am 08/08/07 |
|
|||||||
|
Splash
Posts: 2515
Location: Brisbane, Queensland
|
I was just pointing out that the original post said he is using a router(s), but you're assuming he isn't.
|
|||||||
| #19 10:52am 08/08/07 |
|
|||||||
|
Obes
Posts: 5352
Location: Brisbane, Queensland
|
I'm assuming he isn't because I doubt he has the knowledge or skill to setup a DHCP Helper or Bootp Proxy. That doubt is based upon the fact he is asking relatively simple questions regarding DHCP and firewalls.
Anyway a DHCP Discover is a broadcast. Broadcasts do no travel from network to network. There for ... It must be 1 physical network. And the word router is a loosely used term hence his confusion as to what he has setup. |
|||||||
| #20 01:26pm 08/08/07 |
|
|||||||
|
TiT
Posts: 1220
Location: Brisbane, Queensland
|
well i do have 2 routers the picture shows how its setup
http://img174.imageshack.us/img174/6840/officesetupat0.gif Sorry its Fixed! last edited by TiT at 15:29:28 08/Aug/07 |
|||||||
| #21 03:29pm 08/08/07 |
|
|||||||
|
Jim
Posts: 6289
Location: Brisbane, Queensland
|
that's an interesting empty green shape
|
|||||||
| #22 03:19pm 08/08/07 |
|
|||||||
|
Splash
Posts: 2516
Location: Brisbane, Queensland
|
that's an interesting empty green shape looks like obes was right, it IS just one physical network :) |
|||||||
| #23 03:21pm 08/08/07 |
|
|||||||
|
blahnana
Posts: 248
Location: Brisbane, Queensland
|
I think I see the porblem.
|
|||||||
| #24 03:24pm 08/08/07 |
|
|||||||
|
Dan
Special text
Posts: 7593
Location: Brisbane, Queensland
|
What you're looking at here is your classic 'network submerged in pea and ham soup' situation. What you want to do is first remove the network from the soup and then begin to troubleshoot your connection issues.
|
|||||||
| #25 03:30pm 08/08/07 |
|
|||||||
|
Dan
Special text
Posts: 7594
Location: Brisbane, Queensland
|
lols @ 4969 x 7031 px image
|
|||||||
| #26 03:33pm 08/08/07 |
|
|||||||
|
ara
Posts: 1235
Location: Sydney, New South Wales
|
as it was brought up last time you came here asking about your network issues, you shouldn't be running two different networks with different subnets on the same broadcast domain. as you have not placed a routing device on your network to seperate the two subnets you are going to continue to have stupid issues where upon you will come to the forum and ask why/how/whatnow. how about you utilise the advice that you have already been given OR get someone in who actually has a clue to setup your network. |
|||||||
| #27 03:34pm 08/08/07 |
|
|||||||
|
Scorp
Posts: 21
Location: Brisbane, Queensland
|
don't worry mate, we'll get you up and running. Some of what some people have said here is true and your DCHP broadcast may be effecting your entire network illistrated in your diagram.
Could you please tell me more about your wireless link, primarily why it was setup and what kind of things you need to do that warrants having the link? From that I will try and draw you up a network diagram, as someone suggested, using three networks. One for office a, office b and one for the wireless link itself. Ontop of that i'll also try and give you advice as to how you can configure your wireless routers so that only traffic from one office can access the resource it needs to at the other office. It's always been my practise to assume wireless links are comprimised or treated as a 'wan/internet/dmz'. |
|||||||
| #28 04:43pm 08/08/07 |
|
|||||||
|
TiT
Posts: 1225
Location: Brisbane, Queensland
|
Well Office B is about 400 metres accross the road from Office A.. So we have used 2 wireless AP in WDS mode to connect the two networks...
|
|||||||
| #29 10:26pm 08/08/07 |
|
|||||||
|
Scorp
Posts: 22
Location: Brisbane, Queensland
|
[B]WHY[/B]
|
|||||||
| #30 10:40pm 08/08/07 |
|
|||||||
|
CaPt0
Posts: 5901
Location: Brisbane, Queensland
|
Why not just pay a consultant to set it up correctly and quickly according to your specs ro what they suggest?
|
|||||||
| #31 01:56pm 09/08/07 |
|
|||||||
|
system
|
--
|
|||||||
| #31 |
|
|||||||
|
| ||||||||