From: Michael Lessard Subject: Re: Network still broken, new issue as well , 7468:17a9f111fa93 Date: Wed, 26 Oct 2005 11:35:15 -0400 Message-ID: References: <1129947991.4325.26.camel@pluto.linsolutions.com> <20051025174059.GJ13783@leeni.uk.xensource.com> <435EB181.6000401@us.ibm.com> <20051025230136.GB13075@leeni.uk.xensource.com> <20051026072123.GA18324@leeni.uk.xensource.com> <20051026122603.GN13783@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0825322092==" Return-path: In-Reply-To: <20051026122603.GN13783@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: Paul Larson , Ted Kaczmarek , xen-devel List-Id: xen-devel@lists.xenproject.org --===============0825322092== Content-Type: multipart/alternative; boundary="----=_Part_11545_9551416.1130340915818" ------=_Part_11545_9551416.1130340915818 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/26/05, Ewan Mellor wrote: > > On Wed, Oct 26, 2005 at 08:14:41AM -0400, Michael Lessard wrote: > > > On 10/26/05, Ewan Mellor wrote: > > > > On Tue, Oct 25, 2005 at 08:10:16PM -0400, Michael Lessard wrote: > > > > > Bigelow:/etc/xen/scripts# ./blade-network start > > > /etc/xen/scripts/network-bridge: line 211: /sbin/getcfg: No such file > > or > > > directory > > > > > > I use Debian Sid .... > > > > There's a patch for that on the way. For now, you could just comment > > out that > > whole line -- it's SuSE-specific. > > > > Did the script work anyway? For me, that error is not a fatal one, and > > the > > configuration still succeeds. > > > > Ewan. > > > > I commend out the line, now when i start the script no error reported > > but i couldn't ping dom0 from domU, with eth1 bridge too :( > > So could you repost the output from brctl show and ifconfig, just as you > did > for bug #363 before? Also, it would be worth having route and iptables -L= . > > It would also be helpful to know whether you can get packets anywhere -- > dom0 > to network, network to dom0, domU to network, etc, and if you can figure > out > where they are getting lost. > > Cheers, > > Ewan. > I have two network cards on my computer : eth0 connect to -> FW (DMZ 192.168.100.254 ) eth1 connect to -> FW (internal network 192.168.10.254 ) On my DOM0 i haved configure network eth0 : up (no ip) eth1 : 192.168.10.20 On my DOMU i haved configure network eth1 : 192.168.100.1 ON DOM0 #brctl show xenbr0 8000.feffffffffff no vif8.0 # iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in vif1.0 ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in vif8.0 Chain OUTPUT (policy ACCEPT) target prot opt source destination # ifconfig eth0 Link encap:Ethernet HWaddr 00:08:54:2F:EA:38 inet addr:192.168.100.5 Bcast:192.168.100.255Mask: 255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:13 errors:0 dropped:0 overruns:0 frame:0 TX packets:87 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:894 (894.0 b) TX bytes:16522 (16.1 KiB) Interrupt:17 Base address:0xec00 eth1 Link encap:Ethernet HWaddr 00:08:54:2F:EA:32 inet addr:192.168.10.20 Bcast:192.168.10.255Mask: 255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7597 errors:0 dropped:0 overruns:0 frame:0 TX packets:4755 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:963119 (940.5 KiB) TX bytes:667126 (651.4 KiB) Interrupt:18 Base address:0xe800 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:76 errors:0 dropped:0 overruns:0 frame:0 TX packets:76 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5064 (4.9 KiB) TX bytes:5064 (4.9 KiB) vif8.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:72 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:3024 (2.9 KiB) TX bytes:0 (0.0 b) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:72 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:2016 (1.9 KiB) TX bytes:0 (0.0 b) I haved put ip on eth0 to test connectivty from etho on DOM0 and its workin= g ... I could ping FW from DOM0 but i could'nt ping DOM0 from DOMU ------=_Part_11545_9551416.1130340915818 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 10/26/05, Ewan Mellor <ewan@xen= source.com> wrote:
On Wed, Oct 26, 2005 at 08:14:41AM -0400, Michael Lessard wrote:

>= ; On 10/26/05, Ewan Mellor <ewan@x= ensource.com> wrote:
>
>   On Tue, Oct 25, 200= 5 at 08:10:16PM -0400, Michael Lessard wrote:
>
>   > Bigelow:/etc/xen/scripts# ./blade-network= start
>   > /etc/xen/scripts/network-bridge: line 211: = /sbin/getcfg: No such file
>   or
>   > = directory
>   >
>   > I use Debian Si= d ....
>
>   There's a patch for that on the way. &nbs= p;For now, you could just comment
>   out that
> = ;  whole line -- it's SuSE-specific.
>
>   Did t= he script work anyway?  For me, that error is not a fatal one, an= d
>   the
>   configuration still succeeds.<= br>>
>   Ewan.
>
> I commend out  = the  line,  now  when i start the script no e= rror reported
> but i couldn't ping dom0 from domU, with eth1 bridge = too :(

So could you repost the output from brctl show and ifconfig, just a= s you did
for bug #363 before?  Also, it would be worth having= route and iptables -L.

It would also be helpful to know whether you= can get packets anywhere -- dom0
to network, network to dom0, domU to network, etc, and if you can figur= e out
where they are getting lost.

Cheers,

Ewan.

I have two network cards on my computer  :
eth0 connect to -> FW (DMZ 192.168.10= 0.254)
eth1 connect to -> FW (internal network 192.168.10.254)

On my DOM0 i haved configure network
eth0 : up (no ip)
eth1 : 192.168.10.20

On my DOMU i haved configure network
eth1 : 192.168.100.1

ON DOM0
#brctl show
xenbr0          8000.feffffffffff       no            &= nbsp; vif8.0
# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source           &nb= sp;   destination

Chain FORWARD (policy ACCEPT)
target     prot opt source           &nb= sp;   destination
ACCEPT     all  --  anywhere           &= nbsp; anywhere            PHYSDEV match --physdev-in vif1.0
ACCEPT     all  --  anywhere           &= nbsp; anywhere            PHYSDEV match --physdev-in vif8.0

Chain OUTPUT (policy ACCEPT)
target     prot opt source           &nb= sp;   destination

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:08:5= 4:2F:EA:38
          inet addr:192.168.100.5  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING= MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors= :0 dropped:0 overruns:0 frame:0
          TX packets:87 errors= :0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueue= len:1000
          RX bytes:894 (894.0 = b)  TX bytes:16522 (16.1 KiB)
          Interrupt:17 Base ad= dress:0xec00

eth1      Link encap:Ethernet  HWaddr 00:08:5= 4:2F:EA:32
          inet addr:192.168.10.20  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING= MULTICAST  MTU:1500  Metric:1
          RX packets:7597 erro= rs:0 dropped:0 overruns:0 frame:0
          TX packets:4755 erro= rs:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueue= len:1000
          RX bytes:963119 (940= .5 KiB)  TX bytes:667126 (651.4 KiB)
          Interrupt:18 Base ad= dress:0xe800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:25= 5.0.0.0
          UP LOOPBACK RUNNING&= nbsp; MTU:16436  Metric:1
          RX packets:76 errors= :0 dropped:0 overruns:0 frame:0
          TX packets:76 errors= :0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueue= len:0
          RX bytes:5064 (4.9 K= iB)  TX bytes:5064 (4.9 KiB)

vif8.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF=
          UP BROADCAST RUNNING= MULTICAST  MTU:1500  Metric:1
          RX packets:72 errors= :0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:= 0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueue= len:0
          RX bytes:3024 (2.9 K= iB)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF=
          UP BROADCAST RUNNING= MULTICAST  MTU:1500  Metric:1
          RX packets:72 errors= :0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:= 0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueue= len:0
          RX bytes:2016 (1.9 K= iB)  TX bytes:0 (0.0 b)


I haved put ip on eth0 to test connectivty from etho on DOM0 and its workin= g ...
I could ping FW from DOM0
but i could'nt ping DOM0 from DOMU



------=_Part_11545_9551416.1130340915818-- --===============0825322092== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0825322092==--