ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Vzctl: Unable to add route
@ 2006-11-08 13:28 Gennady Kovalev
  0 siblings, 0 replies; only message in thread
From: Gennady Kovalev @ 2006-11-08 13:28 UTC (permalink / raw)
  To: sisyphus

Добрый день,

Вот знакомлюсь с 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 не добавляется. Что делать?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-08 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-08 13:28 [sisyphus] Vzctl: Unable to add route Gennady Kovalev

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