02-12-2013 06:35 PM - edited 03-07-2019 11:40 AM
Hello, I want to set up my LAN to have internet access via my 2801 router.
The 2801 router is connected to my home ADSL router.
Just to confirm the procedure. Do I:
- assign a static IP to the 2801 interface which connects to the ADSL router
- confgure the LAN PC's with that interface IP as their default gateway.
- configure NAT on the 2801
Now do I just configure a 0.0.0.0 'gateway of last resort' on the 2801 router pointing to the interface leading to the ADSL router ?
Therefore, all traffic from my PCs that is internet bound will head out to the ADSL router and onto the internet.
Thanks for confirmation. First time I have done this.
Solved! Go to Solution.
02-12-2013 08:34 PM
Sorry for confusion:
> assign a static IP to the 2801 interface which connects to the ADSL router
Yes, correct. They should be on the same subnet.
> confgure the LAN PC's with that interface IP as their default gateway.
No.
Default gateway should be LAN side of router not ADSL side. Each router's interface is different broadcast domain meaning different subnet.
> configure NAT on the 2801
No.
If 2801 connected to ADSL with private subnet no need on NAT. ADSL should be doing it.
> Now do I just configure a 0.0.0.0 'gateway of last resort' on the 2801 router pointing to the interface leading to the ADSL router ?
Yes, correct. But better to point IP address of ADSL instead of interface.
Network topology and IP address assignment would much help.
Hope it will help.
Best regards,
Abzal
02-12-2013 07:43 PM
Hi,
It should be like that:
For example, your static IP 1.1.1.1, ISP's 1.1.1.2, your LAN 192.168.0.0/24
int dialer 0
ip add 1.1.1.1 255.255.255.252
ip nat outisde
mtu 1492
int f0/0
ip add 192.168.0.1 255.255.255.0
ip nat inside
ip route 0.0.0.0 0.0.0.0 1.1.1.2
access-list 10 permit 192.168.0.0 0.0.0.255
ip nat inside source list 10 interface Dialer0 overload
Default gateway for hosts on LAN should be 192.168.0.1.
Hope it will help.
Best regards,
Abzal
02-12-2013 08:22 PM
Sorry, I think you misunderstand.
I have an ASSL modem which is interfacing directly with the ISP. That ADSL modem is working fine.
My router (with connected LAN PCs) then connects to that ADSL modem in order to gain intenet access..
I just want to confirm that my plan (outlined above) for configuring the routers/PCs to access the internet is correct i.e. is that the conventional way of doing it ?
Thanks for confirmation.
02-12-2013 08:34 PM
Sorry for confusion:
> assign a static IP to the 2801 interface which connects to the ADSL router
Yes, correct. They should be on the same subnet.
> confgure the LAN PC's with that interface IP as their default gateway.
No.
Default gateway should be LAN side of router not ADSL side. Each router's interface is different broadcast domain meaning different subnet.
> configure NAT on the 2801
No.
If 2801 connected to ADSL with private subnet no need on NAT. ADSL should be doing it.
> Now do I just configure a 0.0.0.0 'gateway of last resort' on the 2801 router pointing to the interface leading to the ADSL router ?
Yes, correct. But better to point IP address of ADSL instead of interface.
Network topology and IP address assignment would much help.
Hope it will help.
Best regards,
Abzal
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