From: "Gennady Kovalev" <gik@bigur.ru> To: <sisyphus@altlinux.ru> Subject: [sisyphus] Vzctl: Unable to add route Date: Wed, 8 Nov 2006 16:28:50 +0300 Message-ID: <000601c70339$d9e4faf0$c901a8c0@shapochka> (raw) Добрый день, Вот знакомлюсь с ovz, толи чего-то не дочитал, толи еще чего... > vzctl set 101 --ipadd 10.0.0.1 --save Adding IP address(es): 10.0.0.1 RTNETLINK answers: No such device vps-net_add ERROR: Unable to add route /sbin/ip route add 10.0.0.1 dev venet0 src 192.168.1.2 Saved parameters for VE 101 > ip addr 2: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue ... 4: inter: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 ... inet 192.168.1.2/24 brd 192.168.1.255 scope global inter ... 6: sit0: <NOARP> mtu 1480 qdisc noop link/sit 0.0.0.0 brd 0.0.0.0 1: venet0: <BROADCAST,POINTOPOINT,NOARP> mtu 1500 qdisc noop link/void И при застартованом VE 101 (без сети)... > vzctl exec 101 ip a 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue link/void inet 127.0.0.1/32 scope host venet0 Понятно что там нет 192.168... Вот и route не добавляется. Что делать?
reply other threads:[~2006-11-08 13:28 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='000601c70339$d9e4faf0$c901a8c0@shapochka' \ --to=gik@bigur.ru \ --cc=sisyphus@altlinux.ru \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git