[Mikrotik] Static Routing Problems

Alan Bryant alan at gtekcommunications.com
Sun Sep 19 00:01:50 CDT 2010


Thank you very much for the quick response.

If you mean from my laptop, I do have a static route to the subnet on
the second router (192.168.23.0/24) in my routing table on the laptop.

On Sat, Sep 18, 2010 at 11:59 PM, Josh Luthman
<josh at imaginenetworksllc.com> wrote:
> Quick guess there is no route to the other subnet, that's a very very common
> new admin mistake.
>
> On Sep 19, 2010 12:48 AM, "Alan Bryant" <alan at gtekcommunications.com> wrote:
>
> I'm still fairly new to routing in general, and I need some help with
> my test environment.
>
> Basically, I have my laptop connected to Ether1 on "Test Router 1".
> That subnet is 192.168.22.0/24.
>
> I then have "Test Router 2" connected to Ether2 on Test Router 1. That
> subnet is 192.168.23.0/24.
>
> I can ping the initial router no problem, 192.168.22.8. I can ping
> 192.168.23.1 on Ether2 of the first router. I cannot ping anything
> beyond that (i.e. Test Router 2).
>
> I am listing IP information as well as route information for both
> routers and my laptop. Any help or guidance will be most appreciated!
> Let me know if more config info is needed.
>
> IP information from Test Router 1:
>
> [alan at Test 1] > /ip address print
> Flags: X - disabled, I - invalid, D - dynamic
>  #   ADDRESS            NETWORK         BROADCAST       INTERFACE
>  0   192.168.22.8/24    192.168.22.0    192.168.22.255  ether1
>  1   192.168.23.1/24    192.168.23.0    192.168.23.255  ether2
>
> Route Information from Test Router 1:
>
> [alan at Test 1] > /ip route print
> Flags: X - disabled, A - active, D - dynamic, C - connect, S - static,
> r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P
> - prohibit
>  #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
>  0 ADC  192.168.22.0/24    192.168.22.8    ether1             0
>  1 ADC  192.168.23.0/24    192.168.23.1    ether2             0
>
> IP information from Test Router 2:
>
> [admin at Test 2] > /ip address print
> Flags: X - disabled, I - invalid, D - dynamic
>  #   ADDRESS            NETWORK         BROADCAST       INTERFACE
>  0   192.168.23.254/24  192.168.23.0    192.168.23.255  ether1
>
> Route information from Test Router 2:
>
> [admin at Test 2] > /ip route print
> Flags: X - disabled, A - active, D - dynamic, C - connect, S - static,
> r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P
> - prohibit
>  #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
>  0 A S  0.0.0.0/0                          192.168.23.1       1
>  1 ADC  192.168.23.0/24    192.168.23.254  ether1             0
>
> IP information from my laptop:
>
> alan at alan-laptop:~$ ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:22:19:e1:fd:cf
>        inet addr:192.168.22.10  Bcast:192.168.22.255  Mask:255.255.255.0
>        inet6 addr: fe80::222:19ff:fee1:fdcf/64 Scope:Link
>        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>        RX packets:15745 errors:0 dropped:0 overruns:0 frame:0
>        TX packets:27286 errors:0 dropped:0 overruns:0 carrier:0
>        collisions:0 txqueuelen:1000
>        RX bytes:10080121 (10.0 MB)  TX bytes:2785134 (2.7 MB)
>        Interrupt:27 Base address:0x4000
>
> lo        Link encap:Local Loopback
>        inet addr:127.0.0.1  Mask:255.0.0.0
>        inet6 addr: ::1/128 Scope:Host
>        UP LOOPBACK RUNNING  MTU:16436  Metric:1
>        RX packets:45033 errors:0 dropped:0 overruns:0 frame:0
>        TX packets:45033 errors:0 dropped:0 overruns:0 carrier:0
>        collisions:0 txqueuelen:0
>        RX bytes:6950976 (6.9 MB)  TX bytes:6950976 (6.9 MB)
>
> wlan0     Link encap:Ethernet  HWaddr 00:17:c4:5a:f2:55
>        inet addr:192.168.0.134  Bcast:192.168.0.255  Mask:255.255.255.0
>        inet6 addr: fe80::217:c4ff:fe5a:f255/64 Scope:Link
>        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>        RX packets:422152 errors:0 dropped:0 overruns:0 frame:0
>        TX packets:299543 errors:0 dropped:0 overruns:0 carrier:0
>        collisions:0 txqueuelen:1000
>        RX bytes:300909980 (300.9 MB)  TX bytes:45535714 (45.5 MB)
>
> Route Information from my laptop:
>
> alan at alan-laptop:~$ route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.23.0    192.168.22.8    255.255.255.0   UG    0      0        0 eth0
> 192.168.22.0    *               255.255.255.0   U     1      0        0 eth0
> 192.168.0.0     *               255.255.255.0   U     2      0        0
> wlan0
> link-local      *               255.255.0.0     U     1000   0        0
> wlan0
> default         office.gtek.biz 0.0.0.0         UG    0      0        0
> wlan0
>
> --
> Alan Bryant | Systems Administrator
> Gtek Computers & Wireless, LLC.
> alan at gtekcommunications.com | www.gtek.biz
> O 361-777-1400 | F 361-777-1405
> _______________________________________________
> Mikrotik mailing list
> Mikrotik at mail.butchevans.com
> http://www.butchevans.com/mailman/listinfo/mikrotik
>
> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.butchevans.com/pipermail/mikrotik/attachments/20100919/e9228202/attachment.html>
> _______________________________________________
> Mikrotik mailing list
> Mikrotik at mail.butchevans.com
> http://www.butchevans.com/mailman/listinfo/mikrotik
>
> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS
>



-- 
Alan Bryant | Systems Administrator
Gtek Computers & Wireless, LLC.
alan at gtekcommunications.com | www.gtek.biz
O 361-777-1400 | F 361-777-1405


More information about the Mikrotik mailing list