Author Topic: Server 2008 as dhcp server problems  (Read 6310 times)

Offline Fkacn_tt

  • Global Moderator
  • Kage
  • *
  • Posts: 1500
  • Country: 00
  • Chakra 2
    • PS3,PsP, Dead PS2
  • Referrals: 1
    • View Profile
  • CPU: AMD Athlon 64 X2 4400+
  • GPU: XFX 4850 512mb
  • RAM: 2 GB PC 6400
  • Broadband: Flow
  • PSN: r_guy007
Server 2008 as dhcp server problems
« on: September 22, 2011, 07:48:03 PM »
I have setup a workstation with server 2008 to act as a dhcp server for my internal network. The problem is that the dhcp is working perfectly and all clients receive an ip address, but they don't have access to the internet.

The diagram below will help you understand the setup.

WAN---->(Nic 1--MS Server 2008--Nic 2(DHCP))---->Switch---->Clients.

Nic1 config
Static IP
Host IP:192.168.1.102
Gateway:192.168.1.1
Netmask:255.255.255.0

Nic2 config
Static IP
Host IP:192.168.20.111
Gateway:192.168.1.102
Netmask:255.255.255.0

DHCP settings
IP range:192.168.20.1-192.168.20.254
Exclusion range: 192.168.20.1-192.168.20.50
DNS:192.168.20.111
Router: 192.168.1.102

Any help would be greatly appreciated.
" border="0

Carigamers

Server 2008 as dhcp server problems
« on: September 22, 2011, 07:48:03 PM »

Offline Spazosaurus

  • Dr. Herp Derpington
  • Administrator
  • Akatsuki
  • *****
  • Posts: 7685
  • Country: tt
  • Chakra 52
  • Referrals: 3
    • View Profile
    • The Awesome Company
  • CPU: i5 3470
  • GPU: GTX 780
  • RAM: 8GB Corsair
  • Broadband: Blink 2Mb + Flow 20Mb
Re: Server 2008 as dhcp server problems
« Reply #1 on: September 22, 2011, 08:43:52 PM »
Have you thought about setting up a firewall proxy and use that as the gateway for internet traffic?

Offline Fkacn_tt

  • Global Moderator
  • Kage
  • *
  • Posts: 1500
  • Country: 00
  • Chakra 2
    • PS3,PsP, Dead PS2
  • Referrals: 1
    • View Profile
  • CPU: AMD Athlon 64 X2 4400+
  • GPU: XFX 4850 512mb
  • RAM: 2 GB PC 6400
  • Broadband: Flow
  • PSN: r_guy007
Re: Server 2008 as dhcp server problems
« Reply #2 on: September 22, 2011, 09:15:06 PM »
if it was possible i would not do it this way but the requirements require me to. I have been running wireshark and it seems that it maybe a dns problem, so a new problem to figure out.
" border="0

Offline Jarrox

  • Global Moderator
  • Jonin
  • *
  • Posts: 501
  • Country: tt
  • Chakra 18
    • Xbox, Xbox360
  • Referrals: 1
    • View Profile
  • Broadband: Flow
  • Origin ID: Jarrox
  • PSN: Jarrox
  • XBL: Jarrox
Re: Server 2008 as dhcp server problems
« Reply #3 on: September 22, 2011, 11:43:15 PM »
You need to setup ICS on Nic1 and Remove the gateway from Nic2 and in DHCP put the GW as Nic2.......i think
« Last Edit: September 22, 2011, 11:44:56 PM by Jarrox »
1f U C4n R34d Th1s U R34lly N33d 70 G3t L41d!!!..

Offline Fkacn_tt

  • Global Moderator
  • Kage
  • *
  • Posts: 1500
  • Country: 00
  • Chakra 2
    • PS3,PsP, Dead PS2
  • Referrals: 1
    • View Profile
  • CPU: AMD Athlon 64 X2 4400+
  • GPU: XFX 4850 512mb
  • RAM: 2 GB PC 6400
  • Broadband: Flow
  • PSN: r_guy007
