Question

How to configure subnetting on vmware

Asked by: start85uk

I am trying to set up 2 private subnets on vmware workstation for testing puposes. I am new to ip routing and would appreaciate it if someone could give me detailed instructions on how this can be done. How do the vmnet settings be configured to each subnet?

Subnet 1. 192.168.1.0\24
subnet 2. 192.168.2.0\24

I will be using windows server 2003 as a router between the 2 subnets(RRAS Setup) hence they will have 2 lan connections for the router. What are the tcp ip settings and default gateway, dns setting etc for each interface

Thanks in advance for any assistance




This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-27 at 14:55:30ID24688305
Topic

Windows Networking

Participating Experts
1
Points
125
Comments
38

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Subnet Access
    I am having trouble getting access (pinging) a Windows Server from a client workstation on a different subnet. I have a windows 2003 server with two Nics: The Windows XP machine CAN ping Nic 2 (subnet 10.0.13.2) but CAN NOT PING the 10.0.0.x subnet The Windows Server CAN Ping...
  2. VMWare server and simulate different subnets
    We want to create a VMWare lab of a single domain, 2 site organisation. The 2 AD sites are different subnets and we want to create a lab with 2 different subnets. Each subnet will contain a virtualized copy of a DC, Exchange Server and client. So 6 VMs in all and obvious...
  3. vmware
    initially i have winxp2 installed then i installed vmware and then i installed again winxp through vmware. now i want these two ips in network and make communicate them when i ping from host,it is responding but in reverse it is giving timed out
  4. VMWare DNS (?) Issue
    Hi, I've been struggling with a VMWare problem for almost a week... I have Windows 7 x64 RC1 installed as my main / host OS. I'm running VMWare Workstation 6.5 and have installed a Win XP Pro SP2 client OS. I have the network set to Bridged. Problem: I initially had inter...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: MiLLeNNiuMPosted on 2009-08-27 at 16:21:42ID: 25203530

You can configure the networks using the Virtual Network Editor and then associated and ip to the vmnet interface like any real interface.
Your virtual machine can take any ip in the network you choose, you gonna use as default gateway the ip you set in previous step for the vmnet interface and for DNS as soon as routing is working you can use the sames as the real machine.
Just be careful with internet access, if you using a router you may need to create static routes to your virtual lans pointing to your real machine external ip.

 

by: start85ukPosted on 2009-08-28 at 03:30:33ID: 25206210

Hi Millenium. Thanks for your reply
Let me see if im undertanding this correctly.  For this to work i need to configure the vmnet and the ip settings on the virtual machine as:

vmnet 1
IP address: 192.168.1.x
Sunbet mask: 255.255.255.0
DG:192.168.1.1
DNS: 192.168.1.1

vmnet 5
IP address: 192.168.2.x
Sunbet mask: 255.255.255.0
DG:192.168.2.1
DNS: 192.168.2.1


Virtual machine (windows server 2003 as router wth 2 lan conections)
Lan 1 (connected to vmnet1)
IP address: 192.168.1.1
Sunbet mask: 255.255.255.0
DG:
DNS:

Lan 2 (connected to vmnet5)
IP address: 192.168.2.1
Sunbet mask: 255.255.255.0
DG:
DNS:

Let me know if this is correct. Thanks

 

by: MiLLeNNiuMPosted on 2009-08-28 at 03:47:04ID: 25206279

I understood at first that you had the 2003 server in the real machine, in this setup what you looking for is probably bridging, so the addresses 192.168.1.1 and 192.168.2.1 are in the same physical network as the other computers in your switch.

You gonna configure in VMWare both cards as bridged. And in the Virtual Machine your cards gonna look like this:

Lan 1
IP address: 192.168.1.1
Sunbet mask: 255.255.255.0
DG:
DNS:

Lan 2
IP address: 192.168.2.1
Sunbet mask: 255.255.255.0
DG:
DNS:

