LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   RTNETLINK answers: File exists (https://www.linuxquestions.org/questions/linux-networking-3/rtnetlink-answers-file-exists-841322/)

Seregwethrin 10-29-2010 10:32 AM

RTNETLINK answers: File exists
 
Hi,

I've a relevant problem. Could anyone help me? At least a start to solving the problem... I'm out of ideas.


Code:

#service network restart

Shutting down interface venet0: [  OK  ]
Shutting down loopback interface: [  OK  ]
error: "Operation not permitted" reading key "vm.mmap_min_addr"
error: "Operation not permitted" reading key "vm.mmap_min_addr"
Bringing up loopback interface: [  OK  ]
Bringing up interface venet0:  Global IPv6 forwarding is disabled in configuration, but not currently disabled in kernel
Please restart network with '/sbin/service network restart'
SIOCADDRT: Network is unreachable
[  OK  ]



# ifconfig

Lo Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:15368 errors:0 dropped:0 overruns:0 frame:0
TX packets:15368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16421031 (15.6 MiB)  TX bytes:16421031 (15.6 MiB)

venet0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
RX packets:1234398 errors:0 dropped:0 overruns:0 frame:0
TX packets:373128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:60181461 (57.3 MiB)  TX bytes:50211113 (47.8 MiB)

venet0:0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:205.185.125.79  P-t-P:205.185.125.79  Bcast:205.185.125.79  Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1




#nano /etc/sysconfig/network-scripts/venet0

DEVICE=venet0
BOOTPROTO=static
ONBOOT=yes
IPADDR=127.0.0.1
NETMASK=255.255.255.255
BROADCAST=0.0.0.0
IPV6INIT="no"
IPV6ADDR_SECONDARIES="2607:f358:1:fed5:2::189/128 2607:f358:1:fed5:2:0:189:1/1$

#nano /etc/sysconfig/network-scripts/venet0:0

DEVICE=venet0:0
ONBOOT=yes
IPADDR=205.185.125.79
NETMASK=255.255.255.255


jschiwal 10-30-2010 02:40 AM

I have moved your post to it's own thread. Please don't resurrect 3 year old threads. You can link to a relevant thread if you need to. I duplicated the thread title for the new thread.

Seregwethrin 11-01-2010 01:16 AM

Thanks, I updated the old thread because the topic was relevant and didn't want to make topic pollution.


All times are GMT -5. The time now is 10:49 PM.