Re: Server 2008 as dhcp server problems
« Reply #4 on: September 22, 2011, 11:55:27 PM »
tried that no go.
" border="0

Carigamers

Re: Server 2008 as dhcp server problems
« Reply #4 on: September 22, 2011, 11:55:27 PM »

Offline Jarrox

  • Global Moderator
  • Jonin
  • *
  • Posts: 501
  • Country: tt
  • Chakra 18
    • Xbox, Xbox360
  • Referrals: 1
    • View Profile
  • Broadband: Flow
  • Origin ID: Jarrox
  • PSN: Jarrox
  • XBL: Jarrox
Re: Server 2008 as dhcp server problems
« Reply #5 on: September 23, 2011, 12:09:12 AM »
Have you thought about setting up a firewall proxy and use that as the gateway for internet traffic?
This is the best option
but what I said before should work, maybe you missing a step.
1f U C4n R34d Th1s U R34lly N33d 70 G3t L41d!!!..

Offline Netizen1

  • Global Moderator
  • Kage
  • *
  • Posts: 1764
  • Country: tt
  • Chakra 10
  • save de Earth, iz de only planet with chocolate!
    • :ps3: :psp:
  • Referrals: 0
    • View Profile
    • Trinidad Christian Center
  • Broadband: :flow:
  • PSN: Netizen1
  • Steam: Netizen1
Re: Server 2008 as dhcp server problems
« Reply #6 on: September 23, 2011, 10:57:16 AM »
Windows don't like multiple default gateways. Remove gw on NIC2 as suggested

Is NIC1 connected to a router? Doesn't the router do DHCP?

You have the router in Scope options set to an IP the hosts can't reach

Offline Fkacn_tt

  • Global Moderator
  • Kage
  • *
  • Posts: 1500
  • Country: 00
  • Chakra 2
    • PS3,PsP, Dead PS2
  • Referrals: 1
    • View Profile
  • CPU: AMD Athlon 64 X2 4400+
  • GPU: XFX 4850 512mb
  • RAM: 2 GB PC 6400
  • Broadband: Flow
  • PSN: r_guy007
Re: Server 2008 as dhcp server problems
« Reply #7 on: September 23, 2011, 11:45:33 AM »
Windows don't like multiple default gateways. Remove gw on NIC2 as suggested

I removed the ip of nic1 as the gateway but still their is no connectivity.

Is NIC1 connected to a router? Doesn't the router do DHCP?

I Wish it did but all the ip's are static lease.


You have the router in Scope options set to an IP the hosts can't reach

I have been playing around with the Router IP but still can't connect. I used wireshark on the server and on the client and i saw that the ARP request for hosts on the opposite networks were left unanswered. I many just have to bite the bullet and add a router to be the dhcp server.
" border="0

Offline EmperorXavier

  • AdvancedTactics
  • Jonin
  • *
  • Posts: 607
  • Country: af
  • Chakra 9
  • ALL RISE 4 DE EMPEROR!!!!... =[PT]= 4 LIFE!!!
  • Referrals: 0
    • View Profile
  • CPU: Intel I7 3930K
  • GPU: Galaxy GeForce GTX 680 x2 SLI
  • RAM: Corsair Vengeance 16 GB ( 4 x 4 GB ) DDR3 1600 MHz
  • Broadband: Flow 15Mbps
  • Origin ID: EmperorXavier
Re: Server 2008 as dhcp server problems
« Reply #8 on: September 23, 2011, 11:47:57 AM »
set ur dhcp server to give ur clients the default gateway of your internet link that way your internal network sees the internet (hence the reason it is called a gateway) end result do not use your internal dhcp server as ur default gateway or any internal IPs. can you please tell me which NIC is internal and external (internet)

if you need some help PM your number and we i'll call you we can set this up together over the phone or through a logmein session

=[PT]=





