Hi, I am using xen on F7. My guest config looks like this: ********************************************* kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 512 name = "scp231" vcpus=2 pae=1 acpi=1 vif = [ 'type=ioemu, bridge=virbr0' ] dhcp="off" disk = [ 'phy:/dev/aida/scp-231,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="cda" vnc=1 vncdisplay=1 vncpasswd='' stdvga=0 serial='pty' localtime=1 ********************************************* [root@csli9 ~]# /etc/xen/scripts/network-bridge status ============================================================ 8: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue link/ether 00:30:48:31:97:49 brd ff:ff:ff:ff:ff:ff inet 172.16.1.37/16 brd 172.16.255.255 scope global eth2 inet6 fe80::230:48ff:fe31:9749/64 scope link valid_lft forever preferred_lft forever 8: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue link/ether 00:30:48:31:97:49 brd ff:ff:ff:ff:ff:ff inet 172.16.1.37/16 brd 172.16.255.255 scope global eth2 inet6 fe80::230:48ff:fe31:9749/64 scope link valid_lft forever preferred_lft forever
bridge name bridge id STP enabled interfaces eth2 8000.003048319749 no peth2 virbr0 8000.3a7b564bbcda no tap0 vif1.0
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 172.16.0.0/16 dev eth2 proto kernel scope link src 172.16.1.37 default via 172.16.1.16 dev eth2
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 172.16.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2 0.0.0.0 172.16.1.16 0.0.0.0 UG 0 0 0 eth2 ============================================================
[root@csli9 ~]# ifconfig eth2 Link encap:Ethernet HWaddr 00:30:48:31:97:49 inet addr:172.16.1.37 Bcast:172.16.255.255 Mask:255.255.0.0 inet6 addr: fe80::230:48ff:fe31:9749/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15230 errors:0 dropped:0 overruns:0 frame:0 TX packets:3692 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:897539 (876.5 KiB) TX bytes:2761958 (2.6 MiB)
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:6171 errors:0 dropped:0 overruns:0 frame:0 TX packets:6171 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:51022608 (48.6 MiB) TX bytes:51022608 (48.6 MiB)
peth2 Link encap:Ethernet HWaddr 00:30:48:31:97:49 inet6 addr: fe80::230:48ff:fe31:9749/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:240988 errors:0 dropped:0 overruns:0 frame:0 TX packets:3730 errors:0 dropped:0 overruns:0 carrier:0 collisions:539 txqueuelen:100 RX bytes:65841255 (62.7 MiB) TX bytes:2780370 (2.6 MiB) Base address:0x4020 Memory:d8420000-d8440000
tap0 Link encap:Ethernet HWaddr 3A:7B:56:4B:BC:DA inet6 addr: fe80::387b:56ff:fe4b:bcda/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:110 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:7544 (7.3 KiB) TX bytes:510 (510.0 b)
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr0 Link encap:Ethernet HWaddr 3A:7B:56:4B:BC:DA inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:110 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6004 (5.8 KiB) TX bytes:510 (510.0 b)
I would like to use the guest within the subnet of eth2, so 172.16.0.0 . But it doesn't work for any reason? It looks like, that I only can use a 192.168.122.X address in the guest. Any glue how to bridge the interface to be able access the 172.16.0.0 network directly?
Regards Jonas