09-28-2020 12:15 AM
Hey,
I have a situation in my home router which puzzles me.
My external IP is not on the same network as my gateway.
For example:
Public IP: 1.1.1.1
Gateway: 3.3.3.3
How is that possible?
Solved! Go to Solution.
09-28-2020 07:57 AM - edited 09-28-2020 07:58 AM
Hello @mefasherman54936 ,
>>
have a regular TP-Link router with PPPoE ADSL connection.
How does the ISP even assign this DHCP IP address to the home user?
The PPPoE builds a virtual point to point link over ethernet and the address assigned to the WAN interface of your router is assigned by PPP IPCP process and not by DHCP.
DHCP is used by TP_link router on the LAN side to assign an IP address to your PC.
By the way, the fact that you are using PPPoE can explain also your initial question : the WAN address is assigned by IPCP taken from a broadband pool and can change at each session / power on. The IP address of the default gateway can be a loopback address on the broadband concentrator that terminates the PPPoE session.
Hope to help
Giuseppe
09-28-2020 12:20 AM
its ISP / SP provider network, do not worry much as long as your network is working and you able to browse the internet all working.
09-28-2020 12:39 AM - edited 09-28-2020 12:39 AM
Hello
How is your home network physically setup?
09-28-2020 01:14 AM
Hello,
as long as proxy-arp is enabled (it is enabled by default on Cisco routers), directly connected routers don't actually have to be configured with IP addresses in the same subnet. So the below works fine:
HOME_ROUTER
interface GigabitEthernet0/0
description Link to ISP_ROUTER
ip address 1.1.1.1 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
ISP_ROUTER
interface GigabitEthernet0/0
description Link to HOME_ROUTER
ip address 3.3.3.3 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
09-28-2020 02:54 AM - edited 09-28-2020 02:59 AM
Thank you community for all your replies.
I'm studying for the CCNA exam, and this situation is very interesting to me.
I tried the configuration "ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0" in Packet Tracer, it did not work.
The routers did not respond to ping.
Thanks for the suggestion though, I did not realize you can map a default route to an interface, and not an IP.
I have a regular TP-Link router with PPPoE ADSL connection.
How does the ISP even assign this DHCP IP address to the home user?
09-28-2020 03:07 AM
Hello,
Packet Tracer is not the best tool to test with. On real routers, it works. PT is basically just a subset of predefined commands, not a full IOS.
09-28-2020 07:57 AM - edited 09-28-2020 07:58 AM
Hello @mefasherman54936 ,
>>
have a regular TP-Link router with PPPoE ADSL connection.
How does the ISP even assign this DHCP IP address to the home user?
The PPPoE builds a virtual point to point link over ethernet and the address assigned to the WAN interface of your router is assigned by PPP IPCP process and not by DHCP.
DHCP is used by TP_link router on the LAN side to assign an IP address to your PC.
By the way, the fact that you are using PPPoE can explain also your initial question : the WAN address is assigned by IPCP taken from a broadband pool and can change at each session / power on. The IP address of the default gateway can be a loopback address on the broadband concentrator that terminates the PPPoE session.
Hope to help
Giuseppe
09-28-2020 12:32 PM
Thanks community & Giuseppe.
I'll look up IPCP technology, sounds like something to be familiar with.
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