Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › WS 2008 R2 Issue with DHCP Scope on a bridged connection
New Posts  All Forums:Forum Nav:

WS 2008 R2 Issue with DHCP Scope on a bridged connection

post #1 of 16
Thread Starter 
Hello everyone, I recently undertook the building on my own server as my data/networking needs have continued to grow over the years and I am majoring in network administration. Unfortunately my school has repeatedly canceled my classes on me so I decided to start fiddling with WS 2008 r2 on my own and learning as I go.

My issue presently is that when I activate my DHCP scope my server begins to give IP addresses out to devices on both sides of my bridged connection when I only want it to be a DHCP server for one side. To better explain my situation I will give a brief overview of my setup.

I have a wireless router to which my personal computer, server, and several laptops are connected to, I then have a test system connected to my server for the purposes of learning. I wish for only the test system to obtain an address from the server but for some reason all the computers on my network will stop obtaining their addresses from my router to which they are directly connected and instead obtain them from my server. I do not understand why my server is over riding my router when the router is at the top of my network structure.

Any help would be greatly appreciated.
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
post #2 of 16
The only way is to subnet and make the server and the test client on the same network, then put the router between the laptops and your personal computer, then route certain ports back and forth. Not sure what type of router you have but an enterprise one can do this like a small sonic wall.
post #3 of 16
Quote:
Originally Posted by DEW21689 View Post

I then have a test system connected to my server for the purposes of learning..
connected how ?
I think you need to install routing services on you server to prevent your test system from broadcasting dhcp requests on the same network than your first router. Then config the dhcp service to answer only on the network you need.
Also know that dhcp works like that : a maching broadcasts a request , then, the first server to answer gets to give an address. If you want to make sure that it's your router which will answer first you can set a delay on the secondary dhcp server. This way, you are sure it won't aswer first.
deus ex machina
(14 items)
 
  
Reply
deus ex machina
(14 items)
 
  
Reply
post #4 of 16
Thread Starter 
Quote:
Originally Posted by kamimaru View Post

connected how ?
I think you need to install routing services on you server to prevent your test system from broadcasting dhcp requests on the same network than your first router. Then config the dhcp service to answer only on the network you need.
Also know that dhcp works like that : a maching broadcasts a request , then, the first server to answer gets to give an address. If you want to make sure that it's your router which will answer first you can set a delay on the secondary dhcp server. This way, you are sure it won't aswer first.

My server has 2 ethernet ports.... 1 port is connected to my router which is connected to my ISP's modem, the other port is connected to the test system. The test system correctly gets it's address from my server. The issue is that my other systems connected to the router start also getting their addresses from the server. For example...

--> Random Computer
Router --> Server --> Test System
--> Random Computer

It isn't displaying properly, but the random computers are connected to the router.
Edited by DEW21689 - 3/30/13 at 8:03pm
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
post #5 of 16
Did you install the routing services on your server ?
You should be able to manage your server so that it responds only on a certain interface.
deus ex machina
(14 items)
 
  
Reply
deus ex machina
(14 items)
 
  
Reply
post #6 of 16
Thread Starter 
Quote:
Originally Posted by kamimaru View Post

Did you install the routing services on your server ?
You should be able to manage your server so that it responds only on a certain interface.

Can I do that on a bridged connection?
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
post #7 of 16
Quote:
Originally Posted by DEW21689 View Post

Can I do that on a bridged connection?

The point is to not keeping both interfaces bridged. You will end up with 2 networks : one for your test system and one for all the rest, your server will be routing packets between the 2.
Make sure that your dhcp service on the test network is providing the informations about DNS (for internet browsing) and gateway (on both networks if you want routing to work both ways)
deus ex machina
(14 items)
 
  
Reply
deus ex machina
(14 items)
 
  
Reply
post #8 of 16
Thread Starter 
So I enable the Routing and Remote Access service in the Services.msc then I unbridge my NICs. After I configure the NIC to my router so that my server has internet access, how do I configure the other NIC? Do I set its default gateway/dns server to the IP address of the first NIC? After that how do I need to configure RRAS/DHCP for it? Sorry I have so many questions, as I stated I am trying to self learn while waiting for my school to offer me the course =/
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
post #9 of 16
Quote:
Originally Posted by DEW21689 View Post

So I enable the Routing and Remote Access service in the Services.msc then I unbridge my NICs.
yes
Quote:
Originally Posted by DEW21689 View Post

After I configure the NIC to my router so that my server has internet access, how do I configure the other NIC?
yes and the other NIC so that it can communicate with the test system. 2 NIC in 2 different networks. If your original private network was 192.168.1.0/24 you can have th other NIC in 192.168.2.0/28 . Then in the routing service enable the packet routing between the 2.
Quote:
Originally Posted by DEW21689 View Post

Do I set its default gateway/dns server to the IP address of the first NIC?
Your system will choose the right interface to use when it needs to communicate with an other network. Vis a vis your server, the test system will be accessible from one NIC, the internet from another. Just give your test NIC a static Ip and let the other one in auto.
Quote:
Originally Posted by DEW21689 View Post

After that how do I need to configure RRAS/DHCP for it
After that the rras will do it's job. As to the DHCP, it needs to be set on the Test Network NIC only . It needs to be set to listen to a certain interface. You will then have to set an Adress pool (choose one from all the ip adresses in your test network, minus the first, last and the gateway of course). Once you have a pool, give it the options Gateway (your server) and DNS (your ISP router). So the dns isn't in the same network but your test system will have a gateway to get to it.
After that You will probably need to set a default route to your test network via your server in the routing table of your ISP Router to allow your test system to be reached.
Quote:
Originally Posted by DEW21689 View Post

Sorry I have so many questions, as I stated I am trying to self learn while waiting for my school to offer me the course =/
No problem, I know how it feels to have a lot of question, I'm still 1/4th of the time at school for a professional credential .
deus ex machina
(14 items)
 
  
Reply
deus ex machina
(14 items)
 
  
Reply
post #10 of 16
Thread Starter 
Okay so I unbridged the connections, enabled RRAS and have the first NIC configured as follows...
IP Address: 192.168.1.15
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
Preferred DNS: 192.168.1.1
Alternates: 127.0.0.1, 192.168.1.15

The second NIC...
IP Address: 192.168.2.1
Subnet: 255.255.255.0

I left the rest blank and configured the DHCP Scope as 192.168.2.1-50 subnet mask 255.255.255.0

My test system properly obtains the IP Address 192.168.2.2 but how do I configure RRAS to route between the 2 NICs so that the test system can access the internet?

Again thank you so much for your help/patience in this.
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
Chibi
(12 items)
 
Arcturus
(8 items)
 
 
CPUMotherboardGraphicsGraphics
i7-3770s Gigabyte G1. Sniper M3 AMD 7850 AMD 7850 
RAMHard DriveOptical DriveOptical Drive
G.Skill Sniper Series low voltage OCZ Vertex 4 Max IOPS LG DVD Burner dual-layer LG Bluray Burner dual-layer 
CoolingOSPowerCase
Custom liquid Windows 7 Ultimate 64 bit Corsair AX650 Fractal Design Arc Mini 
CPUCPUMotherboardRAM
AMD Opteron 4386 AMD Opteron 4386 SUPERMICRO MBD-H8DCL-6F-O Crucial 8GB 240-Pin DDR3 1600 SDRAM ECC Registe... 
Hard DriveOSCaseOther
Western Digital RE WD1001FYYG 1TB 7200RPM 32MB ... Windows Server 2008 R2 SUPERMICRO CSE-825TQ-R700LPB Black Adaptec RAID 2274200-R 7805 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › WS 2008 R2 Issue with DHCP Scope on a bridged connection