Need help about Static IP

Hi guys, i need some help about Static IP.
I have 2 routers. A and B.
—Router A:
+ether1 received IP from modem (WAN)
+ether2-4 DHCP server (LAN)
+ether5 Static IP address (10.0.0.1)
—Router B:
+ether1 Static IP address (20.0.0.1)
+ether2-5 DHCP server (LAN)

++ether5(A) link to ether1(B).
Can router B go to the internet ??? i already route ether5(A) and ether1(B) so they can ping each other. But router B still cant go to the internet. So is it possible for router B to go to the internet just by using Static IP link with Router A ??? Any ideas is helpful. Thanks in advance and sorry for my bad english

someone help me pls. Is it possible for router B to connect to the internet using a diferent Static ip from router A ???

If I understand correctly,

Router A has a static Public ip assigned by the ISP. for example 1.1.1.1

And you want router B to go trough a different public ip address 1.1.1.2 ?

Router A has a automatic Public ip assigned by the ISP not a static IP, and i want ether 5 in router A (which has a static ip address - ip local) link to ether 1 in router B (ether 1 has a static ip address too but different IP from ether 5)

Ok I understand.

I can be wrong but the two IP’s should be in the same subnet.

On what ip subnet is the DHCP server set up on?

I suggest making ether 1 on router B to 10.0.0.2

Then add a route dst-address=[your dhcp subnet] gateway=10.0.0.2

Your default gateway on router B will be dst-address=0.0.0.0/0 gateway 10.0.0.1

already figured it out but thanks for reply anyway : :slight_smile: :slight_smile: