[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Bridged networking example
Hello Sven,i've encountered same problem few moths ago with Gentoo Live CD. After "xl create domU.config" i saw vif1.0 and tap1.0 on Dom0, but then when Live CD boot up, tap1.0 device dissapeared. It was something with ACPI. I've got this in DomU config: acpi=1 apic=0 and DomU networking works. I didn't figered out what was the problem but this may help you. Jan On 12/20/2012 07:09 PM, Sven wrote: Hi I've altered my configs as per James' examples. The bridge on Dom0 works fine and with "xl create dom1" creates the vif, no errors at all. I can log on with "xl console dom1" and see eth0 came up alright and configured. Still no networking in Dom1: | ~# telnet 74.125.230.196 80 # google.com | Trying 74.125.230.196... | telnet: Unable to connect to remote host: No route to host After googling and trying things for a few hours, I still haven't figured out how come. :-/ I'm only doing IPv4 for now since I have individual IPv4 for all Doms. No iptables on any Dom at this point. Since no problems are displayed or logged, I have no clue how to further debug this and help is very welcome! Thanks a lot, -sven Dom0 ---- # ifconfig -a | eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | inet6 ****::****:****:****:**** prefixlen 64 scopeid 0x20<link> | ether **:**:**:**:**:e1 txqueuelen 1000 (Ethernet) | RX packets 1286 bytes 117136 (114.3 KiB) | RX errors 0 dropped 0 overruns 0 frame 0 | TX packets 965 bytes 309882 (302.6 KiB) | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | vif1.0: flags=4098<BROADCAST,MULTICAST> mtu 1500 | ether fe:ff:ff:ff:ff:ff txqueuelen 32 (Ethernet) | RX packets 0 bytes 0 (0.0 B) | RX errors 0 dropped 0 overruns 0 frame 0 | TX packets 0 bytes 0 (0.0 B) | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | xenbr0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500 | inet **.**.97.72 netmask 255.255.255.224 broadcast **.**.97.95 | inet6 ****::****:****:****:**** prefixlen 64 scopeid 0x20<link> | ether <<same as eth0>> txqueuelen 0 (Ethernet) | RX packets 1286 bytes 99112 (96.7 KiB) | RX errors 0 dropped 0 overruns 0 frame 0 | TX packets 959 bytes 309414 (302.1 KiB) | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 # route -n | Destination Gateway Genmask Flags Metric Ref Use Iface | 0.0.0.0 **.**.97.65 0.0.0.0 UG 4 0 0 xenbr0 | **.**.97.64 0.0.0.0 255.255.255.224 U 0 0 0 xenbr0 | 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo # brctl show | bridge name bridge id STP enabled interfaces | xenbr0 8000.**********e1 no eth0 # cat /etc/sysctl.conf | net.ipv4.ip_forward = 1 Dom1 ---- # ifconfig | eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | inet **.**.97.66 netmask 255.255.255.224 broadcast **.**.97.95 | inet6 ****::***:****:****:**** prefixlen 64 scopeid 0x20<link> | ether **:**:**:**:**:08 txqueuelen 1000 (Ethernet) | RX packets 0 bytes 0 (0.0 B) | RX errors 0 dropped 0 overruns 0 frame 0 | TX packets 30 bytes 1476 (1.4 KiB) | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | device interrupt 25 # route -n | Destination Gateway Genmask Flags Metric Ref Use Iface | 0.0.0.0 **.**.97.65 0.0.0.0 UG 2 0 0 eth0 | **.**.97.64 0.0.0.0 255.255.255.224 U 0 0 0 eth0 | 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo # console (network related stuff) | [ 0.000000] Xen version: 4.1.1 (preserve-AD) | [ 0.000000] Kernel command line: root=/dev/xvda1 console=hvc0 root=/dev/xvda1 ro 3 | [ 0.012011] NET: Registered protocol family 16 | [ 0.016136] PCI: System does not support PCI | [ 0.016237] NetLabel: Initializing | [ 0.016240] NetLabel: domain hash size = 128 | [ 0.016242] NetLabel: protocols = UNLABELED CIPSOv4 | [ 0.016248] NetLabel: unlabeled traffic allowed by default | [ 0.017472] NET: Registered protocol family 2 | [ 0.017828] IP route cache hash table entries: 262144 (order: 9, 2097152 bytes) | [ 0.019279] TCP established hash table entries: 524288 (order: 11, 8388608 bytes) | [ 0.020341] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) | [ 0.020456] TCP: Hash tables configured (established 524288 bind 65536) | [ 0.020459] TCP: reno registered | [ 0.020484] UDP hash table entries: 4096 (order: 5, 131072 bytes) | [ 0.020523] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes) | [ 0.020583] NET: Registered protocol family 1 | [ 0.020616] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) | [ 0.025036] brd: module loaded | [ 0.025541] loop: module loaded | [ 0.044880] Initialising Xen virtual ethernet driver. | [ 0.261392] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) | [ 0.261559] ip_tables: (C) 2000-2006 Netfilter Core Team | [ 0.261569] TCP: cubic registered | [ 0.261691] NET: Registered protocol family 10 | [ 0.261827] ip6_tables: (C) 2000-2006 Netfilter Core Team | [ 0.261841] sit: IPv6 over IPv4 tunneling driver | [ 0.261951] NET: Registered protocol family 17 | [ 0.261964] Bridge firewalling registered _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users Attachment:
smime.p7s _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |