Results 11 to 13 of 13
I now have create an /etc/resolv.conf
with the contents
search
nameserver 192.168.2.1
But from my 2nd computer I cannot ping 192.168.2.1, although I can from my notebook and ip-forwarding on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-20-2006 #11Just Joined!
- Join Date
- Jun 2006
- Posts
- 6
I now have create an /etc/resolv.conf
with the contents
search
nameserver 192.168.2.1
But from my 2nd computer I cannot ping 192.168.2.1, 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
default 192.168.1.101
(see above for the complete table).
So why does the ping not work...?
- 09-27-2006 #12Just Joined!
- Join Date
- Sep 2006
- Posts
- 1
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.
- 12-23-2009 #13Just Joined!
- Join Date
- Dec 2009
- Posts
- 3
ubuntu 8.04 LTS hanging after routing config
Help!
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:
/etc/network/interfaces like this:HTML Code:net.ipv4.ip_forward = 1
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:# 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 address 192.168.1.20 netmask 255.255.255.0 gateway 192.168.1.20 #route add 192.168.1.0 gw 134.xx.yy.zzz
Routing table:HTML Code:route add 192.168.1.0 gw 134.xx.yy.zzz
root@cl20:~# netstat -rn
On my second machine, there is only the internal network. I have activated ip forwarding and configured the route.HTML Code:Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 134.xx.yy.zzz 255.255.255.255 UGH 0 0 0 eth1 134.xx.yy.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 134.xx.yy.1 0.0.0.0 UG 0 0 0 eth1 0.0.0.0 192.168.1.20 0.0.0.0 UG 0 0 0 eth0
What is ugly: this configuration works, but every time I try to /etc/init.d/networking restart
THE SERVER HANGS.
After a reboot it is ok.
What am I doing wrong?
Please help!



