Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    [SOLVED] routing table issue

    I'm having some routing problems with a machine and can't figure out why.

    eth0 is in network.

    I'm trying to connect from a different network - 172.17.16.* but with no avail.
    I suspect it won't use the gateway.
    Is this a metric problem?

    Kernel IP routing table
    Destination Gateway Genamsk Flags Metric Ref Use Iface * U 0 0 0 eth1 * U 0 0 0 eth0
    default UG 0 0 0 eth0


  2. #2
    You have your network sizes mixed up.

    eth0 is in network
    This is a network that spans =>

    But, your eth0 NIC has a subnet mask configured of *which is*

    When trying to send packets, the kernel thinks that eth0 is on the same network as the destination (172.17.16.X). It sends an arp, gets no response, and then says it can't reach destination host.

    You need to fix the subnet mask on eth0.

  3. #3
    Of course!

    Thanks a lot, I really appreciate

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts