01-24-2015 03:27 AM - edited 03-07-2019 10:22 PM
Hello,
I am starting to be a bit frustrated, I would need a help with setting up a router. I have cisco 2811 router connected to my modem and outside interface obtained the IP address automatically from DHCP server from my provider.
My question is, what should I set next?
i set the internal interface with the IP, set the dhcp for my hosts and created a static route : ip route 0.0.0.0 0.0.0.0 dhcp .
funny part is that when i check show arp and try to ping the next hop which is on my providers side, i get no response, but i can ping google's DNS server 8.8.8.8
Should i also make a NATing?
Can someone help me to find the way how could i set this up so my hosts can have internet access?
01-26-2015 10:53 AM
Hi
Yes, you need to configure NAT on your router, otherwise your modem won't know where to send the return traffic for the hosts connected to the router.
The reason why you can't ping your provider could be because they are blocking it. Because you can ping 8.8.8.8, so there is nothing wrong with your internet connection.
01-26-2015 12:01 PM
Hello Henrik,
what is concerning NAT, I have initially set up on the outside interface ip nat outside and on inside interface I set ip nat outside.
is this the correct nat configuration or should I try something else?
thank you very much
01-27-2015 08:38 AM
hi you need to configure nat and acl
'ip nat outside' on your external interface
ip nat inside on your internal interface
ip nat inside source list 1 interface ............ overload
access-list 1 permit ip x.x.x.x wildcardmast
01-27-2015 09:00 AM
Just to make it a bit more clearer (In this example fa0/1 is your inside interface and fa0/0 is your outside interface):
interface fastethernet 0/1 ip nat inside interface fastethernet 0/0 ip nat outside ! The access-list should permit all addresses that should be translated, which in your! case will be the subnet on your inside interface ip access-list standard NAT_ACL permit 192.168.1.0 0.0.0.255 ip nat inside source list NAT_ACL interface FastEthernet0/0 overload
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide