can someone help me to define NAT configuration scheme?
This is my environment:
PC behind SM-------- SM NAT ------- AP -------ROUTER----- ISP INTERNET
This is my configutation
IP prv GW 169.254.1.2
Subnet Mask 255.255.0.0
Ip Pub GW B.B.B.x
IP (LAN1) 169.254.1.x
–On SM NAt enable--
DHCP Client disable
DHCP Server enable
IP NAT Pub 169.254.1.y
Subnet Mask 255.255.0.0
IP GW 169.254.1.2
IP NAT Prv 10.0.0.1
Subnet Mask Prv 255.255.255.0
DMZ enable 10.0.0.20
DHCP start IP 10.0.0.5
IP to Lease 10
– On PC--
with this configuration and scheme
from PC i can ping only IP NAT prv 10.0.0.1 and not IP GW 169.254.1.2
but i cant browse on WEB
then, witch IP i have to configure into IP NAT Pub and IP GW on SM for well Browse correctly?
I’m not expert with NAT networking
Plese Help me
mm… ok you have it wrong…
you have an RF address class with the IP address class… if you are not from networking background then it may be a little difficult to understand…
to the following setup:
on the router
IP address 172.16.1.1
nat public 172.16.1.11
nat prvt 192.168.1.1
leave DHCP server enabled
on your PC set confiure IP automatically… (most likely it will pick up the following:
set your DNS manually
in terms of your internet to work you can ignore the IP address on the AP and the RF public address on the SM, these addresses are ONLY used for management and have nothing to do with the way your traffic routes.
with the above settings this is what will happen:
your machine with ip of 192.168.1.2 want to go to the internet so it will send all the traffic to its Gateway which is 192.168.1.1 (your SM)
the SM will then to a NAT translation to 172.16.1.11 and send traffic to its gateway 172.16.1.1 (the router) as far as the router is concerned the source of the traffic is 172.16.1.11 due to NAT.
The router will then send that traffic to the IP Pub GW B.B.B.x however most likely the router will do a second NAT as teh 172.16.x.y is a private address.
Depending on how new you are, you will most likely have more questions now, so feel free to keep asking questions, there as some really good guys here and between us we will walk you through it… one step at a time.
Hi mr. vj,
thanks for your reply !
Ok i will try with different RF and Network subnet like your example.
I take advantage for ask to you about my two stupid questions:
1) Witch IP i have to control if reachable with ping command from PC?
2) Is necessary configure DNS paramiter on DHCP server page on SM?
the default is set automatically
no sure what you are asking for in question 1
but to test connectivity you should first ping
192.168.1.1 (test PC-SM)
172.16.1.1 (test PC-Router)
you can NOT ping nat public 172.16.1.11
on the SM if you click on Advanced Network Configuration you will see two entries for the preferred and seconday DNS, if you fill that in with your DNS servers then your PC will automatically learn the DNS through DHCP provided you have automatic DNS setup checked on the PC. If you do not have the SM configured then you need to put in the DNS yourself.
I would advice putting them into the machine to start off with, and get basic connectivity working and then you can start using the other features.