Hi all!
I''ve an AMD Athlon X2 3800+ operating as gateway/firewall (dom0) for my
LAN. Below an scheme of it:
_____
____/ \____
+---------------+ / \
| Bridge/Router +---------| Internet |
+-------+-------+ \____ ____/
| \_____/
| eth0
+------+-------+
| Gway / FW |
+------+-------+ 8 x 10/100 mbps _____
| eth1 +--------+ ____/ \____
| | | / \
+-------------------+ Switch +-------| LAN |
| | \____ ____/
+--------+ \_____/
I''d like to have severals domUs to take advantage of this hardware. The
Internet connection is via PPPoE by means of eth0. This is
/etc/network/interfaces from gateway:
------------------------------------------------------------------------
alderamin:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
auto eth1
iface eth1 inet static
address 10.1.0.10
netmask 255.255.255.0
network 10.1.0.0
broadcast 10.1.0.255
# To PPPoE
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up
provider dsl-provider
------------------------------------------------------------------------
But when I start xend, I lose the Internet connection and the LAN
connectivity from the gateway. This can be due to any conflict with Xen
bridge? This is xen-config.sxp that I was using:
alderamin:~# cat /etc/xen/xend-config.sxp |grep ^[^#]
network-script ''network-bridge netdev=eth1'')
(dom0-min-mem 196)
(dom0-cpus 0)
Thanks in advance.
Regards,
Daniel
--
Daniel Bareiro
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Hi Daniel, try to sent more info, a brctl output will be useful, and probably someone in the list could help you: # brctl show Regards, Marc Daniel Bareiro wrote:> Hi all! > > I''ve an AMD Athlon X2 3800+ operating as gateway/firewall (dom0) for my > LAN. Below an scheme of it: > > _____ > ____/ \____ > +---------------+ / \ > | Bridge/Router +---------| Internet | > +-------+-------+ \____ ____/ > | \_____/ > | eth0 > +------+-------+ > | Gway / FW | > +------+-------+ 8 x 10/100 mbps _____ > | eth1 +--------+ ____/ \____ > | | | / \ > +-------------------+ Switch +-------| LAN | > | | \____ ____/ > +--------+ \_____/ > > > I''d like to have severals domUs to take advantage of this hardware. The > Internet connection is via PPPoE by means of eth0. This is > /etc/network/interfaces from gateway: > > ------------------------------------------------------------------------ > alderamin:~# cat /etc/network/interfaces > # This file describes the network interfaces available on your system > # and how to activate them. For more information, see interfaces(5). > > # The loopback network interface > auto lo > iface lo inet loopback > > # The primary network interface > auto eth0 > iface eth0 inet static > > auto eth1 > iface eth1 inet static > address 10.1.0.10 > netmask 255.255.255.0 > network 10.1.0.0 > broadcast 10.1.0.255 > > # To PPPoE > auto dsl-provider > iface dsl-provider inet ppp > pre-up /sbin/ifconfig eth0 up > provider dsl-provider > ------------------------------------------------------------------------ > > But when I start xend, I lose the Internet connection and the LAN > connectivity from the gateway. This can be due to any conflict with Xen > bridge? This is xen-config.sxp that I was using: > > alderamin:~# cat /etc/xen/xend-config.sxp |grep ^[^#] > network-script ''network-bridge netdev=eth1'') > (dom0-min-mem 196) > (dom0-cpus 0) > > Thanks in advance. > > Regards, > Daniel > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tuesday, 25 March 2008 10:25:35 +0100, Marc Patino Gómez wrote:> Hi Daniel,Hi Marc. Thanks for your reply.> try to sent more info, a brctl output will be useful, and probably > someone in the list could help you:I''m using Xen 3.0.3-1 from Debian Etch repositories. This is the default config file provided by Debian: (network-script network-dummy) (vif-script vif-bridge) (dom0-min-mem 196) (dom0-cpus 0) And this is the config file after my modifications: (network-script ''network-bridge netdev=eth1'') (dom0-min-mem 196) (dom0-cpus 0)> # brctl showbrctl show bridge name bridge id STP enabled interfaces xenbr0 8000.feffffffffff no vif0.0 ifconfig eth0 Link encap:Ethernet HWaddr 00:18:F3:9D:8C:D8 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1390 errors:0 dropped:0 overruns:0 frame:0 TX packets:638 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:211154 (206.2 KiB) TX bytes:78676 (76.8 KiB) Interrupt:19 Base address:0xa000 eth1 Link encap:Ethernet HWaddr 00:18:F3:9D:89:3A inet addr:10.1.0.10 Bcast:10.1.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:57 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:360 (360.0 b) TX bytes:4678 (4.5 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:20 errors:0 dropped:0 overruns:0 frame:0 TX packets:20 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1950 (1.9 KiB) TX bytes:1950 (1.9 KiB) peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:734 errors:0 dropped:0 overruns:0 frame:0 TX packets:609 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:89800 (87.6 KiB) TX bytes:133401 (130.2 KiB) Interrupt:18 Base address:0x8000 ppp0 Link encap:Point-to-Point Protocol inet addr:190.51.68.180 P-t-P:200.51.241.209 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:1348 errors:0 dropped:0 overruns:0 frame:0 TX packets:596 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:178894 (174.7 KiB) TX bytes:64243 (62.7 KiB) vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:57 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4678 (4.5 KiB) TX bytes:360 (360.0 b) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:56 (56.0 b) TX bytes:0 (0.0 b) When I start xend with my modified config file, I lose the Internet connection and the LAN connectivity from the gateway. Thank in advance. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lennt - Linux user #188.598 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi again,
as you can see, on brctl output there is only one virtual interface
vif0.0, on your xenbr0 bridge, and there isn''t any physical interface.
I
advice to put the following config:
Create the following file:
/etc/xen/scripts/network-bridge-wrapper
give it permisions to be executable:
Put
#!/bin/sh
/etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0
Change the following line in /etc/xen/xend-config.sxp:
(network-script ''network-bridge netdev=eth1'')
for this line
(network-script network-bridge-wrapper)
After this restart your xend daemon, or reboot your box.
With this config a brctl show output may be:
sunfire:/home/xxxxxx# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no vif0.0
peth0
so... change the line in the file
/etc/xen/scripts/network-bridge-wrapper as your needs, also you can put
more lines to create more bridges, you can make very cool configs with
xen networking :)
I hope it will be useful.
Regards,
Marc
Daniel Bareiro wrote:> On Tuesday, 25 March 2008 10:25:35 +0100,
> Marc Patino Gómez wrote:
>
>
>> Hi Daniel,
>>
>
> Hi Marc. Thanks for your reply.
>
>
>> try to sent more info, a brctl output will be useful, and probably
>> someone in the list could help you:
>>
>
> I''m using Xen 3.0.3-1 from Debian Etch repositories. This is the
default
> config file provided by Debian:
>
> (network-script network-dummy)
> (vif-script vif-bridge)
> (dom0-min-mem 196)
> (dom0-cpus 0)
>
> And this is the config file after my modifications:
>
> (network-script ''network-bridge netdev=eth1'')
> (dom0-min-mem 196)
> (dom0-cpus 0)
>
>
>> # brctl show
>>
>
> brctl show
> bridge name bridge id STP enabled interfaces
> xenbr0 8000.feffffffffff no vif0.0
>
> ifconfig
> eth0 Link encap:Ethernet HWaddr 00:18:F3:9D:8C:D8
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1390 errors:0 dropped:0 overruns:0 frame:0
> TX packets:638 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:211154 (206.2 KiB) TX bytes:78676 (76.8 KiB)
> Interrupt:19 Base address:0xa000
>
> eth1 Link encap:Ethernet HWaddr 00:18:F3:9D:89:3A
> inet addr:10.1.0.10 Bcast:10.1.0.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:6 errors:0 dropped:0 overruns:0 frame:0
> TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:360 (360.0 b) TX bytes:4678 (4.5 KiB)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:20 errors:0 dropped:0 overruns:0 frame:0
> TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1950 (1.9 KiB) TX bytes:1950 (1.9 KiB)
>
> peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
> UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
> RX packets:734 errors:0 dropped:0 overruns:0 frame:0
> TX packets:609 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:89800 (87.6 KiB) TX bytes:133401 (130.2 KiB)
> Interrupt:18 Base address:0x8000
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:190.51.68.180 P-t-P:200.51.241.209
Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
> RX packets:1348 errors:0 dropped:0 overruns:0 frame:0
> TX packets:596 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:178894 (174.7 KiB) TX bytes:64243 (62.7 KiB)
>
> vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
> UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
> RX packets:57 errors:0 dropped:0 overruns:0 frame:0
> TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:4678 (4.5 KiB) TX bytes:360 (360.0 b)
>
> xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
> UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
> RX packets:2 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:56 (56.0 b) TX bytes:0 (0.0 b)
>
> When I start xend with my modified config file, I lose the Internet
> connection and the LAN connectivity from the gateway.
>
> Thank in advance.
>
> Regards,
> Daniel
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
On Wednesday, 26 March 2008 13:01:05 +0100, Marc Patino Gómez wrote:> Hi again,Hi Marc.> as you can see, on brctl output there is only one virtual interface > vif0.0, on your xenbr0 bridge, and there isn''t any physical interface. > I advice to put the following config:copy/paste mistake :-( bridge name bridge id STP enabled interfaces xenbr0 8000.feffffffffff no vif0.0 peth1 I''d be consistent with the output of ifconfig which I put below in the same e-mail :-)> Create the following file: > > /etc/xen/scripts/network-bridge-wrapper > > give it permisions to be executable: > > Put > > #!/bin/sh > /etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0 > > Change the following line in /etc/xen/xend-config.sxp: > > (network-script ''network-bridge netdev=eth1'') > > for this line > > (network-script network-bridge-wrapper) > > After this restart your xend daemon, or reboot your box. > > > With this config a brctl show output may be: > > sunfire:/home/xxxxxx# brctl show > bridge name bridge id STP enabled interfaces > xenbr0 8000.feffffffffff no vif0.0 > > peth0I try this configuration, but I don''t see up both peth and vif0.0 interfaces: brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.000000000000 no cat /etc/xen/xend-config.sxp | grep ^[^#] (network-script network-bridge-wrapper) (dom0-min-mem 196) (dom0-cpus 0) ll /etc/xen/scripts/network-bridge-wrapper -rwxr-x--- 1 root root 71 2008-03-27 00:52 /etc/xen/scripts/network-bridge-wrapper cat /etc/xen/scripts/network-bridge-wrapper #!/bin/sh /etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0 alderamin:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:18:F3:9D:8C:D8 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3732 errors:0 dropped:0 overruns:0 frame:0 TX packets:4090 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1780249 (1.6 MiB) TX bytes:537354 (524.7 KiB) Interrupt:17 eth1 Link encap:Ethernet HWaddr 00:18:F3:9D:89:3A inet addr:10.1.0.10 Bcast:10.1.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4796 errors:0 dropped:0 overruns:0 frame:0 TX packets:4069 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:587242 (573.4 KiB) TX bytes:1809537 (1.7 MiB) Interrupt:16 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:276 (276.0 b) TX bytes:276 (276.0 b) ppp0 Link encap:Point-to-Point Protocol inet addr:190.51.122.4 P-t-P:200.51.241.209 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:3569 errors:0 dropped:0 overruns:0 frame:0 TX packets:3927 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1691867 (1.6 MiB) TX bytes:446009 (435.5 KiB) xenbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 UP BROADCAST RUNNING NOARP 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:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)> so... change the line in the file > /etc/xen/scripts/network-bridge-wrapper as your needs, also you can put > more lines to create more bridges, you can make very cool configs with > xen networking :)> I hope it will be useful.Thanks for your reply. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lennt - Linux user #188.598 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,>> as you can see, on brctl output there is only one virtual interface >> vif0.0, on your xenbr0 bridge, and there isn''t any physical interface. >> I advice to put the following config: >> > > copy/paste mistake :-( > > bridge name bridge id STP enabled interfaces > xenbr0 8000.feffffffffff no vif0.0 > peth1 > > I''d be consistent with the output of ifconfig which I put below in the > same e-mail :-) >humanum errarum est :) About the wrapper script of network-bridge... I don''t understand why it don''t work, try to execute it by hand /etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0 ... and use brctl command to add, del interfaces and bridges... Anyway, to debug the errors I will go step by step: ----Important-----: Think that your config in /etc/network/interfaces your eth0 the pppoe interface is vif0.0 in dom0 ! and your are attaching it to xenbr0 bridge with peth1 (eth1 physical interface) Think about it, at the moment I don''t have much time to give you a more detailed answer :(. To do your scenario I will create 2 bridges and the via iptables make the FW , nat ... Tell me about your progress, ;) Marc> >> Create the following file: >> >> /etc/xen/scripts/network-bridge-wrapper >> >> give it permisions to be executable: >> >> Put >> >> #!/bin/sh >> /etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0 >> >> Change the following line in /etc/xen/xend-config.sxp: >> >> (network-script ''network-bridge netdev=eth1'') >> >> for this line >> >> (network-script network-bridge-wrapper) >> >> After this restart your xend daemon, or reboot your box. >> >> >> With this config a brctl show output may be: >> >> sunfire:/home/xxxxxx# brctl show >> bridge name bridge id STP enabled interfaces >> xenbr0 8000.feffffffffff no vif0.0 >> >> peth0 >> > > I try this configuration, but I don''t see up both peth and vif0.0 > interfaces: > > brctl show > bridge name bridge id STP enabled interfaces > xenbr0 8000.000000000000 no > > > cat /etc/xen/xend-config.sxp | grep ^[^#] > (network-script network-bridge-wrapper) > (dom0-min-mem 196) > (dom0-cpus 0) > > > ll /etc/xen/scripts/network-bridge-wrapper > -rwxr-x--- 1 root root 71 2008-03-27 00:52 /etc/xen/scripts/network-bridge-wrapper > > cat /etc/xen/scripts/network-bridge-wrapper > #!/bin/sh > /etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0 > > > alderamin:~# ifconfig > eth0 Link encap:Ethernet HWaddr 00:18:F3:9D:8C:D8 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:3732 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4090 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:1780249 (1.6 MiB) TX bytes:537354 (524.7 KiB) > Interrupt:17 > > eth1 Link encap:Ethernet HWaddr 00:18:F3:9D:89:3A > inet addr:10.1.0.10 Bcast:10.1.0.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:4796 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4069 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:587242 (573.4 KiB) TX bytes:1809537 (1.7 MiB) > Interrupt:16 Base address:0xe000 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:2 errors:0 dropped:0 overruns:0 frame:0 > TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:276 (276.0 b) TX bytes:276 (276.0 b) > > ppp0 Link encap:Point-to-Point Protocol > inet addr:190.51.122.4 P-t-P:200.51.241.209 Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 > RX packets:3569 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3927 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:1691867 (1.6 MiB) TX bytes:446009 (435.5 KiB) > > xenbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 > UP BROADCAST RUNNING NOARP 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:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > > >> so... change the line in the file >> /etc/xen/scripts/network-bridge-wrapper as your needs, also you can put >> more lines to create more bridges, you can make very cool configs with >> xen networking :) >> > > >> I hope it will be useful. >> > > Thanks for your reply. > > Regards, > Daniel > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday, 27 March 2008 11:35:32 +0100, Marc Patino Gómez wrote:> Hi,Hi Marc.> About the wrapper script of network-bridge... I don''t understand why > it don''t work, try to execute it by hand> /etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0> ... and use brctl command to add, del interfaces and bridges...> Anyway, to debug the errors I will go step by step:> ----Important-----: > Think that your config in /etc/network/interfaces your eth0 the pppoe > interface is vif0.0 in dom0 ! and your are attaching it to xenbr0 > bridge with peth1 (eth1 physical interface)> Think about it, at the moment I don''t have much time to give you a > more detailed answer :(.Mmmm... executing by hand the previous line, I got the following output. I suspect that it is the cause because of which the wrapper script don''t work. ifdown: interface eth0 not configured SIOCSIFNAME: Device or resource busy But vifnum=1 causes that it loses the connectivity with LAN and Internet. Some idea about why it can happen?> To do your scenario I will create 2 bridges and the via iptables make > the FW , nat ...> Tell me about your progress, ;)Thanks for your time. I will try to read about advanced networking configuration with Xen. But I will accept any suggestion or comment that you can give me :-) Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lennt - Linux user #188.598 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel, I am new to using Linux and Xen but here is what I have had to do to get Xebr0 working. When you do the install, you are asked to use DHCP or manually input and IP. When using DHCP I couldn''t get Xenbro to come up as an option when I started using Paravirtualization (gui one) as an option. Only option I had was VIRTUAL and using the vifxx option. When I rebuilt using an assigned (manual) IP Xenbr0 became an option and everything worked - each VM was assigned an IP and could be seen outside our firewall. I have rebuilt these machines about 20 times (one PE2950 housing three virtual RHEL5 OS connected to an EMC array)now since we are migrating off our IBM mainframe to a RedHat/Jboss/MySQL alternative. So while programmers are working on Java I have been playing with options for Linux/RHEL5.1 and Xen connected to a EMC CX-10c. A newbie here but hope that helps. Tony -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Daniel Bareiro Sent: Saturday, March 29, 2008 1:06 PM To: Xen-Users Subject: Re: [Xen-users] Conflict with Xen bridge? On Thursday, 27 March 2008 11:35:32 +0100, Marc Patino Gómez wrote:> Hi,Hi Marc.> About the wrapper script of network-bridge... I don''t understand why > it don''t work, try to execute it by hand> /etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0> ... and use brctl command to add, del interfaces and bridges...> Anyway, to debug the errors I will go step by step:> ----Important-----: > Think that your config in /etc/network/interfaces your eth0 the pppoe > interface is vif0.0 in dom0 ! and your are attaching it to xenbr0 > bridge with peth1 (eth1 physical interface)> Think about it, at the moment I don''t have much time to give you a > more detailed answer :(.Mmmm... executing by hand the previous line, I got the following output. I suspect that it is the cause because of which the wrapper script don''t work. ifdown: interface eth0 not configured SIOCSIFNAME: Device or resource busy But vifnum=1 causes that it loses the connectivity with LAN and Internet. Some idea about why it can happen?> To do your scenario I will create 2 bridges and the via iptables make > the FW , nat ...> Tell me about your progress, ;)Thanks for your time. I will try to read about advanced networking configuration with Xen. But I will accept any suggestion or comment that you can give me :-) Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lennt - Linux user #188.598 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users