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

    I now have create an /etc/resolv.conf
    with the contents


    But from my 2nd computer I cannot ping, although I can from my notebook and ip-forwarding on my notebook is enabled and the routing table of the 2nd computer contains the line

    Destination Gateway

    (see above for the complete table).
    So why does the ping not work...?

  2. #12

    Had a similar problem & was fixed

    I had exactly the same problem you're describing. I followed the instructions found here and my setup is now working smoothly.

  3. #13

    ubuntu 8.04 LTS hanging after routing config


    I don't know what is going wrong. I have a hardy heron 8.04 64bit installed and every time I try to route the server hangs up - but not at restart - I even have trouble to restart it with an ctrl+alt+del.

    here what I did:
    /etc/sysctl.conf deleted the comment to acivate ip forwarding:
    HTML Code:
    net.ipv4.ip_forward = 1
    /etc/network/interfaces like this:
    HTML Code:
    # The loopback network interface
    auto lo
    iface lo inet loopback
    # The primary network interface
    auto eth1
    iface eth1 inet dhcp
    # The secundary network interface for internal network
    auto eth0
    iface eth0 inet static
    #route add gw 134.xx.yy.zzz
    manually added the route, cause in /etc/interfaces, when I uncomment the routing line, the server hangs after a restart of the network:
    HTML Code:
    route add gw 134.xx.yy.zzz
    Routing table:
    root@cl20:~# netstat -rn
    HTML Code:
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface     134.xx.yy.zzz UGH       0 0          0 eth1
    134.xx.yy.0   U         0 0          0 eth1   U         0 0          0 eth0         134.xx.yy.1         UG        0 0          0 eth1         UG        0 0          0 eth0
    On my second machine, there is only the internal network. I have activated ip forwarding and configured the route.

    What is ugly: this configuration works, but every time I try to /etc/init.d/networking restart

    After a reboot it is ok.

    What am I doing wrong?
    Please help!

  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