pls help guys :)

guys i have my problem maybe someone can resolved this, my second router cannot ping to router-a 10.13.0.1 ip the poackets wont go to outside destination :frowning: :frowning: heres my config did i miss something my config in router b?

router a

/ip address
add address=10.11.0.1/24 broadcast=10.11.0.255 comment=“Office Network” disabled=no interface=ether3-local
network=10.11.0.0
add address=10.12.0.1/24 broadcast=10.12.0.255 comment="Hotel " disabled=no interface=ether4-local network=
10.12.0.0
add address=10.13.0.1/24 broadcast=10.13.0.255 comment=“to router b” disabled=no interface=ether5-local network=
10.13.0.0
add address=10.2.2.1/24 broadcast=10.2.2.255 comment=servers disabled=no interface=ether2-local network=10.2.2.0
add address=x.x.x.x broadcast=x.x.x.x comment=WAN disabled=no interface=Ether1-WAN network=
121.97.75.120

/ip route
add comment=“” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=x.x.x.x scope=30 target-scope=10

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 primary-dns=
156.154.70.1 secondary-dns=156.154.71.1


router b

/ip address
add address=10.13.0.2/24 broadcast=10.13.0.255 comment=“connected to router a” disabled=no
interface=ether2 network=10.13.0.0
add address=10.14.0.1/24 broadcast=10.14.0.255 comment=local disabled=no interface=ether1 network=
10.14.0.0

/ip route
add comment=“” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.13.0.1 scope=30
target-scope=10

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512
primary-dns=10.13.0.1 secondary-dns=10.13.0.1

router-a using 4.2
router-b using 3.30

thanks

ether2 on router B and ether5-local on router A are directly connected? Are the interfaces showing as running? Have you confirmed the cable is OK?

When testing, are you pinging directly from the router, or from a client behind it on 10.14.0.1/24? Router A has no route for that network, regardless of this issue you should insert one so that network can eventually connect:

/ip route add dst-address=10.14.0.1/24 gateway=10.13.0.2

yeah ether5 to roterb are conected and running, let me try to modify as u post

in router-a i can ping 10.13.0.2 but if im in router b it wont ping 10.13.0.1 using laptap connected to 10.14.0.0/24
i change the route as you post earlier /ip route add dst-address=10.14.0.1/24 gateway=10.13.0.2 the problem is the 10.13.0.2 wont ping if im in router-a

Which one is it?

Without a route to 10.14.0.0/24 for router A any traffic going back to the client on that network won’t make it because the router doesn’t know where to send it. The route I posted should fix that (though I made a mistake, and it should be 10.14.0.0/24 for dst-address instead of 10.14.0.1/24 - the router won’t take the command I posted originally).

fewi still the same no luck i almost scratching my head with a stick :slight_smile:

Hi Myron

in router-a i can ping 10.13.0.2 but if im in router b it wont ping 10.13.0.1 using laptap connected to 10.14.0.0/24

If you’re trying via a laptop connected to router b, then also check that your laptop has either a default route via 10.14.0.1 or has a route to 10.13.0.0/24 via 10.14.0.1. “route print” from the command prompt will show the whole routing table (ok, I’m assuming the laptop is Windows!) but adding a default route to 10.14.0.1 via the interface properties would be sufficient.

I’m assuming your network looks like this:

[ LAPTOP ] <--------------------> [ ROUTER B ] <--------------------> [ ROUTER A ]
          ^                      ^            ^                      ^
          |                      |            |                      |
     10.14.0.2              10.14.0.1    10.13.0.2              10.13.0.1
                             (ether1)     (ether2)               (ether5)

If you’re still having problems, check each step in turn to ensure the connectivity is alive. ie:

  1. Login to router A and ping router B (/ping 10.13.0.2)
  2. Login to router B and ping router A (/ping 10.13.0.1)
  3. Login to router B and ping laptop (result may vary depending on windows firewalls etc) (/ping 10.14.0.2)
  4. Login to laptop and ping router B (ping 10.14.0.1)

These 4 steps should work irrespective of your routing configuration as long as all the connectivity is right. If this works, then problems pinging from Laptop to router A are most likely a routing problem somewhere. Check that:

a. Router A has a route to 10.14.0.0/24 via router B (via 10.13.0.2) (fewi’s post)
b. Laptop has route to 10.13.0.0/24 via router B (via 10.14.0.1)

Good luck :slight_smile:

Rich

ok heres the situations
my laptap connected to 10.14.0.1 dhcp << laptap ip 10.14.0.49 mask 255.255.255.0 gate 10.14.0.1 dns 10.14.0.1

using destination route 0.0.0.0/0 gate 10.13.0.1

  1. Login to router A and ping router B (/ping 10.13.0.2) ping reply
  2. Login to router B and ping router A (/ping 10.13.0.1) using mik tools ping = ping reply even yahoo address, but if using laptap ping timeout
  3. Login to router B and ping laptop (result may vary depending on windows firewalls etc) (ping 10.14.0.49) ping reply
  4. Login to laptop and ping router B (ping 10.14.0.1) ping reply

now if im using /ip route add dst-address=10.14.0.0/24 gateway=10.13.0.2

  1. Login to router A and ping router B (/ping 10.13.0.2) ping timeout
  2. Login to router B and ping router A (/ping 10.13.0.1) using mik tools ping = ping reply, yahoo address no route to host
  3. Login to router B and ping laptop (result may vary depending on windows firewalls etc) (ping 10.14.0.49) ping reply
  4. Login to laptop and ping router B (ping 10.14.0.1) ping reply

looks wierd huh? :open_mouth:

I’m a little confused.

Are you removing the 0.0.0.0/0 route when adding the 10.14.0.0/24 route?

yeah, i replace this one (router-b side) ip route add dst-address=10.14.0.0/24 gateway=10.13.0.2

any help?

The routers should have the following routes:

Router A (the one with an Internet connection):

/ip route
add dst-address=0.0.0.0/0 gateway=[WAN gateway]
add dst-address=10.14.0.1/24 gateway=10.13.0.2

Router B:

/ip route
add dst-address=0.0.0.0/0 gateway=10.13.0.1

You really need to read up on TCP/IP fundamentals before continuing with networks, though.

thanks fewi for support, and sori for my misunderstanding, the router-b works fine