Your default gateway and DNS will be in only one interface, depending in the info im gonna ask you now:

Can you provide me the output for "ipconfig /all" and "route print" in the real machine ?

 

by: start85ukPosted on 2009-08-28 at 05:06:47ID: 25206652

Hi Millenium. Im at work currently but i will provide you with the details once i get home. Once again, i really apprecaite your time and avise.  What do you mean by the real machine?

My understanding with vmware networking protocols is that bridged networking will connect to the physical network NIC so hence connect to the existing network (the physical nic is connecting to the internet with ip address obtained automatically). I want the traffic on virtual networks to be entirely isolated from the host operating system and so host-ony is the networking protocol available for my needs unless im going about this the wrong way.

Im trying to setup an test environment solely on vmware so all my machines and routers(windows server 2003) are virtual machines and isolated from the host pc. I havent setup any routers for internet access just yet.

If i configure the virtual network editor so I have to 2 vmnics (just say vmnet 1 for 192.168.1.x subnet  connected to the vmnet1 switch and vmnet5 for 192.168.2.x subnet connected to vmnet5 switch)

Subnet 1. 192.168.1.0\24
subnet 2. 192.168.2.0\24
VIRTUL SERVER 2003 MACHINE(configured as router)
XP VIRTAUL MACHINE 1   - IP ADDRESS  192.168.1.x
XP VIRTAUL MACHHINE 2  - IP ADDRESS  192.168.2.x

The router will have the 2 network cards connected to the relevant subnet.

 

by: MiLLeNNiuMPosted on 2009-08-28 at 05:29:41ID: 25206794

I see, now your goal is clear to me. I understood as you wanted to make that virtual machine the router between your networks and not an isolated NAT (thats why i asked about your real machine configuration, so i could figure out gateway/dns).

In this case you don't even have to do anything in the real machine besides set up the vmnet just like you said here

> If i configure the virtual network editor so I have to 2 vmnics (just say vmnet 1 for 192.168.1.x subnet  connected to the vmnet1 switch and vmnet5 for 192.168.2.x subnet connected to vmnet5 switch)

Then, under the vmware, you go in your Server 2003 machine and assign one NIC to each vmnet.

