It is currently Fri Apr 26, 2019 12:41 am


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: GNS3, Windows Server 2008 to act as DHCP server
PostPosted: Mon Nov 28, 2011 1:48 pm 
Hi Guys,

Has anyone of you tried to connect a Windows Server 2008 R2 to a GNS3 network topology to act as a DHCP server?

I guess I have a few problems.

Connecting the OS via the Cloud is working fine, also communication to the second host is working (its a Ubuntu).

The DHCP server is showing the leased IP address for the Ubuntu machine, but unfortunatly, the network interface on the Ubuntu host is flapping all the time.

Ping between the routers where the two OS are connected is working fine.

The network looks as follow:

VMWare (Windows server 2008) -> Router -> Router -> Router -> Router -> VMWare (Ubuntu)

All possible firewalls have been deactivated.

Can anyone maybe help me on my problem?

Kind regards,
Christian




Top
  
 
 Post subject: Re: GNS3, Windows Server 2008 to act as DHCP server
PostPosted: Mon Dec 05, 2011 9:28 pm 
Offline

Joined: Sat May 09, 2009 1:11 pm
Posts: 30
Hello,

Actually I'm in the process of testing using the following scenario:


Windows 2003 server----> switch--->router----->switch------>Windows XP. If it works for this scenario, then it has to work when you add more routers. Will update you the result soon.


Thanks,

_________________
CCIE (R&S), CCNP, CCNA, JNCISX3, JNCIA-Junos, MCSE, SCSA, HCNE, SCP, VCAx2


Top
 Profile  
 
 Post subject: Re: GNS3, Windows Server 2008 to act as DHCP server
PostPosted: Tue Jun 26, 2012 2:06 pm 
Offline

Joined: Tue Jun 26, 2012 10:31 am
Posts: 2
I just cracked this problem.

I used 3 routers (c2691) with virtual win server 2008
For this you need a simple router topology like I have shown in figure 1
This topology contain
(i) 3 well connected routers (c2691)with ips 192.168.X.X
(ii) virtual server in server 2008 (in vmware)
(iii) as virtual win xp (in VMWARE)

Network goal:----
To create virtual dhcp server in server 2008 (in vmware) and give automatic ip to host machine(win 7) as well as virtual win xp (in VMWARE).

Firstly you should connect all 3 routers with ips as I shown with needed routing to ping every network.

Attachment:
New Bitmap Image.jpg
New Bitmap Image.jpg [ 37.31 KiB | Viewed 8367 times ]


now Create loopback adapter on real machine to connect to gns .

Install server 2008 in vmware (note please stop dhcp of vmware) host only (my nic—vnnet1)

Attachment:
vm.jpg
vm.jpg [ 57.49 KiB | Viewed 8367 times ]


pic shows method to stop dhcp of vmware

Give static ip in server 2008 --->192.168.0.1.
Create dhcp server in server 2008 by adding roles .
Create 3 scopes i.e (192.168.x.x --1.0 , 2.0 , 3.0 ) for each network .
Start dhcp server .
Install win xp in vmware (stop dhcp & install nic with connectivity of host only)(my nic----vmnet2)

Add 3 cloud as shown (i just change symbol of cloud don't confuse)

Attachment:
with clouds.jpg
with clouds.jpg [ 73.45 KiB | Viewed 8367 times ]


Now right click each cloud and connect it with respective nic for ex
Connect c0 with vmnet1
Connect c1 with loopback(ms loopback).
Connect c2 with vmnet2.

(Note :even dhcp of VMWARE is OFF but stil it gives static ip one’s so please check vmnet1 and vmnet 2 and check on obtain ip automatically on trio (i.e on vmnet1, vmnet 2 , and loopback )

Even now you don’t get automatic ip since you didn’t add routes in your win routing table for that follow these steps :-

In server 2008 cmd ---> route add 0.0.0.0 mask 0.0.0.0 192.168.0.254
In real pc cmd ----->route add 0.0.0.0 mask 0.0.0.0 192.168.1.254
In win xp cmd ---->route add 0.0.0.0 mask 0.0.0.0 192.168.2.254
(note –>>here I used default routing for win routing table youcan even you can use static but remember to add all networks)

Add ip helper command for router to be acting like relay agent

In R3 int fa 0/0 –
R3(config-if) ip helper-address 192.168.0.1


In R2 int fa 0/0 –
R2(config-if) ip helper-address 192.168.0.1

Ipconfig every where and check if you got ip

(NOTE:- if you are getting169.254.X.X 255.255.0.0 then ypu have mistaken somewhere)
Ping whole network .

If not pinging check if you have mistaken in upper steps

my network is working and taking ip from dhcp of win server 2008 (192.168.0.1) some more pics :-----

Attachment:
Copy of cmd.jpg
Copy of cmd.jpg [ 131.73 KiB | Viewed 8367 times ]


this is pic of my win7 cmd rahulchhabra.com shows my dns from where it is taking ip


Attachment:
xp.jpg
xp.jpg [ 69.08 KiB | Viewed 8367 times ]


this shows my virtual xp cmd it is also taking ip from server (rahulchhabra.com ie dnd shows this )
even it is pinging to server you can see ping to 192.168.0.1 which is my server




thanks for watching this tutorial
hope this helped

this is my first post so please rate it any response is very much welcomes


Top
 Profile  
 
 Post subject: Re: GNS3, Windows Server 2008 to act as DHCP server
PostPosted: Tue Jun 26, 2012 2:26 pm 
Offline

Joined: Tue Jun 26, 2012 10:31 am
Posts: 2
some more pics




Attachments:
win network.jpg
win network.jpg [ 47.19 KiB | Viewed 8361 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO