Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: NAT in Windows 2003 Server

NAT in Windows 2003 Server 7 years 11 months ago #27625

  • kwiki
  • kwiki's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Hi! Newbie here :)

I have a problem with my Windows 2003 server.

Win 2003 Server ip
Lan1: 192.168.1.3/24
Lan2: 192.168.0.2/27

I want to access my files in my server(192.168.1.13/24) in lan1 using my ip in lan2 (192.168.0.13/27).

Is this possible?
The administrator has disabled public write access.

Re: NAT in Windows 2003 Server 7 years 11 months ago #27645

  • KiLLaBeE
  • KiLLaBeE's Avatar
  • Offline
  • Expert Member
  • Posts: 466
  • Karma: 0
You may need to enable the routing and remote access role on the server but if I understand you correctly, then yes, you'd be able to do this.

When the server receives the request from a computer on LAN2 from NIC2 to access a resource on LAN2, the server will look in its built-in routing table (and use its routing capabilities) to determine how to reach the destination (192.168.1.13). It'll see that NIC1 is in that subnet so it'll send the request out that NIC. The routing table for this should already exist.

My network is setup in a similar manner except I use classful IP addresses.

I'm open for corrections in case I'm slightly off on something (of very off on something)
The administrator has disabled public write access.

Re: NAT in Windows 2003 Server 7 years 11 months ago #27646

  • kwiki
  • kwiki's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
I already did that but it did not solve my problem. Maybe I mis-configure the routing settings of my server.. The nic1 is the one I configured to have an access to internet and I also set the ip of Nic1 as the gateway of my NIC2 but nothing happen. :(
The administrator has disabled public write access.

Re: NAT in Windows 2003 Server 7 years 11 months ago #27655

  • KiLLaBeE
  • KiLLaBeE's Avatar
  • Offline
  • Expert Member
  • Posts: 466
  • Karma: 0
NIC2 shouldn't need a gateway IP address. In fact, you just need one default gateway defined on a server (regardless of how many NICs). You may have received an error that said something like "warning - the default gateway is not on the same network segment (subnet) that is defined by the IP address and subnet mask" when you were assigning NIC2 the IP address of NIC1 for the gateway since the two NICs are in different networks. Also, do you have other routers connected to the server's NICs? If so, you'll definitely need to add route entries to them because they have no idea that they're on a multi-subnet network.

First remove NIC2's gateway (leave it blank). Assign a default gateway to NIC1 that points to your router that leads to the Internet. Restart the Routing and Remote Access service and try simple things like pinging the nodes on the different networks. If you have other routers between the networks, you'll need to add route entries to them. You shouldn't need to add any routes on the server for networks that the server is directly attached to. The server will automatically create those routers.

On my network, I have a server acting like a router (it has three NICs, each NIC with on a different network). Each NIC is connected to a seperate router. To allow computers that were connected to the routers to communicate with computers on the other routers (on the other networks), I had to add routing entries to the routers that basically acted like default gateways (if the routers didn't know how to locate a network, they would forward the traffic to the server, who knew the path right away). I used Wireshark initially to know whether traffic was reaching or not.

Some ping error codes you may see are "destination host/net unreachable" and "TTL expired in transit" if there's a routing issue.

Hope this helps you out a bit more
The administrator has disabled public write access.

Re: NAT in Windows 2003 Server 7 years 11 months ago #27658

  • kwiki
  • kwiki's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Wow! thanks man. I will do that later. I can now picture out what went wrong to my settings.
The administrator has disabled public write access.
Time to create page: 0.077 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup