server ifup: RTNETLINK answers: Network is unreachable problem
hello,
i am fairly new to linux and am using rc2 on a vps (virtuozzo) machine. i am using it as a web/mail/ftp server for my websites. i have finally gotten things to how i want them and feel great about managing it. recently i installed updates (using apt-get upgrade) to the machine and a few things broke. i am working my way through them and the latest thing is that iptables don't seem to work correctly. i try to setup rules using a bash script for vps machines (which worked great before my updates) and they don't work. here is a snippet of the response: Code:
iptables v1.2.9: host/network `your_main_IP' not found Quote:
thanks stewart |
Hi,
in the iptables error message it's written that your_main_IP is not found... I think that in the script you should look for the occurences of your_main_IP and substitute them by your main IP, ie your address! to know what is your address, just do ifconfig, you'll see all your network adapters and their IP. If you don't see any IP address, then you've got a problem ;) |
omg - you're right! i didn't spot that variable at the bottom! it now works - yipeeeeeeeeeeee! thanks for your help...
any ideas about the error messages in boot.log? thanks, stewart. |
I'm not sure... this kind of messages are the answer you have when you try to use a network card that's not connected as an exemple... anyway, when you have these errors, you have no access at all to the network. since it's not your case, I think the errors are old ones.
|
i know i have a virtual address venet0:0 (as well as venet0)... could any of this be misconfigured?
thanks again :) |
don't know... I believe venet0 are vps virtual interfaces, but as I had never heard of vps before reading your post, I won't be very accurate on the subject ;)
|
All times are GMT -5. The time now is 08:14 AM. |