HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Xen3 network problem (http://www.howtoforge.com/forums/showthread.php?t=32221)

w0rt3x 7th March 2009 10:49

Xen3 network problem
 
my system is Linux 2.6.27.5 #1 SMP Wed Mar 4 21:49:03 EET 2009 x86_64 GNU/Linux
I followed instructions of http://www.howtoforge.com/installing...tu-8.10-x86_64
But have one problem.
I don't have network in my xen virtual mashine
I want my interface from virtual mashine xen, connect trough bridge to external network.
ERROR on XEN :
ifup eth0
\SIOCADDRT: No such process
Failed to bring up eth0.
configuration on dom0:
eth1 Link encap:Ethernet HWaddr 00:1b:21:22:6c:8a
inet addr:87.255.77.33 Bcast:87.255.77.35 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5663940 errors:0 dropped:0 overruns:0 frame:0
TX packets:6272407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1192590741 (1.1 GB) TX bytes:1111127770 (1.1 GB)


peth1 Link encap:Ethernet HWaddr 00:1b:21:22:6c:8a
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:5663970 errors:0 dropped:0 overruns:0 frame:0
TX packets:6284237 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1285334856 (1.2 GB) TX bytes:1111768828 (1.1 GB)

vif75.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1521 errors:0 dropped:83 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 B) TX bytes:90920 (90.9 KB)
configuration on xen:


eth0 Link encap:Ethernet HWaddr 00:16:3e:6e:64:89
inet addr:87.255.77.58 Bcast:87.255.77.35 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1554 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:70880 (70.8 KB) TX bytes:0 (0.0 B)
Interrupt:10
BRCTL in dom0 shows this
eth1 8000.001b21226c8a yes peth1
vif75.0
help me please, what I need to do in this situation. Thank you.

falko 8th March 2009 15:34

What's in the Xen configuration file of that vm?

w0rt3x 8th March 2009 16:46

The configuration file :
kernel = '/boot/vmlinuz-2.6.27-11-server'
ramdisk = '/boot/initrd.img-2.6.27-11-server'
memory = '256'
root = '/dev/xvda2 ro'
disk = [
'file:/home/xen/domains/xen3.example.com/swap.img,xvda1,w',
'file:/home/xen/domains/xen3.example.com/disk.img,xvda2,w',
]
vif = [ 'ip=87.255.77.58,mac=00:16:3E:6E:64:89,bridge=eth1 ' ]


name = 'xen3.example.com'
console='hvc0'
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'


root@xen3:~# dmesg | grep eth
[ 8.627400] Initialising Xen virtual ethernet driver.

Thank you

falko 9th March 2009 18:02

Can you try
Code:

vif = [ 'ip=87.255.77.58,mac=00:16:3E:6E:64:89' ]
instead of
Code:

vif = [ 'ip=87.255.77.58,mac=00:16:3E:6E:64:89,bridge=eth1 ' ]
?

What's in /etc/xen/xend-config.sxp?

w0rt3x 9th March 2009 20:35

Thank you for helping
 
Thank you
ufw firewall blocks network connections from xen virtual mashine.
If I disconnect it Internet works on xen:-)


All times are GMT +2. The time now is 23:08.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.