=[PT]= 4 LiFe

Offline EmperorXavier

  • AdvancedTactics
  • Jonin
  • *
  • Posts: 607
  • Country: af
  • Chakra 9
  • ALL RISE 4 DE EMPEROR!!!!... =[PT]= 4 LIFE!!!
  • Referrals: 0
    • View Profile
  • CPU: Intel I7 3930K
  • GPU: Galaxy GeForce GTX 680 x2 SLI
  • RAM: Corsair Vengeance 16 GB ( 4 x 4 GB ) DDR3 1600 MHz
  • Broadband: Flow 15Mbps
  • Origin ID: EmperorXavier
Re: Server 2008 as dhcp server problems
« Reply #9 on: September 23, 2011, 11:50:54 AM »
i also notice that both ur internal and external NICs uses the same IP address this would greatly mess up things please don't do that.
=[PT]=





=[PT]= 4 LiFe

Offline MessiaaH

  • Global Moderator
  • Akatsuki
  • *
  • Posts: 4465
  • Country: ky
  • Chakra 6
    • :ps3: :wii:
  • Referrals: 2
    • View Profile
    • Youtube Channel
  • CPU: i7 3930k @ 5.0GHz
  • GPU: 3 * Nvidia GTX 680 (Liquid Cooled)
  • RAM: 64GB Corsair Vengence
  • BattleNet ID: MessiaaH / 350
  • XBL: MesssiaaaH
Re: Server 2008 as dhcp server problems
« Reply #10 on: September 23, 2011, 03:34:51 PM »
What alyuh men smoking dread?

That setup will never ever ...EVER work, unless you setup that server as a router.
Presently it have no way for the machines on d internal network, to even know a public network exists. Something has to route d traffic from internal to external.

You can use ICS or NAT, both with specific requirements and setup.

Here are d links:
NAT:
http://support.microsoft.com/kb/816581

ICS:
http://support.microsoft.com/kb/324286

If your internal network has to operate on a specific ip range, you go have to do what capt. awesome recommend, and setup ah seperate firewall/proxy (ISA) to do d magic.

If is a domain environment another option is:

Modem -> Switch
Server Internal -> Switch
Clients -> Switch.

Server DNS forwarder setup -> ISP DNS or Modem.
DHCP Hands Modem as DG, Server as DNS.

But that option, everything on d same network, and d only thing between your machines and d internet is d tstt modem. (Not Safe) But its d easiest option.

Offline Spazosaurus

  • Dr. Herp Derpington
  • Administrator
  • Akatsuki
  • *****
  • Posts: 7685
  • Country: tt
  • Chakra 52
  • Referrals: 3
    • View Profile
    • The Awesome Company
  • CPU: i5 3470
  • GPU: GTX 780
  • RAM: 8GB Corsair
  • Broadband: Blink 2Mb + Flow 20Mb
Re: Server 2008 as dhcp server problems
« Reply #11 on: September 23, 2011, 05:10:01 PM »
Man buss down some bess options on yuh chest dey. I'd try that nat solution and use rras to assign ips to ur clients.

I know it goes without saying that your wan address would need to be static for any of these options to work long term.
« Last Edit: September 23, 2011, 05:14:28 PM by Captain Awesome »

Offline Arcmanov

  • Administrator
  • Akatsuki
  • *****
  • Posts: 10642
  • Country: tt
  • Chakra 126
  • Gamer/Enthusiast
    • :n64: :gcn: :dreamcast: :xbox360: :computer:
  • Referrals: 1
    • View Profile
    • Arcmanov's rig
  • CPU: Intel Core i7 5820K @ 4.3 GHz
  • GPU: 2 x [Gigabyte] GeForce GTX 1070
  • RAM: 4 x 8GB G.Skill.TridentZ RGB DDR4-2400
  • Broadband: :flow:
  • MBL: LG V20
  • Origin ID: Arcmanov
  • PSN: Arcmanov
  • Steam: Arcmanov
  • XBL: Arcmanov
