1

I'm new to networking and I'm a little confused so could do with some help.

I am currently using Cisco packet tracer and I am trying to configure a fictitious network. Initially I was just trying to get my network to function as intended, which I managed to do (except for getting both networks to be able to ping the same server) however now I am trying to edit what I have done to enter the details of the specifications I have been given and now I'm stuck.

My problem is as follows;

I have a Web server and DNS server with an IP address of 200.200.1.254 for internet access. The internal LAN network is the Class C IP address: 192.168.255.0 behind the firewall router provisioned with two Ethernet ports for the internal subnetted networks and one for the Web and DNS servers. I also need to think about security so the network also requires one sub-network for Admin and another for the Students.

Initially I configured one of my router port 1 to an address of 192.168.1.1 with a subnet of 255.255.255.0 to serve network 1 (lets call it the admin side).

Next I configured my second router port to an address of 192.168.2.1 with a subnet of 255.255.255.0 (which will serve my DNS server)

Then my third port with an address of 192.168.3.1 with a subnet mask of 255.255.255.0 and the forth with 192.168.4.1 with a subnet mask of 255.255.255.0

Off my first port on the router as mentioned earlier I have my admin network and I have given one of the hosts an IP address of 192.168.1.2 with a subnet of 255.255.255.0 and a default gateway of 192.168.1.1 and DNS server of 192.168.2.2.

Off my second port on the router I have my DNS server. IP address- 192.168.2.2 subnet 255.255.255.0 default gateway -192.168.2.1 and of course the DNS server of itself.

Off the third port on my router I have my Web server with a IP address of 192.168.3.2 and subnet of 255.255.255.0 and default gateway of 192.168.3.1

Lastly I have my fourth port on my router serving the classroom side of the network with a 192.168.4.1 and subnet of 255.255.255.0.

Now when I change my DNS server and Web server to the IP address to 200.200.1.254 it throws out the whole network, I have of course updated the dns server address and applied the new 192.168.255.2 IP on the host computer etc but when I try to ping the server it fails. I'm not sure if its because the gateways IPs I have originally used are not meant to deal with this new IP?

The other question I have is that as mentioned above, I need to split the network, I have researched how to do this and I understand that I need to use a different subnet mask e.g 255.255.255.128 but when I do this, it affects my DNS server since they have a subnet of 255.255.255.0 so how can I get my DNS and web servers to serve both sides of the network? I can stop both sides (admin side and classroom side) from accessing each other fine but I cant figure out how to allow both networks access to the same DNS and Web server.

I have done lots of research to try and avoid asking for help hence how I initially got my network to work but since my question is so long I won't list everywhere. But I have looked for answers here and YouTube etc for clarity but after two days of looking and dealing with all these numbers as a beginner, I'm not having much luck! Any help or guidance would be appreciated.

closed as off-topic by Ron Maupin Jan 23 '17 at 14:21

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "NE is a site for to ask and provide answers about professionally managed networks in a business environment. Your question falls outside the areas our community decided are on topic. Please visit the help center for more details. If you disagree with this closure, please ask on Network Engineering Meta." – Ron Maupin
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Do I understand you that you changed the IP addresses of your web server to 200.x.x.x on the router port configured with 192.168.3.1? And the same with your nameserver? It sounds like you gave them the same IP address. – Ron Trunk Jan 19 '16 at 19:01
  • Respectfully, this question is way too long. Noone will read it all. Neither DNS nor Webservers are typically configured to serve a subset of subnets. DNS resolves names to ip addresses and Web servers respond to Web traffic. – Ron Royston Jul 26 '16 at 22:59
0

I think you are missing a key point to the networking... On a single network/subnet, all the devices must be on the same network/subnet. So, if you have port 1 as 192.168.1.1 with a mask of 255.255.255.0, that means that all devices off that port must be in the IP range of 192.168.1.2-192.168.1.254 (since you cannot use 192.168.1.0 or 192.168.1.255) and they all must have a mask of 255.255.255.0. You cannot just change an IP address of a device on that network to something else, that will not work for many reasons. Same goes for 192.168.255.2. Not sure if that is a typo, but nothing you mentioned would contain that IP address in the subnet.

You have two options that I can think of to get your desired result with the 200.200.1.254 IP address.

  1. leave the IP addresses in the correct subnet for each port they are plugged into, then use NAT to forward based on the port (UDP53 for DNS and TCP80 and 443 for WWW) pointing to the appropriate servers.

  2. combine both roles (DNS and webhosting) into a single server, leave the IP address of 200.200.1.254, but make the port that it plugs into on that same subnet, possibly 200.200.1.1 mask: 255.255.255.0. Then you just have the clients access it based on that IP address.

Not the answer you're looking for? Browse other questions tagged or ask your own question.