11-20-2015 07:40 AM - edited 03-08-2019 02:47 AM
This is my configuration, but it doesn't work! Help me! i can't reach internet
Private Lan Network: 192.168.1.0 255.255.255.0
I have a static ip address (point to point)
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool Lan
import all
network 192.168.1.0 255.255.255.0
domain-name domain.local
dns-server 8.8.8.8 212.216.112.112
default-router 192.168.1.1
!
!
interface Ethernet0
no ip address
!
interface Ethernet0.835
encapsulation dot1Q 835
ip address xxxxxxxx xxxxxxx (local point-point)
ip virtual-reassemby in
ip nat outside
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassemby in
!
ip forward-protocol nd
ip http server
ip http secure-server
!
!
ip nat inside list 1 interface Ethernet0.835 overload
ip route 0.0.0.0 0.0.0.0 XXXXXXXXXX (remote point-point)
!
!
!
control-plane
!
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login local
transport input all
Solved! Go to Solution.
11-20-2015 07:22 PM
You have missed out access-list 1, which says which traffic to NAT.
access-list 1 permit 192.168.1.0 0.0.0.255
11-20-2015 07:22 PM
You have missed out access-list 1, which says which traffic to NAT.
access-list 1 permit 192.168.1.0 0.0.0.255
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