locked
Routing problem 2008R2 RRS feed

  • Question

  • Hi,

    I have an issue when i try to reach internet with 2008R2 as a router. This is my network

     

    LAN 1 192.168.2.0

    192.168.2.1 (box ISP)

    Client 1 (192.168.2.20)

    2K8R2router (192.168.2.222)

     

    LAN 2 192.168.1.0

    Client 2 192.168.1.20

    2K8R2 router 192.168.1.222

     

    Testing connectivity

    Client 1 ping client 2 ok

    client 2 ping client 1 ok

    client 1 ping google ip address  ok

    client 2 ping google ip address fails

     

    Client 1 configuration

    ip 192.168.2.20  

    gateway 192.168.2.222

     

    Client 2 configuration

    ip 192.168.1.20

    gateway 192.168.1.222

     

    2008R2 router

    network card1 ip 192.168.2.222 gateway 192.168.2.1

     network card 2

    ip 192.168.1.222

     gateway none (http://technet.microsoft.com/en-us/library/cc779122(WS.10).aspx) end of the article.

     

    On the 2K8R2 I activated routing&Network access ->Lan routing

     

    Thanks for your help

     

     


    Saturday, January 21, 2012 2:57 PM

Answers

All replies

  • The route table of the 2008R2 Router (between LAN1 & LAN 2). The 2008R2 router can ping google!!
    Hope this is usefull. Does anyone knows what does On-link means regarding the Gateway column?
    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.222    261
            127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
            127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
      127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
          192.168.1.0    255.255.255.0         On-link     192.168.1.222    261
        192.168.1.222  255.255.255.255         On-link     192.168.1.222    261
        192.168.1.255  255.255.255.255         On-link     192.168.1.222    261
          192.168.2.0    255.255.255.0         On-link     192.168.2.222    261
        192.168.2.222  255.255.255.255         On-link     192.168.2.222    261
        192.168.2.255  255.255.255.255         On-link     192.168.2.222    261
            224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
            224.0.0.0        240.0.0.0         On-link     192.168.1.222    261
            224.0.0.0        240.0.0.0         On-link     192.168.2.222    261
      255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      255.255.255.255  255.255.255.255         On-link     192.168.1.222    261
      255.255.255.255  255.255.255.255         On-link     192.168.2.222    261
    ===========================================================================
    Persistent Routes:
      Network Address          Netmask  Gateway Address  Metric
              0.0.0.0          0.0.0.0      192.168.2.1  Default
    ===========================================================================
    Also when I try : tracert google.com on client 2
    First bound and last one is 192.168.1.222
    I don't understand why I don't have the internet connection on LAN2
    Regards,

    Saturday, January 21, 2012 3:45 PM
  • Try adding a gateway for the second interface like 192.168.1.1 with a higher metric than the 1st NIC.

    It should probably look like this:

    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.222    261
              0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.222    280 => Higher metric.
    Also remove the persistent route because I don't think you will need it.
    Hope it helps.

    MCTS - Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. http://mariusene.wordpress.com/
    Saturday, January 21, 2012 4:56 PM
  • IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.222    305
              0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.222    205
            127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
            127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
      127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
          192.168.1.0    255.255.255.0         On-link     192.168.1.222    261
        192.168.1.222  255.255.255.255         On-link     192.168.1.222    261
        192.168.1.255  255.255.255.255         On-link     192.168.1.222    261
          192.168.2.0    255.255.255.0         On-link     192.168.2.222    261
        192.168.2.222  255.255.255.255         On-link     192.168.2.222    261
        192.168.2.255  255.255.255.255         On-link     192.168.2.222    261
            224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
            224.0.0.0        240.0.0.0         On-link     192.168.1.222    261
            224.0.0.0        240.0.0.0         On-link     192.168.2.222    261
      255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      255.255.255.255  255.255.255.255         On-link     192.168.1.222    261
      255.255.255.255  255.255.255.255         On-link     192.168.2.222    261
    ===========================================================================
    Persistent Routes:
      None
    It doesn't change anything. When I try a tracert with client 1 first bound is 192.168.2.222 and next internet. With client 2 first bound 192.168.1.222 and then nothing!
    Any other ideas? 
    Saturday, January 21, 2012 5:39 PM
  • Check out these articles , maybe you missed a step....

    http://www.windowsnetworking.com/articles_tutorials/using-windows-server-nat-router.html

    http://www.windowsnetworking.com/articles_tutorials/how-configure-windows-2008-server-ip-routing.html


    MCTS - Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. http://mariusene.wordpress.com/
    Saturday, January 21, 2012 6:17 PM
  • Great I did not configure RRAS with NAT.Doing this solves the problem. However navigation on Internet is slow.
    Sunday, January 22, 2012 2:01 AM
  • Glad it worked out! Make sure that name resolution is configured properly. Does the router server hold other roles?
    MCTS - Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. http://mariusene.wordpress.com/
    Sunday, January 22, 2012 6:45 AM