Re: Server 2008 as dhcp server problems
« Reply #12 on: September 23, 2011, 05:14:29 PM »
I have done what you require before, but it was in Windows 7, by using the two
NICs to create a network bridge.  The 2nd 'NIC' was in fact, a wireless adapter,
but that is irrelevant.  Any device that connected to the ad-hoc connection would get
internet access.  Swap that wifi adapter with a regular wired NIC, and you essentially
get the same thing.  In your case your 'clients' would get their DHCP settings from the bridge.
Systems United Navy - Accipiens ad Astra


Offline Fkacn_tt

  • Global Moderator
  • Kage
  • *
  • Posts: 1500
  • Country: 00
  • Chakra 2
    • PS3,PsP, Dead PS2
  • Referrals: 1
    • View Profile
  • CPU: AMD Athlon 64 X2 4400+
  • GPU: XFX 4850 512mb
  • RAM: 2 GB PC 6400
  • Broadband: Flow
  • PSN: r_guy007
Re: Server 2008 as dhcp server problems
« Reply #13 on: September 24, 2011, 02:36:03 AM »
thanks for all the options guys and a special thanks to you messiah all your suggestions allowed me to broaden my search in which i finally found the solution, kind of.

The solution was to disable RRAS the reable it and redo the NAT, but this time it just seemed to work, even though i selected the same nic for NAT as i did before i.e NIC2.

So again, thanks guys
" border="0

Carigamers

Re: Server 2008 as dhcp server problems
« Reply #13 on: September 24, 2011, 02:36:03 AM »

 


* ShoutBox

Refresh History
  • Crimson609: yea everything cool how are you?
    August 10, 2022, 07:26:15 AM
  • Pain_Killer: Good day, what's going on with you guys? Is everything Ok?
    February 21, 2021, 05:30:10 PM
  • Crimson609: BOOM covid-19
    August 15, 2020, 01:07:30 PM
  • Shinsoo: bwda 2020 shoutboxing. omg we are in the future and in the past at the same time!
    March 03, 2020, 06:42:47 AM
  • TriniXjin: Watch Black Clover Everyone!
    February 01, 2020, 06:30:00 PM
  • Crimson609: lol
    February 01, 2020, 05:05:53 PM
  • Skitz: So fellas how we go include listing for all dem parts for pc on we profile but doh have any place for motherboard?
    January 24, 2020, 09:11:33 PM
  • Crimson609: :ph34r:
    January 20, 2019, 09:23:28 PM
  • Crimson609: Big up ya whole slef
    January 20, 2019, 09:23:17 PM
  • protomanex: Gyul like Link
    January 20, 2019, 09:23:14 PM
  • protomanex: Man like Kitana
    January 20, 2019, 09:22:39 PM
  • protomanex: Man like Chappy
    January 20, 2019, 09:21:53 PM
  • protomanex: Gyul Like Minato
    January 20, 2019, 09:21:48 PM
  • protomanex: Gyul like XJin
    January 20, 2019, 09:19:53 PM
  • protomanex: Shout out to man like Crimson
    January 20, 2019, 09:19:44 PM
  • Crimson609: shout out to gyal like Corbie Gonta
    January 20, 2019, 09:19:06 PM
  • cold_187: Why allur don't make a discord or something?
    December 03, 2018, 06:17:38 PM
  • Red Paradox: https://www.twitch.tv/flippay1985 everyday from 6:00pm
    May 29, 2018, 09:40:09 AM
  • Red Paradox: anyone play EA Sports UFC 3.. Looking for a challenge. PSN: Flippay1985 :)
    May 09, 2018, 11:00:52 PM
  • cold_187: @TriniXjin not really, I may have something they need (ssd/ram/mb etc.), hence why I also said "trade" ;)
    February 05, 2018, 10:22:14 AM

SimplePortal 2.3.3 © 2008-2010, SimplePortal