История изменений
Исправление WhiteWolf, (текущая версия) :
У меня вирт-манагер сгенерил такую штуку - работает:
<interface type='direct'>
<mac address='00:e0:4c:f0:c2:55'/>
<source dev='p12p1' mode='vepa'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface>
на хосте:
3: p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether c8:be:19:27:d7:1f brd ff:ff:ff:ff:ff:ff
....
17: macvtap0@p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
link/ether 00:e0:4c:f0:c2:55 brd ff:ff:ff:ff:ff:ff
ifcfg-p12p1
HWADDR="C8:BE:19:27:D7:1F"
IPV6INIT="no"
NM_CONTROLLED="no"
DEVICE="p12p1"
TYPE="Ethernet"
ONBOOT="yes"
NAME="System p12p1"
Мне кажется надо поднимать интерфейс чтоб заработало: ONBOOT=«yes» и/или ifconfig eth1 up. Ну и в виртуалке попробовать режим vepa (имхо, он проще)
Исправление WhiteWolf, :
У меня вирт-манагер сгенерил такую штуку - работает:
<interface type='direct'>
<mac address='00:e0:4c:f0:c2:55'/>
<source dev='p12p1' mode='vepa'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface>
на хосте:
3: p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether c8:be:19:27:d7:1f brd ff:ff:ff:ff:ff:ff
....
17: macvtap0@p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
link/ether 00:e0:4c:f0:c2:55 brd ff:ff:ff:ff:ff:ff
ifcfg-p12p1
HWADDR="C8:BE:19:27:D7:1F"
IPV6INIT="no"
NM_CONTROLLED="no"
DEVICE="p12p1"
TYPE="Ethernet"
ONBOOT="yes"
NAME="System p12p1"
Мне кажется надо поднимать интерфейс чтоб заработало: ONBOOT=«yes» и/или ifconfig eth1 up
Исправление WhiteWolf, :
У меня вирт-манагер сгенерил такую штуку - работает:
<interface type='direct'>
<mac address='00:e0:4c:f0:c2:55'/>
<source dev='p12p1' mode='vepa'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface>
на хосте:
3: p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether c8:be:19:27:d7:1f brd ff:ff:ff:ff:ff:ff
....
17: macvtap0@p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
link/ether 00:e0:4c:f0:c2:55 brd ff:ff:ff:ff:ff:ff
ifcfg-p12p1
HWADDR="C8:BE:19:27:D7:1F"
IPV6INIT="no"
NM_CONTROLLED="no"
DEVICE="p12p1"
TYPE="Ethernet"
ONBOOT="yes"
NAME="System p12p1"
Мне кажется надо поднимать интерфейс чтоб заработало:
ONBOOT="yes" и/или ifconfig eth1 up
Исправление WhiteWolf, :
У меня вирт-манагер сгенерил такую штуку - работает:
<interface type='direct'>
<mac address='00:e0:4c:f0:c2:55'/>
<source dev='p12p1' mode='vepa'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface>
на хосте:
3: p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether c8:be:19:27:d7:1f brd ff:ff:ff:ff:ff:ff
....
17: macvtap0@p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
link/ether 00:e0:4c:f0:c2:55 brd ff:ff:ff:ff:ff:ff
ifcfg-p12p1
HWADDR="C8:BE:19:27:D7:1F"
IPV6INIT="no"
NM_CONTROLLED="no"
DEVICE="p12p1"
TYPE="Ethernet"
ONBOOT="yes"
NAME="System p12p1"
Исходная версия WhiteWolf, :
У меня вирт-манагер сгенерил такую штуку - работает:
<interface type='direct'>
<mac address='00:e0:4c:f0:c2:55'/>
<source dev='p12p1' mode='vepa'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface>
на хосте:
3: p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether c8:be:19:27:d7:1f brd ff:ff:ff:ff:ff:ff
....
17: macvtap0@p12p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
link/ether 00:e0:4c:f0:c2:55 brd ff:ff:ff:ff:ff:ff