Configure in the Server 2003 nic 1 with ip 192.168.1.1 and nic2 with ip 192.168.2.1 (note, this machine has no gateway in this setup and will have dns only if you set up a DNS server with 2003, so dns will be one of the ips that the machine owns (192.168.1.1/192.168.2.1/127.0.0.1).

Next step is to create the XP 1 machine and assign the NIC to vmnet 1

Configure the machine with the ip 192.168.1.2, gw 192.168.1.1 and if you set up a DNS server, the dns will be 192.168.1.1

Next step is to create the XP 2 machine and assign the NIC to vmnet 5

Configure the machine with the ip 192.168.2.2, gw 192.168.2.1 and if you set up a DNS server, the dns will be 192.168.2.1

Enable and configure RRAS in the Server 2003, and you should be able to ping from the XP1 the XP2



Let me know if im not clear in any of the steps.

 

by: MiLLeNNiuMPosted on 2009-08-28 at 05:30:39ID: 25206800

isolated NAT = isolated network (typo).

 

by: start85ukPosted on 2009-08-28 at 07:04:03ID: 25207758

Hi Millenium. Your steps are clear. Thanks. I will try the above when i get home.

what if i decided to add another router to be used as a internet router (again windows server 2003 machine). Just say i set up the machine with the ip address 192.168.1.254 (internet for users on the 192.168.1.x subnet) and have it connected to vmnet1.

Does that mean all the machines on the 192.168.1.x subnet will have their default gatway as 192.168.1.254.

I know i will need to add a static router on the router for the 192.168.2 network i.e route add 192.168.2.0 mask 255.255.255.0 192.168.1.1

does the router 192.168.1.1 need a default gateway set up as then 192.168.1.254. what about the 192.168.2.1 router. Does that need a default gateway entered or can it be left blank

 

by: MiLLeNNiuMPosted on 2009-08-28 at 07:31:45ID: 25208038

> Hi Millenium. Your steps are clear.

I'm always concerned with my english, since it's not my main language.

> what if i decided to add another router to be used as a internet router (again windows server 2003 machine). Just say i set up the machine with the ip address 192.168.1.254 (internet for users on the 192.168.1.x subnet) and have it connected to vmnet1.

I would do it differently, adding another virtual nic to the actual windows 2003 server (the one with RRAS) and use that NIC for the internet access, that would make routing/nating way easier.

But if you wanna go for that setup, lets continue

> Does that mean all the machines on the 192.168.1.x subnet will have their default gatway as 192.168.1.254.

Yes, the default route would be that.

> I know i will need to add a static router on the router for the 192.168.2 network i.e route add 192.168.2.0 mask 255.255.255.0 192.168.1.1

Add a "-p" while adding the route to make it persistent.

> does the router 192.168.1.1 need a default gateway set up as then 192.168.1.254. what about the 192.168.2.1 router. Does that need a default gateway entered or can it be left blank

If you want the RRAS to have access internet and every network behind you must do it, and yes, you leave it in blank (there is no such thing as 2 default routes, unless in very very specific setups).

 

by: start85ukPosted on 2009-08-29 at 08:22:06ID: 25214320

Hi Millenium. Just to let you know i have successfully created 2 subnets on vmware and able to ping the computers on the other subnets. Thanks for your advise.

The only reason why i have decided to add a new router on the 192.168.1 subnet is so i can test static ip routes. However i am having trouble setting the router as a NAT.

I have added two nics to the new router (WINDOWS SERVER 2003 MACHINE)

LAN 1 (connected to vmnet1)
IP address: 192.168.1.254
subnet mask: 255.255.255.0
DG:
DNS:

LAN 2 (connected to vmnet0 - bridged)
ip address: assigned by dhcp

For lan 2 i am getting a 169.254 ip address.

Any suggestions

Thanks

 

by: MiLLeNNiuMPosted on 2009-08-29 at 08:31:58ID: 25214347

Do you have more than once NIC in your real machine (bluetooth, wireless and hamachi are going to count as a NIC for the VMWare) ? If you do, make sure that VMnet0 is associated to the right NIC.
Is your real machine directly connected to your router ? What kind of internet access do you ? If its cable, its possible its associated to the MAC Address of your real machine NIC, so it won't gives you an IP.
To test the brigde you can add static ip to your LAN 2 in the same network as the Internet Router's LAN (assuming that you have one) and simple ping it.

 

by: start85ukPosted on 2009-08-29 at 09:10:31ID: 25214436

Hi Millenium. I only have the 1 physical nic on my host machine and it is correctly bridged to vmnet0 on network editor.

The real machine is directly connected to the cable modem hence cable access.

I dont think its a MAC issue as i have connected the ethernet from the cable modem to my laptop and i can access the internet.

Real machine ethernet adaptor LAN configs are
IP: 86.11.29.230
subnet: 255.255.252.0
dg: 86.11.28.1
dns:194.168.4.100

I added a static ip address on the virtual machine on lan 2 as below and able to ping the above ip address
ip:86.11.29.230
subnet: 255.255.252.0
dg: 86.11.28.1
dns:194.168.4.100

Any suggestions? as soon as i change the config on lan2 on the virtual machine back to dhcp it gives me a 169.254 range address

 

by: start85ukPosted on 2009-08-29 at 09:12:12ID: 25214438

sorry. the ip address ON lan2 on the virtual machine was set to :86.11.29.232

 

by: MiLLeNNiuMPosted on 2009-08-29 at 10:40:37ID: 25214701

Try setting up an static ip in the real machine to some invalid network (like 192.168.3.2) and then you configure the virtual machine with DHCP.
Your problem is probably that the cable modem already assigned the IP to your real machine so it won't give any other ip.
Note that you loose internet access but you gonna be able to test.

 

by: start85ukPosted on 2009-08-29 at 12:02:44ID: 25214966

Hi Millenium. I cant tell you enough how much i appreciate your help. Thank-you

Just to update you that i did the baove and this worked. The router(windows server 2003 machine 2) Lan 2 nic has a valid ip address by dhcp.

I can access the internet on the router fine ut not on any virtual machine on the 192.168.1.x subnet.

Even if i add a static ip address and change the default gateway from the first router(192.168.1.1) to the internet router(192.168.1.254  LAN 1) i get page cannot be displayed.

Any suggestions?

 

by: MiLLeNNiuMPosted on 2009-08-29 at 12:31:34ID: 25215027

I ll call your machines now by their ips.

I assume you configured in the 192.168.1.254 with RRAS + NAT configuration, what you need to do is test exactly where the problem is. Usually internet access problems are DNS issues.

Can you give me the output for the following commands in the following machines so i can update myself ?

192.168.1.1:

ipconfig /all
route print
ping 192.168.1.254 (oh yeah, from the very basic to the most advanced)
nslookup www.google.com
tracert 64.233.163.99
telnet 64.233.163.99 80

192.168.1.254:

ipconfig /all
route print

 

by: start85ukPosted on 2009-08-29 at 13:00:22ID: 25215130

192.168.1.254 info (internet router)
-----------------------------------------------------------------------------------
Windows IP Configuration

   Host Name . . . . . . . . . . . . : HSHLON-ROUTER
   Primary Dns Suffix  . . . . . . . : London.internal
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : London.internal

Ethernet adapter LAN2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection #2
   Physical Address. . . . . . . . . : 00-0C-29-7D-95-90
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 86.11.31.81(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.252.0
   Lease Obtained. . . . . . . . . . : Saturday, August 29, 2009 7:43:53 PM
   Lease Expires . . . . . . . . . . : Saturday, September 05, 2009 8:13:54 PM
   Default Gateway . . . . . . . . . : 86.11.28.1
   DHCP Server . . . . . . . . . . . : 62.253.131.92
   DNS Servers . . . . . . . . . . . : 194.168.4.100
                                       194.168.8.100
   NetBIOS over Tcpip. . . . . . . . : Disabled

Ethernet adapter LAN1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : 00-0C-29-7D-95-86
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.254(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Enabled
-------------------------------------------------------------------------------------------------------




===========================================================================
Interface List
 11 ...00 0c 29 7d 95 90 ...... Intel(R) PRO/1000 MT Network Connection #2
 10 ...00 0c 29 7d 95 86 ...... Intel(R) PRO/1000 MT Network Connection
  1 ........................... Software Loopback Interface 1
 13 ...00 00 00 00 00 00 00 e0  isatap.{82031A32-C802-40F6-8344-839E8E732933}
 14 ...00 00 00 00 00 00 00 e0  isatap.{5A3FFE86-EAD9-4924-A795-432778CDEE1E}
 20 ...00 00 00 00 00 00 00 e0  Microsoft 6to4 Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0       86.11.28.1      86.11.31.81     10
       86.11.28.0    255.255.252.0         On-link       86.11.31.81    266
      86.11.31.81  255.255.255.255         On-link       86.11.31.81    266
     86.11.31.255  255.255.255.255         On-link       86.11.31.81    266
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.1.0    255.255.255.0         On-link     192.168.1.254    266
    192.168.1.254  255.255.255.255         On-link     192.168.1.254    266
    192.168.1.255  255.255.255.255         On-link     192.168.1.254    266
      192.168.2.0    255.255.255.0      192.168.1.1    192.168.1.254     11
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link       86.11.31.81    266
        224.0.0.0        240.0.0.0         On-link     192.168.1.254    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link       86.11.31.81    266
  255.255.255.255  255.255.255.255         On-link     192.168.1.254    266
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      192.168.2.0    255.255.255.0      192.168.1.1       1
          0.0.0.0          0.0.0.0       86.11.28.1  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 20   1110 ::/0                     2002:c058:6301::c058:6301
  1    306 ::1/128                  On-link
 20   1010 2002::/16                On-link
 20    266 2002:560b:1f51::560b:1f51/128
                                    On-link
  1    306 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None




 

by: start85ukPosted on 2009-08-29 at 13:10:57ID: 25215187

192.168.1.1  machine
--------------------------------------------------------------------
Windows IP Configuration

   Host Name . . . . . . . . . . . . : HSHLON-FP1
   Primary Dns Suffix  . . . . . . . : London.internal
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : London.internal

Ethernet adapter LAN2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection #2
   Physical Address. . . . . . . . . : 00-0C-29-D0-85-1B
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.2.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 0.0.0.0
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter LAN1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : 00-0C-29-D0-85-11
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Enabled
------------------------------------------------------------------------------------------------





===========================================================================
Interface List
 12 ...00 0c 29 d0 85 1b ...... Intel(R) PRO/1000 MT Network Connection #2
 10 ...00 0c 29 d0 85 11 ...... Intel(R) PRO/1000 MT Network Connection
  1 ........................... Software Loopback Interface 1
 11 ...00 00 00 00 00 00 00 e0  isatap.{82031A32-C802-40F6-8344-839E8E732933}
 14 ...00 00 00 00 00 00 00 e0  isatap.{5A3FFE86-EAD9-4924-A795-432778CDEE1E}
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0         On-link       192.168.2.1    266
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.1.0    255.255.255.0         On-link       192.168.1.1    266
      192.168.1.1  255.255.255.255         On-link       192.168.1.1    266
    192.168.1.255  255.255.255.255         On-link       192.168.1.1    266
      192.168.2.0    255.255.255.0         On-link       192.168.2.1    266
      192.168.2.0    255.255.255.0         On-link       192.168.1.1     11
      192.168.2.1  255.255.255.255         On-link       192.168.2.1    266
    192.168.2.255  255.255.255.255         On-link       192.168.2.1    266
    192.168.2.255  255.255.255.255         On-link       192.168.1.1    266
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link       192.168.2.1    266
        224.0.0.0        240.0.0.0         On-link       192.168.1.1    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link       192.168.2.1    266
  255.255.255.255  255.255.255.255         On-link       192.168.1.1    266
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      192.168.2.0    255.255.255.0      192.168.1.1       1
          0.0.0.0          0.0.0.0      192.168.2.1  Default
          0.0.0.0          0.0.0.0       86.11.28.1  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    306 ::1/128                  On-link
  1    306 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None


I can ping 192.168.1.254
when i nslookup www.google.com i get below error
Server:  UnKnown
Address:  127.0.0.1

i also cant nslookup any computers on my domain

****tracert 64.233.163.99 ********
Tracing route to 64.233.163.99 over a maximum of 30 hops

  1  HSHLON-FP1.London.internal [192.168.2.1]  reports: Destination host unreachable.

Trace complete.

***telnet 64.233.99.80******
telnet is not recognised in command prompt

 

by: MiLLeNNiuMPosted on 2009-08-29 at 13:18:30ID: 25215216

that's easy my friend, delete this 2 routes:

Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0      192.168.2.1  Default
          0.0.0.0          0.0.0.0       86.11.28.1  Default

with the commands:

route -p delete 0.0.0.0 mask 0.0.0.0 192.168.2.1
route -p delete 0.0.0.0 mask 0.0.0.0 86.11.28.1

Then go in the configuration of both NIC's, make sure the NIC with the address 192.168.1.1 has the following setup:
IP: 192.168.1.1
MASK: 255.255.255.0
GW: 192.168.1.254
DNS1: 192.168.1.1 (if you are running DNS in this server) / 194.168.4.100 (if you aren't running DNS in this server)
DNS2: 194.168.4.100 (if you are running DNS in this server) / 194.168.8.100 (if you aren't running DNS in this server)

And the nic with the address 192.168.2.1 goes like this:
IP: 192.168.2.1
MASK: 255.255.255.0
GW: BLANK
DNS1: BLANK
DNS2: BLANK

In your windows xp 1 (with the NIC configured as 192.168.1.2) goes like this:
IP: 192.168.1.2
MASK: 255.255.255.0
GW: 192.168.1.254
DNS1: 192.168.1.1 (if you are running DNS in the server 192.168.1.1) / 194.168.4.100 (if you aren't running DNS in the server 192.168.1.1)
DNS2: 194.168.4.100 (if you are running DNS in the server 192.168.1.1) / 194.168.8.100 (if you aren't running DNS in the server 192.168.1.1)

In your windows xp 2 (with the NIC configured as 192.168.2.2) goes like this:
IP: 192.168.2.2
MASK: 255.255.255.0
GW: 192.168.2.1
DNS1: 192.168.2.1 (if you are running DNS in the server 192.168.1.1) / 194.168.4.100 (if you aren't running DNS in the server 192.168.1.1)
DNS2: 194.168.4.100 (if you are running DNS in the server 192.168.1.1) / 194.168.8.100 (if you aren't running DNS in the server 192.168.1.1)

 

by: start85ukPosted on 2009-08-29 at 14:31:15ID: 25215430

Millenium. Your a genius. I have got this working. I havent read up too much on static routes but will read up on this and see whta the above routes mean.

The only thing i have with the above setup is that i have a dhcp server and dns server  setup on machine 192.168.1.2. How do i set it up so that the dhcp will automatically assign the correct dns server (192.168.1.2) to the workstations and also have access to the internet.

 

by: MiLLeNNiuMPosted on 2009-08-29 at 15:05:38ID: 25215558

You got me confused here, isn't the 192.168.1.2 one of the workstations ?
If your goal is to dynamicly assign ip's for both networks, your DHCP server must be the machine with ip 192.168.1.1 and 192.168.2.1.
If you only wanna assign IP's in the network 192.168.1.0/24, you can create a scope and you gonna easily find in there an option for DNS assignment.
As for the DNS server, you should just need to install and start it, no additional configurations and you can point every machine to resolve names there (configure the DNS 1 to 192.168.1.2).

 

by: start85ukPosted on 2009-08-29 at 16:04:00ID: 25215752

Hi millenium. just to confirm which machines i have setup on my network:

ROUTERS
Router 1      192.168.1.1 ( 192.168.1.x subnet)
                    192.168.2.1 ( 192.168.2.x subnet)
Router 2      192.168.1.254 ( 192.168.1.x subnet) internet router
                   
SERVERS
dns 192.168.1.2 and 192.168.1.3
dhcp 192.168.1.2

WORKSTATIONS
winxp1 192.168.1.28 assigned by dhcp
winxp2 192.168.2.128 assigned by dhcp


both the above workstations are showing dhcp settings as 192.168.1.2 and dns servers as 192.168.1.2 and 192.168.1.3. with these dns settings the internet does not work. Howevere if i change the dns settings to 194.168.4.100 and 194.168.8.100 the internet works.

any new computer on the netwoek with ip settings assigned by dhcp will populate the dns settings as 192.168.1.2 and 192.168.1.3 and with these dns settins the internet does not work.

Any suggestions?

 

by: MiLLeNNiuMPosted on 2009-08-29 at 18:01:32ID: 25215994

I still don't know WHO is 192.168.1.2, you have 5th computer ? Your dns/dhcp is supposed to be 192.168.1.1/192.168.2.1 ?
Where did you configure your DHCP server ?

 

by: start85ukPosted on 2009-08-30 at 03:30:24ID: 25217079

192.168.1.2 has active directory domain  services installed. I have also installed a dns server and dhcp server on it.

hence any computer on the network will contact the dhcp server at 192.168.1.2 for a ip address.
the router 192.168.2.1 has a dhcp relay installed so it can allow computers on the 192.168.2.x subnet to contact the dhcp server.

DNS server is also installed on 192.168.1.2 (and on 192.168.1.3).  so for example the below workstation is on subnet 192,168.2.x and it ip settings are:

Windows IP Configuration

   Host Name . . . . . . . . . . . . : WLON002
   Primary Dns Suffix  . . . . . . . : London.internal
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : London.internal

Ethernet adapter LAN1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : 00-0C-29-D0-85-1B
   Dhcp Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.2.128(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.2.1
   DHCP Server . . . . . . . . . . . : 192.168.1.2
   DNS Servers . . . . . . . . . . . : 192.168.1.2
                                                 192.168.1.3
   
   NetBIOS over Tcpip. . . . . . . . : Enabled

-------------------------------------------------------------------------------

The above dns settings dont allow the internet to work on the workstation. When i change the dns server to 194.168.4.100 the internet works. It looks like a dns issue. Any suggestions

 

by: MiLLeNNiuMPosted on 2009-08-30 at 08:09:14ID: 25217918

Yes it is a DNS issue.
Is your DNS service started (please say it is =))
If you configure in the 192.168.1.2 the DNS as 127.0.0.1, can you resolve names (nslookup www.google.com) ?
If you configure in the 192.168.1.2 the DNS as 194.168.4.100, can you resolve names (nslookup www.google.com) as it does in the 192.168.2.2 ?
There is no reason to DNS service not to work if you can reach the internet and its started, the default settings are enough to just resolve names.

 

by: start85ukPosted on 2009-08-30 at 08:35:45ID: 25218006

Yes. the dns service is started
i cant resolve names with the dns as 127.0.0.1. I get a request timed out error message
I can nslookup www.google.com when i have the dns changed to 194.168.4.100
Any suggestions?

 

by: MiLLeNNiuMPosted on 2009-08-30 at 08:49:54ID: 25218054

Can you post screenshots of your DNS configuration ?
Im looking for everything inside Forward Lookup Zones

 

by: start85ukPosted on 2009-08-30 at 08:53:58ID: 25218071

Hi Millenium. I have got this working. All computers on the network are contacting the dns server at 192.168.1.2.. I chnaged the dns setting on pc with ip 192.168.1.2 (dhcp\dns server pc) to 192.168.1.254(internet router) and now i can access the internet on both subnets. However i still cant nslookup on any workstation as getting below errors

DNS request timed out.
    timeout was 2 seconds.
Server:  UnKnown
Address:  192.168.1.2

Name:    www.l.google.com
Addresses:  209.85.229.105, 209.85.229.147, 209.85.229.99, 209.85.229.106
        209.85.229.104, 209.85.229.103
Aliases:  www.google.com

I also cant nslookup any pc's on my domain either by hostname or ip address.

 

by: start85ukPosted on 2009-08-30 at 08:58:45ID: 25218083

Hi millenium. ip\ dns configurations on 192.168.1.2 (dns\dhcp pc)

Windows IP Configuration

   Host Name . . . . . . . . . . . . : HSHLON-DC1
   Primary Dns Suffix  . . . . . . . : London.internal
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : London.internal

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : 00-0C-29-1E-38-69
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254
   DNS Servers . . . . . . . . . . . : 127.0.0.1
                                       192.168.1.254
   NetBIOS over Tcpip. . . . . . . . : Enabled



 

by: MiLLeNNiuMPosted on 2009-08-30 at 09:17:30ID: 25218167

Your DNS service isn't working, you have a DC running in this 192.168.1.2 ?
If you configuring the DNS without a DC try following this steps: http://www.simongibson.com/intranet/dns2003/
Ironicly enough, this guy uses the same provider as you.

 

by: start85ukPosted on 2009-08-30 at 09:55:45ID: 25218312

hi millenium i added a forwarder on dns and this works. internet working fine. I still cant nslookup though.

i have dc on 192.168.1.2 and 192.168.1.3. also on those pcs i have dns installed and just dhcp on 192.168.1.2. Are you suggesting that i have another pc as solely as my dns?

 

by: start85ukPosted on 2009-08-30 at 09:56:36ID: 25218319

p.s i changed the dns settings on 192.168.1.2 back to 127.0.0.1 and 192.168.1.3. The forwarder is working for internet access

 

by: start85ukPosted on 2009-08-30 at 10:02:41ID: 25218339

when i do i nslookup on my workstation say for the dc (192.168.1.2) i get below error

cant find server name for address 192.168.1.2: Timed Out
cant find server name for address 192.168.1.3: Timed out
derfault servers are ot available

192.168.1.2 is also the pc that have dns server

 

by: MiLLeNNiuMPosted on 2009-08-30 at 11:19:45ID: 25218586

> Are you suggesting that i have another pc as solely as my dns?

No, actually DNS servers are best to be the DC's, im just trying to keep up with you, trying to figure out what you have installed there.

> when i do i nslookup on my workstation say for the dc (192.168.1.2) i get below error

Can you copy and paste everything ? Like this:

---

C:\Users\Administrator>nslookup www.google.com
Server:  UnKnown
Address:  200.149.55.142

Non-authoritative answer:
Name:    www.l.google.com
Addresses:  64.233.163.103
          64.233.163.104
          64.233.163.147
          64.233.163.99
Aliases:  www.google.com

---

 

by: start85ukPosted on 2009-08-30 at 11:59:35ID: 25218747

Hi millenium i resolved the above issue. I just clicked on the option to update ptr records options for the pcs in my forward zone on the dns server.  I only created the reverse zone couple of minutes ago. All working now. all new workstations that i add to the domain i can nslookup.

Cheers for your help. I really appreciate your time for helping me. I can now test and study for my mcitp.

where are you from if you dont mind me asking?

 

by: MiLLeNNiuMPosted on 2009-08-30 at 12:29:29ID: 25218903

Im Brazillian and judging your nick you are from UK.
I'm glad you got it working and good luck with your future certification.

 

by: start85ukPosted on 2009-08-31 at 09:34:43ID: 25224171

Hi Millenium. Dont ask me why but i had to change some configurations on some of the pcs on my virtual network as i had multiple roles installed on them.

I also replaced the server 2003 internet router machine to an ipcop (i nic for lan and 1 for internet)machine. all ip settings are the same though

Bottom line is i can access the internet on both subnets and log into the domain on both subnets. However i am unable to ping from both subnets or unc to any machine on the other subnet.

Foir some bizare reason i can ping to 192.168.1.4 (file server machine) from the 192.168.2.x subnet machine but cant ping to 192.168.1.2. I also cant unc to 192.168.1.4 from the machine on the 2.0 subnet.

Also bizarly i cant ping to 1 or 2 machines on the same subnet. I
Any suggestions?

 

by: MiLLeNNiuMPosted on 2009-08-31 at 09:43:07ID: 25224231

You gotta check the routing table the machines on the 192.168.1.0/24 and 192.168.2.0/24 subnets and make sure they have a persistent route to each other networks pointing to 192.168.1.1 and 192.168.1.2.
You can use tracert to help you debug it and make sure your RRAS is not filtering anything (isn't if you haven't changed anything in there).

 

by: MiLLeNNiuMPosted on 2009-08-31 at 09:43:58ID: 25224238

Btw i think this question already worth 500 points (actually more hahaha).

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...